@compa11y/react 0.1.8 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +679 -2
- package/dist/index.d.ts +679 -2
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ReactNode, InputHTMLAttributes, ButtonHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
2
|
+
import React__default, { ReactNode, InputHTMLAttributes, ButtonHTMLAttributes, TextareaHTMLAttributes, RefObject } from 'react';
|
|
3
3
|
import { FocusTrapOptions, AnnouncerOptions, KeyboardHandlers, FocusNeighborOptions, FocusReturnOptions } from '@compa11y/core';
|
|
4
4
|
export { announce, announceAssertive, announceError, announcePolite, announceProgress, announceStatus, aria, buildAriaProps, checks, createComponentWarnings, hasAccessibleName, isAndroid, isBrowser, isIOS, isMac, mergeAriaIds, prefersDarkMode, prefersHighContrast, prefersReducedMotion, setWarningHandler, warn } from '@compa11y/core';
|
|
5
5
|
export { DialogCompound as Dialog, DialogActions, DialogActionsProps, Dialog as DialogBase, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogContextValue, DialogDescription, DialogDescriptionProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, useDialogContext } from './components/dialog/index.cjs';
|
|
@@ -428,6 +428,8 @@ interface SelectProps {
|
|
|
428
428
|
}
|
|
429
429
|
declare function Select({ options, value: controlledValue, defaultValue, onValueChange, disabled, placeholder, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, children, }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
430
430
|
interface SelectTriggerProps extends Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, 'value'> {
|
|
431
|
+
/** Placeholder text shown when no value is selected (overrides the root Select placeholder) */
|
|
432
|
+
placeholder?: string;
|
|
431
433
|
}
|
|
432
434
|
declare const SelectTrigger: React__default.ForwardRefExoticComponent<SelectTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
433
435
|
interface SelectListboxProps extends React__default.HTMLAttributes<HTMLUListElement> {
|
|
@@ -1281,4 +1283,679 @@ interface AlertProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
|
1281
1283
|
}
|
|
1282
1284
|
declare const Alert: React__default.ForwardRefExoticComponent<AlertProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1283
1285
|
|
|
1284
|
-
|
|
1286
|
+
/**
|
|
1287
|
+
* Accessible Link component.
|
|
1288
|
+
*
|
|
1289
|
+
* An enhanced anchor element that handles external link indicators,
|
|
1290
|
+
* `aria-current` for navigation, and proper focus styling.
|
|
1291
|
+
*
|
|
1292
|
+
* @example
|
|
1293
|
+
* ```tsx
|
|
1294
|
+
* // Basic link
|
|
1295
|
+
* <Link href="/about">About us</Link>
|
|
1296
|
+
*
|
|
1297
|
+
* // External link (opens in new tab with screen reader hint)
|
|
1298
|
+
* <Link href="https://example.com" external>Visit Example</Link>
|
|
1299
|
+
*
|
|
1300
|
+
* // Current page in navigation
|
|
1301
|
+
* <Link href="/dashboard" current="page">Dashboard</Link>
|
|
1302
|
+
*
|
|
1303
|
+
* // Disabled link
|
|
1304
|
+
* <Link href="/settings" disabled>Settings</Link>
|
|
1305
|
+
* ```
|
|
1306
|
+
*
|
|
1307
|
+
* Keyboard: Tab to focus, Enter to activate.
|
|
1308
|
+
*/
|
|
1309
|
+
|
|
1310
|
+
interface LinkProps extends Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'aria-current'> {
|
|
1311
|
+
/** Opens in new tab with rel="noopener noreferrer" and screen reader hint */
|
|
1312
|
+
external?: boolean;
|
|
1313
|
+
/** Sets aria-current for navigation context */
|
|
1314
|
+
current?: 'page' | 'step' | 'location' | 'true' | boolean;
|
|
1315
|
+
/** Disables the link (removes from tab order, prevents navigation) */
|
|
1316
|
+
disabled?: boolean;
|
|
1317
|
+
/** Remove default styles */
|
|
1318
|
+
unstyled?: boolean;
|
|
1319
|
+
}
|
|
1320
|
+
declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* Accessible Text and Heading components.
|
|
1324
|
+
*
|
|
1325
|
+
* Typography primitives that render semantic HTML elements.
|
|
1326
|
+
*
|
|
1327
|
+
* @example
|
|
1328
|
+
* ```tsx
|
|
1329
|
+
* // Heading
|
|
1330
|
+
* <Heading level={1}>Page Title</Heading>
|
|
1331
|
+
* <Heading level={2} size="lg">Smaller h2</Heading>
|
|
1332
|
+
*
|
|
1333
|
+
* // Text
|
|
1334
|
+
* <Text>Body paragraph.</Text>
|
|
1335
|
+
* <Text size="sm" color="muted">Small muted text.</Text>
|
|
1336
|
+
* <Text as="span">Inline text.</Text>
|
|
1337
|
+
* <Text truncate>Long text that gets cut off...</Text>
|
|
1338
|
+
* ```
|
|
1339
|
+
*/
|
|
1340
|
+
|
|
1341
|
+
type TextSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
1342
|
+
type TextColor = 'default' | 'muted' | 'accent' | 'error' | 'success' | 'warning';
|
|
1343
|
+
type TextWeight = 'normal' | 'medium' | 'semibold' | 'bold';
|
|
1344
|
+
type TextAlign = 'left' | 'center' | 'right';
|
|
1345
|
+
interface HeadingProps extends React__default.HTMLAttributes<HTMLHeadingElement> {
|
|
1346
|
+
/** Heading level 1–6 */
|
|
1347
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
1348
|
+
/** Override the default size for this heading level */
|
|
1349
|
+
size?: TextSize;
|
|
1350
|
+
/** Text color variant */
|
|
1351
|
+
color?: TextColor;
|
|
1352
|
+
/** Font weight override */
|
|
1353
|
+
weight?: TextWeight;
|
|
1354
|
+
/** Text alignment */
|
|
1355
|
+
align?: TextAlign;
|
|
1356
|
+
/** Truncate with ellipsis */
|
|
1357
|
+
truncate?: boolean;
|
|
1358
|
+
/** Remove default styles */
|
|
1359
|
+
unstyled?: boolean;
|
|
1360
|
+
}
|
|
1361
|
+
declare const Heading: React__default.ForwardRefExoticComponent<HeadingProps & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
1362
|
+
type TextElement = 'p' | 'span' | 'div' | 'label';
|
|
1363
|
+
interface TextProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
1364
|
+
/** HTML element to render */
|
|
1365
|
+
as?: TextElement;
|
|
1366
|
+
/** Text size */
|
|
1367
|
+
size?: TextSize;
|
|
1368
|
+
/** Text color variant */
|
|
1369
|
+
color?: TextColor;
|
|
1370
|
+
/** Font weight */
|
|
1371
|
+
weight?: TextWeight;
|
|
1372
|
+
/** Text alignment */
|
|
1373
|
+
align?: TextAlign;
|
|
1374
|
+
/** Truncate with ellipsis */
|
|
1375
|
+
truncate?: boolean;
|
|
1376
|
+
/** Remove default styles */
|
|
1377
|
+
unstyled?: boolean;
|
|
1378
|
+
}
|
|
1379
|
+
declare const Text: React__default.ForwardRefExoticComponent<TextProps & React__default.RefAttributes<HTMLElement>>;
|
|
1380
|
+
|
|
1381
|
+
type PopoverPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
|
|
1382
|
+
/**
|
|
1383
|
+
* 'first' — focus first focusable child (default, good for interactive popovers)
|
|
1384
|
+
* 'container' — focus the content container itself (tabindex=-1)
|
|
1385
|
+
* 'none' — do not move focus (good for pointer-triggered informational popovers)
|
|
1386
|
+
*/
|
|
1387
|
+
type PopoverFocusPolicy = 'first' | 'container' | 'none';
|
|
1388
|
+
interface PopoverProps {
|
|
1389
|
+
/** Whether the popover is open (controlled) */
|
|
1390
|
+
open?: boolean;
|
|
1391
|
+
/** Default open state (uncontrolled) */
|
|
1392
|
+
defaultOpen?: boolean;
|
|
1393
|
+
/** Called when open state should change */
|
|
1394
|
+
onOpenChange?: (open: boolean) => void;
|
|
1395
|
+
/** Disable the trigger, preventing the popover from opening */
|
|
1396
|
+
disabled?: boolean;
|
|
1397
|
+
children: React__default.ReactNode;
|
|
1398
|
+
}
|
|
1399
|
+
interface PopoverTriggerProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1400
|
+
/**
|
|
1401
|
+
* aria-haspopup value applied to the trigger button.
|
|
1402
|
+
* Should match the role of the popover content.
|
|
1403
|
+
* @default 'dialog'
|
|
1404
|
+
*/
|
|
1405
|
+
haspopup?: 'dialog' | 'menu' | 'listbox' | 'tree' | 'grid' | 'true' | false;
|
|
1406
|
+
}
|
|
1407
|
+
interface PopoverContentProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1408
|
+
/**
|
|
1409
|
+
* Preferred placement. Auto-flips if the popover would overflow the viewport.
|
|
1410
|
+
* @default 'bottom'
|
|
1411
|
+
*/
|
|
1412
|
+
placement?: PopoverPlacement;
|
|
1413
|
+
/**
|
|
1414
|
+
* Pixel gap between trigger and popover.
|
|
1415
|
+
* @default 8
|
|
1416
|
+
*/
|
|
1417
|
+
offset?: number;
|
|
1418
|
+
/**
|
|
1419
|
+
* ARIA role for the content container.
|
|
1420
|
+
* Use 'region' for landmark-style popovers; 'dialog' for interactive surfaces.
|
|
1421
|
+
* @default 'dialog'
|
|
1422
|
+
*/
|
|
1423
|
+
role?: string;
|
|
1424
|
+
/**
|
|
1425
|
+
* Focus policy on open.
|
|
1426
|
+
* @default 'first'
|
|
1427
|
+
*/
|
|
1428
|
+
focusPolicy?: PopoverFocusPolicy;
|
|
1429
|
+
/** Portal target element. Defaults to document.body. */
|
|
1430
|
+
container?: HTMLElement | null;
|
|
1431
|
+
/** Remove default visual styles */
|
|
1432
|
+
unstyled?: boolean;
|
|
1433
|
+
}
|
|
1434
|
+
interface PopoverCloseProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1435
|
+
}
|
|
1436
|
+
declare function PopoverRoot({ open: controlledOpen, defaultOpen, onOpenChange, disabled, children, }: PopoverProps): react_jsx_runtime.JSX.Element;
|
|
1437
|
+
/**
|
|
1438
|
+
* Accessible, non-modal Popover.
|
|
1439
|
+
*
|
|
1440
|
+
* Keyboard contract:
|
|
1441
|
+
* - **Enter / Space** on trigger → open
|
|
1442
|
+
* - **Escape** (from anywhere inside) → close, return focus to trigger
|
|
1443
|
+
* - **Tab / Shift+Tab** → move freely through content (no trap)
|
|
1444
|
+
* - **Click outside** → close; focus stays where the user clicked
|
|
1445
|
+
*
|
|
1446
|
+
* @example
|
|
1447
|
+
* ```tsx
|
|
1448
|
+
* <Popover>
|
|
1449
|
+
* <Popover.Trigger>Open</Popover.Trigger>
|
|
1450
|
+
* <Popover.Content aria-label="Settings panel" placement="bottom-start">
|
|
1451
|
+
* <p>Content here.</p>
|
|
1452
|
+
* <Popover.Close>Dismiss</Popover.Close>
|
|
1453
|
+
* </Popover.Content>
|
|
1454
|
+
* </Popover>
|
|
1455
|
+
* ```
|
|
1456
|
+
*/
|
|
1457
|
+
declare const Popover: typeof PopoverRoot & {
|
|
1458
|
+
Trigger: React__default.ForwardRefExoticComponent<PopoverTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1459
|
+
Content: React__default.ForwardRefExoticComponent<PopoverContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1460
|
+
Close: React__default.ForwardRefExoticComponent<PopoverCloseProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1461
|
+
};
|
|
1462
|
+
/** Same as Popover, exported for named compound imports */
|
|
1463
|
+
declare const PopoverCompound: typeof PopoverRoot & {
|
|
1464
|
+
Trigger: React__default.ForwardRefExoticComponent<PopoverTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1465
|
+
Content: React__default.ForwardRefExoticComponent<PopoverContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1466
|
+
Close: React__default.ForwardRefExoticComponent<PopoverCloseProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1467
|
+
};
|
|
1468
|
+
|
|
1469
|
+
interface PopoverContextValue {
|
|
1470
|
+
/** Whether the popover is open */
|
|
1471
|
+
isOpen: boolean;
|
|
1472
|
+
/** Toggle or set open state */
|
|
1473
|
+
onOpenChange: (open: boolean) => void;
|
|
1474
|
+
/** Stable IDs */
|
|
1475
|
+
triggerId: string;
|
|
1476
|
+
contentId: string;
|
|
1477
|
+
/** Ref to the trigger element (for positioning + focus return) */
|
|
1478
|
+
triggerRef: RefObject<HTMLElement | null>;
|
|
1479
|
+
/** Whether the popover trigger is disabled */
|
|
1480
|
+
disabled: boolean;
|
|
1481
|
+
/**
|
|
1482
|
+
* Called by Popover.Content to signal it is mounted in the DOM.
|
|
1483
|
+
* Trigger uses this to set aria-controls only when content exists.
|
|
1484
|
+
*/
|
|
1485
|
+
setContentMounted: (mounted: boolean) => void;
|
|
1486
|
+
/** True when Popover.Content is mounted */
|
|
1487
|
+
contentMounted: boolean;
|
|
1488
|
+
}
|
|
1489
|
+
declare function usePopoverContext(): PopoverContextValue;
|
|
1490
|
+
|
|
1491
|
+
interface AccordionProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1492
|
+
/**
|
|
1493
|
+
* Whether one or multiple items can be open at once.
|
|
1494
|
+
* @default 'single'
|
|
1495
|
+
*/
|
|
1496
|
+
type?: 'single' | 'multiple';
|
|
1497
|
+
/**
|
|
1498
|
+
* Whether the open item can be collapsed when clicked again (single mode only).
|
|
1499
|
+
* @default false
|
|
1500
|
+
*/
|
|
1501
|
+
collapsible?: boolean;
|
|
1502
|
+
/**
|
|
1503
|
+
* Controlled open item(s). String for single mode, string[] for multiple mode.
|
|
1504
|
+
*/
|
|
1505
|
+
value?: string | string[];
|
|
1506
|
+
/**
|
|
1507
|
+
* Default open item(s) for uncontrolled usage.
|
|
1508
|
+
*/
|
|
1509
|
+
defaultValue?: string | string[];
|
|
1510
|
+
/**
|
|
1511
|
+
* Called when the open item(s) change. Receives a string in single mode,
|
|
1512
|
+
* string[] in multiple mode.
|
|
1513
|
+
*/
|
|
1514
|
+
onValueChange?: (value: string | string[]) => void;
|
|
1515
|
+
/**
|
|
1516
|
+
* Heading level used by Accordion.Header (h2–h6).
|
|
1517
|
+
* @default 3
|
|
1518
|
+
*/
|
|
1519
|
+
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
1520
|
+
children: React__default.ReactNode;
|
|
1521
|
+
}
|
|
1522
|
+
/**
|
|
1523
|
+
* Accessible accordion component. Expand/collapse sections of content.
|
|
1524
|
+
*
|
|
1525
|
+
* @example
|
|
1526
|
+
* ```tsx
|
|
1527
|
+
* <Accordion defaultValue="item-1" headingLevel={3}>
|
|
1528
|
+
* <Accordion.Item value="item-1">
|
|
1529
|
+
* <Accordion.Header>
|
|
1530
|
+
* <Accordion.Trigger>Section 1</Accordion.Trigger>
|
|
1531
|
+
* </Accordion.Header>
|
|
1532
|
+
* <Accordion.Content>Content 1</Accordion.Content>
|
|
1533
|
+
* </Accordion.Item>
|
|
1534
|
+
* </Accordion>
|
|
1535
|
+
* ```
|
|
1536
|
+
*
|
|
1537
|
+
* Keyboard: Arrow Up/Down to move between headers, Home/End for first/last,
|
|
1538
|
+
* Enter/Space to toggle. Disabled items are skipped by keyboard navigation.
|
|
1539
|
+
*/
|
|
1540
|
+
declare const Accordion: React__default.ForwardRefExoticComponent<AccordionProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1541
|
+
interface AccordionItemProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1542
|
+
/** Unique value identifying this item */
|
|
1543
|
+
value: string;
|
|
1544
|
+
/** Whether this item is disabled */
|
|
1545
|
+
disabled?: boolean;
|
|
1546
|
+
children: React__default.ReactNode;
|
|
1547
|
+
}
|
|
1548
|
+
/**
|
|
1549
|
+
* A single accordion item. Must be a direct child of Accordion.
|
|
1550
|
+
* Contains Accordion.Header (with Accordion.Trigger inside) and Accordion.Content.
|
|
1551
|
+
*/
|
|
1552
|
+
declare const AccordionItem: React__default.ForwardRefExoticComponent<AccordionItemProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1553
|
+
interface AccordionHeaderProps extends React__default.HTMLAttributes<HTMLHeadingElement> {
|
|
1554
|
+
/**
|
|
1555
|
+
* Override the heading level for this specific header (h2–h6).
|
|
1556
|
+
* Defaults to the `headingLevel` set on the parent `<Accordion>`.
|
|
1557
|
+
*/
|
|
1558
|
+
level?: 2 | 3 | 4 | 5 | 6;
|
|
1559
|
+
children: React__default.ReactNode;
|
|
1560
|
+
}
|
|
1561
|
+
/**
|
|
1562
|
+
* Semantic heading wrapper for an accordion trigger.
|
|
1563
|
+
* Renders an `<h{level}>` element so the trigger button is correctly nested
|
|
1564
|
+
* inside a heading — fulfilling WCAG 1.3.1 and the ARIA authoring practices.
|
|
1565
|
+
*
|
|
1566
|
+
* Must be used inside Accordion.Item.
|
|
1567
|
+
*
|
|
1568
|
+
* @example
|
|
1569
|
+
* ```tsx
|
|
1570
|
+
* <Accordion.Header>
|
|
1571
|
+
* <Accordion.Trigger>Section Title</Accordion.Trigger>
|
|
1572
|
+
* </Accordion.Header>
|
|
1573
|
+
* ```
|
|
1574
|
+
*/
|
|
1575
|
+
declare const AccordionHeader: React__default.ForwardRefExoticComponent<AccordionHeaderProps & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
1576
|
+
interface AccordionTriggerProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1577
|
+
children: React__default.ReactNode;
|
|
1578
|
+
}
|
|
1579
|
+
/**
|
|
1580
|
+
* The button that toggles an accordion item's panel.
|
|
1581
|
+
* Must be used inside Accordion.Header (which must be inside Accordion.Item).
|
|
1582
|
+
*
|
|
1583
|
+
* All ARIA wiring (aria-expanded, aria-controls, id) is applied automatically.
|
|
1584
|
+
* Provide visible label text — no aria-label needed for typical usage.
|
|
1585
|
+
*/
|
|
1586
|
+
declare const AccordionTrigger: React__default.ForwardRefExoticComponent<AccordionTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1587
|
+
interface AccordionContentProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1588
|
+
/** Keep content mounted in the DOM even when closed */
|
|
1589
|
+
forceMount?: boolean;
|
|
1590
|
+
children: React__default.ReactNode;
|
|
1591
|
+
}
|
|
1592
|
+
/**
|
|
1593
|
+
* The collapsible content panel for an accordion item.
|
|
1594
|
+
* Must be used inside Accordion.Item.
|
|
1595
|
+
*
|
|
1596
|
+
* When closed, the panel is hidden from visual users, keyboard users, and
|
|
1597
|
+
* assistive technologies via the HTML `hidden` attribute.
|
|
1598
|
+
* Use `forceMount` to keep the DOM node alive (e.g., for CSS transitions).
|
|
1599
|
+
*/
|
|
1600
|
+
declare const AccordionContent: React__default.ForwardRefExoticComponent<AccordionContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1601
|
+
declare const AccordionCompound: React__default.ForwardRefExoticComponent<AccordionProps & React__default.RefAttributes<HTMLDivElement>> & {
|
|
1602
|
+
Item: React__default.ForwardRefExoticComponent<AccordionItemProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1603
|
+
Header: React__default.ForwardRefExoticComponent<AccordionHeaderProps & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
1604
|
+
Trigger: React__default.ForwardRefExoticComponent<AccordionTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1605
|
+
Content: React__default.ForwardRefExoticComponent<AccordionContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1606
|
+
};
|
|
1607
|
+
|
|
1608
|
+
interface AccordionContextValue {
|
|
1609
|
+
/** Currently open item values */
|
|
1610
|
+
openItems: string[];
|
|
1611
|
+
/** Toggle an item open/closed */
|
|
1612
|
+
toggleItem: (value: string) => void;
|
|
1613
|
+
/** Whether one or multiple items can be open */
|
|
1614
|
+
type: 'single' | 'multiple';
|
|
1615
|
+
/** Whether the open item can be collapsed in single mode */
|
|
1616
|
+
collapsible: boolean;
|
|
1617
|
+
/** Base ID for ARIA relationships */
|
|
1618
|
+
baseId: string;
|
|
1619
|
+
/** Heading level rendered by Accordion.Header (2–6) */
|
|
1620
|
+
headingLevel: 2 | 3 | 4 | 5 | 6;
|
|
1621
|
+
}
|
|
1622
|
+
declare function useAccordionContext(): AccordionContextValue;
|
|
1623
|
+
interface AccordionItemContextValue {
|
|
1624
|
+
/** Value identifying this item */
|
|
1625
|
+
value: string;
|
|
1626
|
+
/** Whether the panel is currently open */
|
|
1627
|
+
isOpen: boolean;
|
|
1628
|
+
/** Whether the item is disabled */
|
|
1629
|
+
isDisabled: boolean;
|
|
1630
|
+
/** ID for the trigger button */
|
|
1631
|
+
triggerId: string;
|
|
1632
|
+
/** ID for the content panel */
|
|
1633
|
+
contentId: string;
|
|
1634
|
+
}
|
|
1635
|
+
declare function useAccordionItemContext(): AccordionItemContextValue;
|
|
1636
|
+
|
|
1637
|
+
type SortDirection = 'ascending' | 'descending' | 'none';
|
|
1638
|
+
interface TableContextValue {
|
|
1639
|
+
/** Stable base ID for generating unique child element IDs */
|
|
1640
|
+
baseId: string;
|
|
1641
|
+
/** Currently sorted column key, or null if unsorted */
|
|
1642
|
+
sortKey: string | null;
|
|
1643
|
+
/** Sort direction for the active sorted column */
|
|
1644
|
+
sortDirection: SortDirection;
|
|
1645
|
+
/** Called when a sortable column header is activated */
|
|
1646
|
+
onSort: ((key: string) => void) | null;
|
|
1647
|
+
/** Set of currently selected row IDs */
|
|
1648
|
+
selectedRows: Set<string>;
|
|
1649
|
+
/** Called when selection changes; receives new array of selected IDs */
|
|
1650
|
+
onSelectionChange: ((rows: string[]) => void) | null;
|
|
1651
|
+
/** Whether the table is in a loading state */
|
|
1652
|
+
isLoading: boolean;
|
|
1653
|
+
}
|
|
1654
|
+
declare function useTableContext(): TableContextValue;
|
|
1655
|
+
type TableSection = 'head' | 'body' | 'foot';
|
|
1656
|
+
interface TableSectionContextValue {
|
|
1657
|
+
section: TableSection;
|
|
1658
|
+
}
|
|
1659
|
+
declare function useTableSectionContext(): TableSectionContextValue | null;
|
|
1660
|
+
interface TableRowContextValue {
|
|
1661
|
+
/** The row's unique ID (required for selection) */
|
|
1662
|
+
rowId: string | null;
|
|
1663
|
+
/** Whether this row is currently selected */
|
|
1664
|
+
isSelected: boolean;
|
|
1665
|
+
}
|
|
1666
|
+
declare function useTableRowContext(): TableRowContextValue | null;
|
|
1667
|
+
|
|
1668
|
+
interface TableProps extends React__default.TableHTMLAttributes<HTMLTableElement> {
|
|
1669
|
+
/**
|
|
1670
|
+
* Accessible name for the table, rendered as a `<caption>` element.
|
|
1671
|
+
* Required unless `aria-label` or `aria-labelledby` is provided.
|
|
1672
|
+
*/
|
|
1673
|
+
caption?: string;
|
|
1674
|
+
/**
|
|
1675
|
+
* Hides the caption visually while keeping it accessible to screen readers.
|
|
1676
|
+
* @default false
|
|
1677
|
+
*/
|
|
1678
|
+
captionHidden?: boolean;
|
|
1679
|
+
/**
|
|
1680
|
+
* Controlled sort column key. Pass `null` to clear sort.
|
|
1681
|
+
*/
|
|
1682
|
+
sortKey?: string | null;
|
|
1683
|
+
/**
|
|
1684
|
+
* Direction of the controlled sort.
|
|
1685
|
+
* @default 'none'
|
|
1686
|
+
*/
|
|
1687
|
+
sortDirection?: SortDirection;
|
|
1688
|
+
/**
|
|
1689
|
+
* Called when a sortable header is activated. Receives the column key and
|
|
1690
|
+
* new direction. Direction cycles: none → ascending → descending → none.
|
|
1691
|
+
*/
|
|
1692
|
+
onSortChange?: (key: string | null, direction: SortDirection) => void;
|
|
1693
|
+
/**
|
|
1694
|
+
* Controlled array of selected row IDs.
|
|
1695
|
+
*/
|
|
1696
|
+
selectedRows?: string[];
|
|
1697
|
+
/**
|
|
1698
|
+
* Default selected row IDs for uncontrolled usage.
|
|
1699
|
+
*/
|
|
1700
|
+
defaultSelectedRows?: string[];
|
|
1701
|
+
/**
|
|
1702
|
+
* Called when row selection changes.
|
|
1703
|
+
*/
|
|
1704
|
+
onSelectionChange?: (rows: string[]) => void;
|
|
1705
|
+
/**
|
|
1706
|
+
* When `true`, the table communicates a loading state via `aria-busy`.
|
|
1707
|
+
* @default false
|
|
1708
|
+
*/
|
|
1709
|
+
isLoading?: boolean;
|
|
1710
|
+
children: React__default.ReactNode;
|
|
1711
|
+
}
|
|
1712
|
+
/**
|
|
1713
|
+
* Accessible data table component. Renders native semantic HTML table elements
|
|
1714
|
+
* with automatic ARIA wiring for sorting and selection.
|
|
1715
|
+
*
|
|
1716
|
+
* @example
|
|
1717
|
+
* ```tsx
|
|
1718
|
+
* <Table caption="Active users" sortKey={key} sortDirection={dir} onSortChange={handleSort}>
|
|
1719
|
+
* <Table.Head>
|
|
1720
|
+
* <Table.Row>
|
|
1721
|
+
* <Table.Header sortKey="name">Name</Table.Header>
|
|
1722
|
+
* <Table.Header>Role</Table.Header>
|
|
1723
|
+
* </Table.Row>
|
|
1724
|
+
* </Table.Head>
|
|
1725
|
+
* <Table.Body>
|
|
1726
|
+
* {users.map(u => (
|
|
1727
|
+
* <Table.Row key={u.id} rowId={u.id}>
|
|
1728
|
+
* <Table.Cell>{u.name}</Table.Cell>
|
|
1729
|
+
* <Table.Cell>{u.role}</Table.Cell>
|
|
1730
|
+
* </Table.Row>
|
|
1731
|
+
* ))}
|
|
1732
|
+
* </Table.Body>
|
|
1733
|
+
* </Table>
|
|
1734
|
+
* ```
|
|
1735
|
+
*/
|
|
1736
|
+
declare const Table: React__default.ForwardRefExoticComponent<TableProps & React__default.RefAttributes<HTMLTableElement>>;
|
|
1737
|
+
interface TableHeadProps extends React__default.HTMLAttributes<HTMLTableSectionElement> {
|
|
1738
|
+
children: React__default.ReactNode;
|
|
1739
|
+
}
|
|
1740
|
+
/**
|
|
1741
|
+
* Wraps `<thead>`. Column headers inside are automatically assigned
|
|
1742
|
+
* `scope="col"`.
|
|
1743
|
+
*/
|
|
1744
|
+
declare const TableHead: React__default.ForwardRefExoticComponent<TableHeadProps & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
1745
|
+
interface TableBodyProps extends React__default.HTMLAttributes<HTMLTableSectionElement> {
|
|
1746
|
+
children: React__default.ReactNode;
|
|
1747
|
+
}
|
|
1748
|
+
/**
|
|
1749
|
+
* Wraps `<tbody>`. Row headers inside (Table.Header) are automatically
|
|
1750
|
+
* assigned `scope="row"`.
|
|
1751
|
+
*/
|
|
1752
|
+
declare const TableBody: React__default.ForwardRefExoticComponent<TableBodyProps & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
1753
|
+
interface TableFootProps extends React__default.HTMLAttributes<HTMLTableSectionElement> {
|
|
1754
|
+
children: React__default.ReactNode;
|
|
1755
|
+
}
|
|
1756
|
+
/**
|
|
1757
|
+
* Wraps `<tfoot>`.
|
|
1758
|
+
*/
|
|
1759
|
+
declare const TableFoot: React__default.ForwardRefExoticComponent<TableFootProps & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
1760
|
+
interface TableRowProps extends React__default.HTMLAttributes<HTMLTableRowElement> {
|
|
1761
|
+
/**
|
|
1762
|
+
* Unique identifier for this row. Required when using row selection
|
|
1763
|
+
* (Table.SelectCell / Table.SelectAllCell).
|
|
1764
|
+
*/
|
|
1765
|
+
rowId?: string;
|
|
1766
|
+
children: React__default.ReactNode;
|
|
1767
|
+
}
|
|
1768
|
+
/**
|
|
1769
|
+
* Renders a `<tr>`. When `rowId` is supplied and the table is selectable,
|
|
1770
|
+
* `aria-selected` is applied automatically.
|
|
1771
|
+
*/
|
|
1772
|
+
declare const TableRow: React__default.ForwardRefExoticComponent<TableRowProps & React__default.RefAttributes<HTMLTableRowElement>>;
|
|
1773
|
+
interface TableHeaderProps extends React__default.ThHTMLAttributes<HTMLTableCellElement> {
|
|
1774
|
+
/**
|
|
1775
|
+
* When provided, the header becomes a sort control. The column key is
|
|
1776
|
+
* passed to `onSortChange`. `aria-sort` and the sort button are managed
|
|
1777
|
+
* automatically — no consumer ARIA wiring needed.
|
|
1778
|
+
*/
|
|
1779
|
+
sortKey?: string;
|
|
1780
|
+
/**
|
|
1781
|
+
* Override the auto-detected `scope` attribute.
|
|
1782
|
+
* - In `Table.Head`: defaults to `"col"`
|
|
1783
|
+
* - In `Table.Body` / `Table.Foot`: defaults to `"row"`
|
|
1784
|
+
*/
|
|
1785
|
+
scope?: 'col' | 'row' | 'colgroup' | 'rowgroup';
|
|
1786
|
+
children?: React__default.ReactNode;
|
|
1787
|
+
}
|
|
1788
|
+
/**
|
|
1789
|
+
* Renders a `<th>` with auto-applied `scope`. When `sortKey` is supplied,
|
|
1790
|
+
* a native `<button>` with correct `aria-sort` state is rendered inside the
|
|
1791
|
+
* header — no manual ARIA required.
|
|
1792
|
+
*/
|
|
1793
|
+
declare const TableHeader: React__default.ForwardRefExoticComponent<TableHeaderProps & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
1794
|
+
interface TableCellProps extends React__default.TdHTMLAttributes<HTMLTableCellElement> {
|
|
1795
|
+
children?: React__default.ReactNode;
|
|
1796
|
+
}
|
|
1797
|
+
/**
|
|
1798
|
+
* Renders a `<td>` data cell. Use `Table.Header` for row-header cells.
|
|
1799
|
+
*/
|
|
1800
|
+
declare const TableCell: React__default.ForwardRefExoticComponent<TableCellProps & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
1801
|
+
interface TableSelectAllCellProps extends React__default.ThHTMLAttributes<HTMLTableCellElement> {
|
|
1802
|
+
/**
|
|
1803
|
+
* All selectable row IDs. Used to compute `checked` / `indeterminate`
|
|
1804
|
+
* state and to pass the complete list to `onSelectionChange` when
|
|
1805
|
+
* "select all" is activated.
|
|
1806
|
+
*/
|
|
1807
|
+
rowIds: string[];
|
|
1808
|
+
}
|
|
1809
|
+
/**
|
|
1810
|
+
* Renders a `<th scope="col">` containing a "Select all rows" checkbox.
|
|
1811
|
+
* Automatically manages checked and indeterminate states.
|
|
1812
|
+
* Must be placed inside `Table.Head > Table.Row`.
|
|
1813
|
+
*/
|
|
1814
|
+
declare const TableSelectAllCell: React__default.ForwardRefExoticComponent<TableSelectAllCellProps & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
1815
|
+
interface TableSelectCellProps extends React__default.TdHTMLAttributes<HTMLTableCellElement> {
|
|
1816
|
+
/**
|
|
1817
|
+
* Accessible label for this checkbox, e.g. "Select Alice".
|
|
1818
|
+
* Required — a dev warning is shown in development if omitted.
|
|
1819
|
+
*/
|
|
1820
|
+
label: string;
|
|
1821
|
+
}
|
|
1822
|
+
/**
|
|
1823
|
+
* Renders a `<td>` containing a row-selection checkbox.
|
|
1824
|
+
* Must be placed inside `Table.Body > Table.Row` that has a `rowId` prop.
|
|
1825
|
+
* The `label` prop is required for accessibility.
|
|
1826
|
+
*/
|
|
1827
|
+
declare const TableSelectCell: React__default.ForwardRefExoticComponent<TableSelectCellProps & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
1828
|
+
interface TableEmptyStateProps extends React__default.HTMLAttributes<HTMLTableRowElement> {
|
|
1829
|
+
/** Number of columns the empty cell should span */
|
|
1830
|
+
colSpan: number;
|
|
1831
|
+
children?: React__default.ReactNode;
|
|
1832
|
+
}
|
|
1833
|
+
/**
|
|
1834
|
+
* Renders a single full-width `<tr>` for empty-table states.
|
|
1835
|
+
* Place inside `Table.Body` in place of data rows.
|
|
1836
|
+
*/
|
|
1837
|
+
declare const TableEmptyState: React__default.ForwardRefExoticComponent<TableEmptyStateProps & React__default.RefAttributes<HTMLTableRowElement>>;
|
|
1838
|
+
interface TableLoadingStateProps extends React__default.HTMLAttributes<HTMLTableRowElement> {
|
|
1839
|
+
/** Number of columns the loading cell should span */
|
|
1840
|
+
colSpan: number;
|
|
1841
|
+
children?: React__default.ReactNode;
|
|
1842
|
+
}
|
|
1843
|
+
/**
|
|
1844
|
+
* Renders a single full-width `<tr>` with `aria-busy="true"` for loading states.
|
|
1845
|
+
* Place inside `Table.Body` in place of data rows.
|
|
1846
|
+
*/
|
|
1847
|
+
declare const TableLoadingState: React__default.ForwardRefExoticComponent<TableLoadingStateProps & React__default.RefAttributes<HTMLTableRowElement>>;
|
|
1848
|
+
declare const TableCompound: React__default.ForwardRefExoticComponent<TableProps & React__default.RefAttributes<HTMLTableElement>> & {
|
|
1849
|
+
Head: React__default.ForwardRefExoticComponent<TableHeadProps & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
1850
|
+
Body: React__default.ForwardRefExoticComponent<TableBodyProps & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
1851
|
+
Foot: React__default.ForwardRefExoticComponent<TableFootProps & React__default.RefAttributes<HTMLTableSectionElement>>;
|
|
1852
|
+
Row: React__default.ForwardRefExoticComponent<TableRowProps & React__default.RefAttributes<HTMLTableRowElement>>;
|
|
1853
|
+
Header: React__default.ForwardRefExoticComponent<TableHeaderProps & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
1854
|
+
Cell: React__default.ForwardRefExoticComponent<TableCellProps & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
1855
|
+
SelectAllCell: React__default.ForwardRefExoticComponent<TableSelectAllCellProps & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
1856
|
+
SelectCell: React__default.ForwardRefExoticComponent<TableSelectCellProps & React__default.RefAttributes<HTMLTableCellElement>>;
|
|
1857
|
+
EmptyState: React__default.ForwardRefExoticComponent<TableEmptyStateProps & React__default.RefAttributes<HTMLTableRowElement>>;
|
|
1858
|
+
LoadingState: React__default.ForwardRefExoticComponent<TableLoadingStateProps & React__default.RefAttributes<HTMLTableRowElement>>;
|
|
1859
|
+
};
|
|
1860
|
+
|
|
1861
|
+
interface FormFieldProps {
|
|
1862
|
+
/** Visible label text — renders a <FormField.Label> automatically when provided */
|
|
1863
|
+
label?: ReactNode;
|
|
1864
|
+
/** Hint text below the control */
|
|
1865
|
+
hint?: ReactNode;
|
|
1866
|
+
/** Error message — sets aria-invalid on control when present */
|
|
1867
|
+
error?: ReactNode;
|
|
1868
|
+
/** Mark the field as required */
|
|
1869
|
+
required?: boolean;
|
|
1870
|
+
/** Disable the field */
|
|
1871
|
+
disabled?: boolean;
|
|
1872
|
+
/** Remove default styles for full customization */
|
|
1873
|
+
unstyled?: boolean;
|
|
1874
|
+
/** Children: use FormField sub-components */
|
|
1875
|
+
children?: ReactNode;
|
|
1876
|
+
/** CSS class name for the wrapper */
|
|
1877
|
+
className?: string;
|
|
1878
|
+
/** Inline styles for the wrapper */
|
|
1879
|
+
style?: React__default.CSSProperties;
|
|
1880
|
+
/** Override the auto-generated control id */
|
|
1881
|
+
id?: string;
|
|
1882
|
+
}
|
|
1883
|
+
/** Props passed to the render-prop child of FormField.Control */
|
|
1884
|
+
interface FormFieldControlRenderProps {
|
|
1885
|
+
/** The id to set on the control element (matches the label's htmlFor) */
|
|
1886
|
+
controlId: string;
|
|
1887
|
+
/** Spread these onto the control for full ARIA wiring */
|
|
1888
|
+
ariaProps: {
|
|
1889
|
+
'aria-labelledby'?: string;
|
|
1890
|
+
'aria-describedby'?: string;
|
|
1891
|
+
'aria-invalid'?: true;
|
|
1892
|
+
'aria-required'?: true;
|
|
1893
|
+
'aria-disabled'?: true;
|
|
1894
|
+
};
|
|
1895
|
+
}
|
|
1896
|
+
interface FormFieldLabelProps extends React__default.HTMLAttributes<HTMLLabelElement> {
|
|
1897
|
+
children?: ReactNode;
|
|
1898
|
+
}
|
|
1899
|
+
interface FormFieldHintProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1900
|
+
children?: ReactNode;
|
|
1901
|
+
}
|
|
1902
|
+
interface FormFieldErrorProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1903
|
+
children?: ReactNode;
|
|
1904
|
+
}
|
|
1905
|
+
interface FormFieldControlProps {
|
|
1906
|
+
children: (props: FormFieldControlRenderProps) => ReactNode;
|
|
1907
|
+
}
|
|
1908
|
+
/**
|
|
1909
|
+
* FormField.Control — render-prop that provides the control ID and ARIA props.
|
|
1910
|
+
*
|
|
1911
|
+
* @example
|
|
1912
|
+
* ```tsx
|
|
1913
|
+
* <FormField.Control>
|
|
1914
|
+
* {({ controlId, ariaProps }) => (
|
|
1915
|
+
* <input id={controlId} type="text" {...ariaProps} />
|
|
1916
|
+
* )}
|
|
1917
|
+
* </FormField.Control>
|
|
1918
|
+
* ```
|
|
1919
|
+
*/
|
|
1920
|
+
declare function FormFieldControl({ children }: FormFieldControlProps): react_jsx_runtime.JSX.Element;
|
|
1921
|
+
declare namespace FormFieldControl {
|
|
1922
|
+
var displayName: string;
|
|
1923
|
+
}
|
|
1924
|
+
declare const FormField: React__default.ForwardRefExoticComponent<FormFieldProps & React__default.RefAttributes<HTMLDivElement>> & {
|
|
1925
|
+
Label: React__default.ForwardRefExoticComponent<FormFieldLabelProps & React__default.RefAttributes<HTMLLabelElement>>;
|
|
1926
|
+
Hint: React__default.ForwardRefExoticComponent<FormFieldHintProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1927
|
+
Error: React__default.ForwardRefExoticComponent<FormFieldErrorProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1928
|
+
Control: typeof FormFieldControl;
|
|
1929
|
+
};
|
|
1930
|
+
declare const FormFieldCompound: React__default.ForwardRefExoticComponent<FormFieldProps & React__default.RefAttributes<HTMLDivElement>> & {
|
|
1931
|
+
Label: React__default.ForwardRefExoticComponent<FormFieldLabelProps & React__default.RefAttributes<HTMLLabelElement>>;
|
|
1932
|
+
Hint: React__default.ForwardRefExoticComponent<FormFieldHintProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1933
|
+
Error: React__default.ForwardRefExoticComponent<FormFieldErrorProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1934
|
+
Control: typeof FormFieldControl;
|
|
1935
|
+
};
|
|
1936
|
+
|
|
1937
|
+
interface FormFieldContextValue {
|
|
1938
|
+
/** ID for the form control (used in label htmlFor) */
|
|
1939
|
+
controlId: string;
|
|
1940
|
+
/** ID for the label element */
|
|
1941
|
+
labelId: string;
|
|
1942
|
+
/** ID for the hint element */
|
|
1943
|
+
hintId: string;
|
|
1944
|
+
/** ID for the error element */
|
|
1945
|
+
errorId: string;
|
|
1946
|
+
/** Whether an error is present */
|
|
1947
|
+
hasError: boolean;
|
|
1948
|
+
/** Whether a hint sub-component is mounted */
|
|
1949
|
+
hasHint: boolean;
|
|
1950
|
+
/** Register hint presence from sub-component */
|
|
1951
|
+
setHasHint: (value: boolean) => void;
|
|
1952
|
+
/** Whether the field is required */
|
|
1953
|
+
required: boolean;
|
|
1954
|
+
/** Whether the field is disabled */
|
|
1955
|
+
disabled: boolean;
|
|
1956
|
+
/** Whether to remove default styles */
|
|
1957
|
+
unstyled: boolean;
|
|
1958
|
+
}
|
|
1959
|
+
declare function useFormFieldContext(): FormFieldContextValue;
|
|
1960
|
+
|
|
1961
|
+
export { AccordionCompound as Accordion, Accordion as AccordionBase, AccordionContent, type AccordionContentProps, type AccordionContextValue, AccordionHeader, type AccordionHeaderProps, AccordionItem, type AccordionItemContextValue, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Alert, type AlertProps, type AlertType, Button, type ButtonProps, CheckboxCompound as Checkbox, Checkbox as CheckboxBase, CheckboxGroup, type CheckboxGroupContextValue, type CheckboxGroupProps, CheckboxIndicator, type CheckboxIndicatorProps, type CheckboxProps, FormField, FormFieldCompound, type FormFieldContextValue, type FormFieldControlProps, type FormFieldControlRenderProps, type FormFieldErrorProps, type FormFieldHintProps, type FormFieldLabelProps, type FormFieldProps, Heading, type HeadingProps, InputCompound as Input, Input as InputBase, type InputContextValue, InputError, type InputErrorProps, InputField, type InputFieldProps, InputHint, type InputHintProps, InputLabel, type InputLabelProps, type InputProps, Link, type LinkProps, ListboxCompound as Listbox, Listbox as ListboxBase, type ListboxContextValue, ListboxGroup, type ListboxGroupProps, ListboxOption, type ListboxOptionProps, type ListboxProps, Popover, type PopoverCloseProps, PopoverCompound, type PopoverContentProps, type PopoverContextValue, type PopoverPlacement, type PopoverProps, type PopoverTriggerProps, Radio, RadioGroupCompound as RadioGroup, RadioGroup as RadioGroupBase, type RadioGroupContextValue, type RadioGroupProps, type RadioProps, type RovingTabindexItem, SelectCompound as Select, Select as SelectBase, SelectListbox, type SelectListboxProps, SelectOptionItem, type SelectOptionProps, type SelectOption as SelectOptionType, type SelectProps, SelectTrigger, type SelectTriggerProps, SkipLink, type SkipLinkProps, type SortDirection, Switch, type SwitchProps, TableCompound as Table, Table as TableBase, TableBody, type TableBodyProps, TableCell, type TableCellProps, type TableContextValue, TableEmptyState, type TableEmptyStateProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, TableLoadingState, type TableLoadingStateProps, type TableProps, TableRow, type TableRowContextValue, type TableRowProps, type TableSection, type TableSectionContextValue, TableSelectAllCell, type TableSelectAllCellProps, TableSelectCell, type TableSelectCellProps, Text, type TextProps, TextareaCompound as Textarea, Textarea as TextareaBase, type TextareaContextValue, TextareaError, type TextareaErrorProps, TextareaField, type TextareaFieldProps, TextareaHint, type TextareaHintProps, TextareaLabel, type TextareaLabelProps, type TextareaProps, type UseFocusTrapOptions, type UseRovingTabindexOptions, VisuallyHidden, type VisuallyHiddenProps, useAccordionContext, useAccordionItemContext, useAnnounceLoading, useAnnounceOnChange, useAnnouncer, useCheckboxGroupContext, useFocusControl, useFocusManager, useFocusNeighbor, useFocusReturn, useFocusTrap, useFocusTrapControls, useFocusVisible, useFocusWithin, useFormFieldContext, useGridKeyboard, useId, useIdScope, useIds, useInputContext, useKeyPressed, useKeyboard, useListboxContext, useMenuKeyboard, usePopoverContext, useRadioGroupContext, useRovingTabindex, useRovingTabindexMap, useTableContext, useTableRowContext, useTableSectionContext, useTabsKeyboard, useTextareaContext, useTypeAhead };
|