@wistia/ui 0.6.7 → 0.6.8-beta.3374cdd2.9bbd4c2

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.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { ReactNode, Dispatch, SetStateAction, ComponentPropsWithoutRef, JSX, ComponentPropsWithRef, MouseEvent, ElementType, ChangeEvent, ForwardedRef, Ref, InputHTMLAttributes, RefObject, ForwardRefExoticComponent, RefAttributes } from 'react';
3
+ import react__default, { ReactNode, Dispatch, SetStateAction, ComponentPropsWithoutRef, JSX, ComponentPropsWithRef, MouseEvent, ElementType, ChangeEvent, ForwardedRef, Ref, InputHTMLAttributes, RefObject, ForwardRefExoticComponent, RefAttributes } from 'react';
4
4
  export * from 'use-file-picker/types';
5
5
  export { useFilePicker, useImperativeFilePicker } from 'use-file-picker';
6
6
  export { FileAmountLimitValidator, FileSizeValidator, FileTypeValidator, ImageDimensionsValidator, PersistentFileAmountLimitValidator } from 'use-file-picker/validators';
@@ -1452,6 +1452,48 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
1452
1452
  children: JSX.Element;
1453
1453
  } & Omit<ButtonAsLinkProps, "leftIcon" | "rightIcon" | "fullWidth">, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
1454
1454
 
1455
+ type BorderRadius = 'border-radius-01' | 'border-radius-02' | 'border-radius-03' | 'border-radius-04' | 'border-radius-05' | 'border-radius-rounded';
1456
+
1457
+ type ImageProps = ComponentPropsWithoutRef<'img'> & {
1458
+ /**
1459
+ * Accessible text to apply to the image
1460
+ */
1461
+ alt: string;
1462
+ /**
1463
+ * Border radius to apply to the image
1464
+ */
1465
+ borderRadius?: BorderRadius;
1466
+ /**
1467
+ * Specifies whether the width and/or height should fill the container
1468
+ *
1469
+ * *Note: this will override height/width attributes*
1470
+ */
1471
+ fill?: boolean | 'horizontal' | 'vertical';
1472
+ /**
1473
+ * Specifies how the image's intrinsic size (ie. its natural size) should
1474
+ * be adjusted to fit within its container
1475
+ */
1476
+ fit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
1477
+ /**
1478
+ * Indicates how the browser should load the image; `eager`loads the image immediately,
1479
+ * `lazy` defers loading the image until it reaches a calculated distance from the viewport.
1480
+ * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-loading
1481
+ */
1482
+ loading?: 'eager' | 'lazy';
1483
+ /**
1484
+ * Specifies how the image will align itself in its container
1485
+ */
1486
+ position?: string;
1487
+ /**
1488
+ * URL to image file
1489
+ */
1490
+ src: string;
1491
+ };
1492
+ declare const Image: {
1493
+ ({ src, alt, borderRadius, fill: fillContainer, fit: objFit, loading, position: objPosition, ...otherProps }: ImageProps): JSX.Element;
1494
+ displayName: string;
1495
+ };
1496
+
1455
1497
  type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, 'type'> & {
1456
1498
  /**
1457
1499
  * When enabled, focusing the input will select the entire text within
@@ -2258,6 +2300,82 @@ type NoIcon$1 = {
2258
2300
  type SegmentedControlItemProps = BaseProps$1 & (IconWithAriaLabel$1 | IconWithLabel$1 | NoIcon$1);
2259
2301
  declare const SegmentedControlItem: react.ForwardRefExoticComponent<SegmentedControlItemProps & react.RefAttributes<HTMLButtonElement>>;
2260
2302
 
2303
+ type SelectProps = {
2304
+ /**
2305
+ * Sets the validity status of the input
2306
+ *
2307
+ * @default false
2308
+ */
2309
+ 'aria-invalid'?: boolean;
2310
+ /**
2311
+ * A group of `Option` or `OptionGroup`s
2312
+ */
2313
+ children: ReactNode;
2314
+ /**
2315
+ * The color scheme of the select.
2316
+ *
2317
+ * @default inherit
2318
+ */
2319
+ colorScheme?: ColorSchemeTypes;
2320
+ /**
2321
+ * When true, the select can't be interacted with.
2322
+ *
2323
+ * @default false
2324
+ */
2325
+ disabled?: boolean;
2326
+ /**
2327
+ * If true, the select will fill its container
2328
+ */
2329
+ fullWidth?: ResponsiveObject<boolean> | boolean;
2330
+ /**
2331
+ * Called when a value is changed.
2332
+ */
2333
+ onChange?: (value: string) => void;
2334
+ /**
2335
+ * Text shown when no value is selected
2336
+ */
2337
+ placeholder?: string;
2338
+ /**
2339
+ * The controlled value. Must be used in conjunction with `onChange`.
2340
+ */
2341
+ value?: string;
2342
+ };
2343
+ /**
2344
+ * Display a list of options and choose one of them. Replacement for the native Select HTML element.
2345
+ */
2346
+ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLButtonElement>>;
2347
+
2348
+ type SelectOptionProps = {
2349
+ /**
2350
+ * The visual content of the select
2351
+ */
2352
+ children: ReactNode;
2353
+ /**
2354
+ * The value to set. Leave this empty to define a placeholder option.
2355
+ */
2356
+ value: string;
2357
+ /**
2358
+ * When true, this option will not be selectable
2359
+ *
2360
+ * @default false
2361
+ */
2362
+ disabled?: boolean;
2363
+ /**
2364
+ * Optional text used for typeahead purposes. By default the typeahead behavior will use the `.textContent` of the Option.
2365
+ * Use this when the content is complex, or you have non-textual content inside.
2366
+ */
2367
+ textValue?: string;
2368
+ };
2369
+ declare const SelectOption: react.ForwardRefExoticComponent<SelectOptionProps & react.RefAttributes<HTMLDivElement>>;
2370
+
2371
+ type SelectOptionGroupProps = {
2372
+ /** The label of the group */
2373
+ label: string;
2374
+ /** At least one `Option` */
2375
+ children: ReactNode;
2376
+ };
2377
+ declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => react_jsx_runtime.JSX.Element;
2378
+
2261
2379
  type StackProps = {
2262
2380
  /**
2263
2381
  * Optional children
@@ -2281,6 +2399,46 @@ type StackProps = {
2281
2399
  */
2282
2400
  declare const Stack: (<C extends ElementType = "div">(props: PolymorphicComponentProps<C, StackProps>) => react.ReactElement | null) & UnknownRecord;
2283
2401
 
2402
+ type TableBodyProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2403
+ children?: ReactNode;
2404
+ };
2405
+ declare const TableBody: ({ children, ...props }: TableBodyProps) => JSX.Element;
2406
+
2407
+ type TableCellProps = Omit<react__default.TdHTMLAttributes<HTMLTableCellElement>, 'ref'> & Omit<react__default.ThHTMLAttributes<HTMLTableCellElement>, 'ref'> & {
2408
+ children?: ReactNode;
2409
+ };
2410
+ declare const TableCell: ({ children, ...props }: TableCellProps) => JSX.Element;
2411
+
2412
+ type TableFooterProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2413
+ children?: ReactNode;
2414
+ };
2415
+ declare const TableFooter: ({ children, ...props }: TableFooterProps) => JSX.Element;
2416
+
2417
+ type TableHeadProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2418
+ children?: ReactNode;
2419
+ };
2420
+ declare const TableHead: ({ children, ...props }: TableHeadProps) => JSX.Element;
2421
+
2422
+ type TableProps = ComponentPropsWithoutRef<'table'> & {
2423
+ /**
2424
+ * Should be some combination of `TableHead` `TableBody` and/or `TableFooter`
2425
+ */
2426
+ children: ReactNode;
2427
+ /**
2428
+ * If true, will stripe every other row
2429
+ */
2430
+ striped?: boolean;
2431
+ };
2432
+ /**
2433
+ * Semantic table element for presenting data
2434
+ */
2435
+ declare const Table: ({ children, striped, ...props }: TableProps) => JSX.Element;
2436
+
2437
+ type TableRowProps = react__default.HTMLAttributes<HTMLTableRowElement> & {
2438
+ children?: ReactNode;
2439
+ };
2440
+ declare const TableRow: ({ children, ...props }: TableRowProps) => JSX.Element;
2441
+
2284
2442
  type BaseTabsProps = {
2285
2443
  /**
2286
2444
  * Accesible label to describe the `TabList`
@@ -2503,117 +2661,4 @@ declare const WistiaLogo: {
2503
2661
  displayName: string;
2504
2662
  };
2505
2663
 
2506
- type SelectProps = {
2507
- /**
2508
- * Sets the validity status of the input
2509
- *
2510
- * @default false
2511
- */
2512
- 'aria-invalid'?: boolean;
2513
- /**
2514
- * A group of `Option` or `OptionGroup`s
2515
- */
2516
- children: ReactNode;
2517
- colorScheme?: ColorSchemeTypes;
2518
- /**
2519
- * When true, the select can't be interacted with.
2520
- *
2521
- * @default false
2522
- */
2523
- disabled?: boolean;
2524
- /**
2525
- * If true, the select will fill its container
2526
- */
2527
- fullWidth?: ResponsiveObject<boolean> | boolean;
2528
- /**
2529
- * Called when a value is changed.
2530
- */
2531
- onChange?: (value: string) => void;
2532
- /**
2533
- * Text shown when no value is selected
2534
- */
2535
- placeholder?: string;
2536
- /**
2537
- * The controlled value. Must be used in conjunction with `onChange`.
2538
- */
2539
- value?: string;
2540
- };
2541
- /**
2542
- * Display a list of options and choose one of them. Replacement for the native Select HTML element.
2543
- */
2544
- declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLButtonElement>>;
2545
-
2546
- type SelectOptionProps = {
2547
- /**
2548
- * The visual content of the select
2549
- */
2550
- children: ReactNode;
2551
- /**
2552
- * The value to set. Leave this empty to define a placeholder option.
2553
- */
2554
- value: string;
2555
- /**
2556
- * When true, this option will not be selectable
2557
- *
2558
- * @default false
2559
- */
2560
- disabled?: boolean;
2561
- /**
2562
- * Optional text used for typeahead purposes. By default the typeahead behavior will use the `.textContent` of the Option.
2563
- * Use this when the content is complex, or you have non-textual content inside.
2564
- */
2565
- textValue?: string;
2566
- };
2567
- declare const SelectOption: react.ForwardRefExoticComponent<SelectOptionProps & react.RefAttributes<HTMLDivElement>>;
2568
-
2569
- type SelectOptionGroupProps = {
2570
- /** The label of the group */
2571
- label: string;
2572
- /** At least one `Option` */
2573
- children: ReactNode;
2574
- };
2575
- declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => react_jsx_runtime.JSX.Element;
2576
-
2577
- type BorderRadius = 'border-radius-01' | 'border-radius-02' | 'border-radius-03' | 'border-radius-04' | 'border-radius-05' | 'border-radius-rounded';
2578
-
2579
- type ImageProps = ComponentPropsWithoutRef<'img'> & {
2580
- /**
2581
- * Accessible text to apply to the image
2582
- */
2583
- alt: string;
2584
- /**
2585
- * Border radius to apply to the image
2586
- */
2587
- borderRadius?: BorderRadius;
2588
- /**
2589
- * Specifies whether the width and/or height should fill the container
2590
- *
2591
- * *Note: this will override height/width attributes*
2592
- */
2593
- fill?: boolean | 'horizontal' | 'vertical';
2594
- /**
2595
- * Specifies how the image's intrinsic size (ie. its natural size) should
2596
- * be adjusted to fit within its container
2597
- */
2598
- fit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
2599
- /**
2600
- * Indicates how the browser should load the image; `eager`loads the image immediately,
2601
- * `lazy` defers loading the image until it reaches a calculated distance from the viewport.
2602
- * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-loading
2603
- */
2604
- loading?: 'eager' | 'lazy';
2605
- /**
2606
- * Specifies how the image will align itself in its container
2607
- */
2608
- position?: string;
2609
- /**
2610
- * URL to image file
2611
- */
2612
- src: string;
2613
- };
2614
- declare const Image: {
2615
- ({ src, alt, borderRadius, fill: fillContainer, fit: objFit, loading, position: objPosition, ...otherProps }: ImageProps): JSX.Element;
2616
- displayName: string;
2617
- };
2618
-
2619
- export { ActionButton, type ActionButtonProps, Avatar, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, type CardProps, Checkbox, CheckboxGroup, CheckboxMenuItem, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Stack, SubMenu, Tab, type TabProps, Tabs, type TabsProps, Tag, type TagProps, Text, type TextProps, Tooltip, type TooltipProps, UIProvider, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, ellipsisFlexParentStyle, ellipsisStyle, iconSizeMap, mq, useActiveMq, useAriaLive, useBoolean, useFormState, useKey, useMq, useToast, useWindowSize };
2664
+ export { ActionButton, type ActionButtonProps, Avatar, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, type CardProps, Checkbox, CheckboxGroup, CheckboxMenuItem, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Stack, SubMenu, Tab, type TabProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, Tag, type TagProps, Text, type TextProps, Tooltip, type TooltipProps, UIProvider, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, ellipsisFlexParentStyle, ellipsisStyle, iconSizeMap, mq, useActiveMq, useAriaLive, useBoolean, useFormState, useKey, useMq, useToast, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { ReactNode, Dispatch, SetStateAction, ComponentPropsWithoutRef, JSX, ComponentPropsWithRef, MouseEvent, ElementType, ChangeEvent, ForwardedRef, Ref, InputHTMLAttributes, RefObject, ForwardRefExoticComponent, RefAttributes } from 'react';
3
+ import react__default, { ReactNode, Dispatch, SetStateAction, ComponentPropsWithoutRef, JSX, ComponentPropsWithRef, MouseEvent, ElementType, ChangeEvent, ForwardedRef, Ref, InputHTMLAttributes, RefObject, ForwardRefExoticComponent, RefAttributes } from 'react';
4
4
  export * from 'use-file-picker/types';
5
5
  export { useFilePicker, useImperativeFilePicker } from 'use-file-picker';
6
6
  export { FileAmountLimitValidator, FileSizeValidator, FileTypeValidator, ImageDimensionsValidator, PersistentFileAmountLimitValidator } from 'use-file-picker/validators';
@@ -1452,6 +1452,48 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
1452
1452
  children: JSX.Element;
1453
1453
  } & Omit<ButtonAsLinkProps, "leftIcon" | "rightIcon" | "fullWidth">, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
1454
1454
 
1455
+ type BorderRadius = 'border-radius-01' | 'border-radius-02' | 'border-radius-03' | 'border-radius-04' | 'border-radius-05' | 'border-radius-rounded';
1456
+
1457
+ type ImageProps = ComponentPropsWithoutRef<'img'> & {
1458
+ /**
1459
+ * Accessible text to apply to the image
1460
+ */
1461
+ alt: string;
1462
+ /**
1463
+ * Border radius to apply to the image
1464
+ */
1465
+ borderRadius?: BorderRadius;
1466
+ /**
1467
+ * Specifies whether the width and/or height should fill the container
1468
+ *
1469
+ * *Note: this will override height/width attributes*
1470
+ */
1471
+ fill?: boolean | 'horizontal' | 'vertical';
1472
+ /**
1473
+ * Specifies how the image's intrinsic size (ie. its natural size) should
1474
+ * be adjusted to fit within its container
1475
+ */
1476
+ fit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
1477
+ /**
1478
+ * Indicates how the browser should load the image; `eager`loads the image immediately,
1479
+ * `lazy` defers loading the image until it reaches a calculated distance from the viewport.
1480
+ * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-loading
1481
+ */
1482
+ loading?: 'eager' | 'lazy';
1483
+ /**
1484
+ * Specifies how the image will align itself in its container
1485
+ */
1486
+ position?: string;
1487
+ /**
1488
+ * URL to image file
1489
+ */
1490
+ src: string;
1491
+ };
1492
+ declare const Image: {
1493
+ ({ src, alt, borderRadius, fill: fillContainer, fit: objFit, loading, position: objPosition, ...otherProps }: ImageProps): JSX.Element;
1494
+ displayName: string;
1495
+ };
1496
+
1455
1497
  type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, 'type'> & {
1456
1498
  /**
1457
1499
  * When enabled, focusing the input will select the entire text within
@@ -2258,6 +2300,82 @@ type NoIcon$1 = {
2258
2300
  type SegmentedControlItemProps = BaseProps$1 & (IconWithAriaLabel$1 | IconWithLabel$1 | NoIcon$1);
2259
2301
  declare const SegmentedControlItem: react.ForwardRefExoticComponent<SegmentedControlItemProps & react.RefAttributes<HTMLButtonElement>>;
2260
2302
 
2303
+ type SelectProps = {
2304
+ /**
2305
+ * Sets the validity status of the input
2306
+ *
2307
+ * @default false
2308
+ */
2309
+ 'aria-invalid'?: boolean;
2310
+ /**
2311
+ * A group of `Option` or `OptionGroup`s
2312
+ */
2313
+ children: ReactNode;
2314
+ /**
2315
+ * The color scheme of the select.
2316
+ *
2317
+ * @default inherit
2318
+ */
2319
+ colorScheme?: ColorSchemeTypes;
2320
+ /**
2321
+ * When true, the select can't be interacted with.
2322
+ *
2323
+ * @default false
2324
+ */
2325
+ disabled?: boolean;
2326
+ /**
2327
+ * If true, the select will fill its container
2328
+ */
2329
+ fullWidth?: ResponsiveObject<boolean> | boolean;
2330
+ /**
2331
+ * Called when a value is changed.
2332
+ */
2333
+ onChange?: (value: string) => void;
2334
+ /**
2335
+ * Text shown when no value is selected
2336
+ */
2337
+ placeholder?: string;
2338
+ /**
2339
+ * The controlled value. Must be used in conjunction with `onChange`.
2340
+ */
2341
+ value?: string;
2342
+ };
2343
+ /**
2344
+ * Display a list of options and choose one of them. Replacement for the native Select HTML element.
2345
+ */
2346
+ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLButtonElement>>;
2347
+
2348
+ type SelectOptionProps = {
2349
+ /**
2350
+ * The visual content of the select
2351
+ */
2352
+ children: ReactNode;
2353
+ /**
2354
+ * The value to set. Leave this empty to define a placeholder option.
2355
+ */
2356
+ value: string;
2357
+ /**
2358
+ * When true, this option will not be selectable
2359
+ *
2360
+ * @default false
2361
+ */
2362
+ disabled?: boolean;
2363
+ /**
2364
+ * Optional text used for typeahead purposes. By default the typeahead behavior will use the `.textContent` of the Option.
2365
+ * Use this when the content is complex, or you have non-textual content inside.
2366
+ */
2367
+ textValue?: string;
2368
+ };
2369
+ declare const SelectOption: react.ForwardRefExoticComponent<SelectOptionProps & react.RefAttributes<HTMLDivElement>>;
2370
+
2371
+ type SelectOptionGroupProps = {
2372
+ /** The label of the group */
2373
+ label: string;
2374
+ /** At least one `Option` */
2375
+ children: ReactNode;
2376
+ };
2377
+ declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => react_jsx_runtime.JSX.Element;
2378
+
2261
2379
  type StackProps = {
2262
2380
  /**
2263
2381
  * Optional children
@@ -2281,6 +2399,46 @@ type StackProps = {
2281
2399
  */
2282
2400
  declare const Stack: (<C extends ElementType = "div">(props: PolymorphicComponentProps<C, StackProps>) => react.ReactElement | null) & UnknownRecord;
2283
2401
 
2402
+ type TableBodyProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2403
+ children?: ReactNode;
2404
+ };
2405
+ declare const TableBody: ({ children, ...props }: TableBodyProps) => JSX.Element;
2406
+
2407
+ type TableCellProps = Omit<react__default.TdHTMLAttributes<HTMLTableCellElement>, 'ref'> & Omit<react__default.ThHTMLAttributes<HTMLTableCellElement>, 'ref'> & {
2408
+ children?: ReactNode;
2409
+ };
2410
+ declare const TableCell: ({ children, ...props }: TableCellProps) => JSX.Element;
2411
+
2412
+ type TableFooterProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2413
+ children?: ReactNode;
2414
+ };
2415
+ declare const TableFooter: ({ children, ...props }: TableFooterProps) => JSX.Element;
2416
+
2417
+ type TableHeadProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2418
+ children?: ReactNode;
2419
+ };
2420
+ declare const TableHead: ({ children, ...props }: TableHeadProps) => JSX.Element;
2421
+
2422
+ type TableProps = ComponentPropsWithoutRef<'table'> & {
2423
+ /**
2424
+ * Should be some combination of `TableHead` `TableBody` and/or `TableFooter`
2425
+ */
2426
+ children: ReactNode;
2427
+ /**
2428
+ * If true, will stripe every other row
2429
+ */
2430
+ striped?: boolean;
2431
+ };
2432
+ /**
2433
+ * Semantic table element for presenting data
2434
+ */
2435
+ declare const Table: ({ children, striped, ...props }: TableProps) => JSX.Element;
2436
+
2437
+ type TableRowProps = react__default.HTMLAttributes<HTMLTableRowElement> & {
2438
+ children?: ReactNode;
2439
+ };
2440
+ declare const TableRow: ({ children, ...props }: TableRowProps) => JSX.Element;
2441
+
2284
2442
  type BaseTabsProps = {
2285
2443
  /**
2286
2444
  * Accesible label to describe the `TabList`
@@ -2503,117 +2661,4 @@ declare const WistiaLogo: {
2503
2661
  displayName: string;
2504
2662
  };
2505
2663
 
2506
- type SelectProps = {
2507
- /**
2508
- * Sets the validity status of the input
2509
- *
2510
- * @default false
2511
- */
2512
- 'aria-invalid'?: boolean;
2513
- /**
2514
- * A group of `Option` or `OptionGroup`s
2515
- */
2516
- children: ReactNode;
2517
- colorScheme?: ColorSchemeTypes;
2518
- /**
2519
- * When true, the select can't be interacted with.
2520
- *
2521
- * @default false
2522
- */
2523
- disabled?: boolean;
2524
- /**
2525
- * If true, the select will fill its container
2526
- */
2527
- fullWidth?: ResponsiveObject<boolean> | boolean;
2528
- /**
2529
- * Called when a value is changed.
2530
- */
2531
- onChange?: (value: string) => void;
2532
- /**
2533
- * Text shown when no value is selected
2534
- */
2535
- placeholder?: string;
2536
- /**
2537
- * The controlled value. Must be used in conjunction with `onChange`.
2538
- */
2539
- value?: string;
2540
- };
2541
- /**
2542
- * Display a list of options and choose one of them. Replacement for the native Select HTML element.
2543
- */
2544
- declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLButtonElement>>;
2545
-
2546
- type SelectOptionProps = {
2547
- /**
2548
- * The visual content of the select
2549
- */
2550
- children: ReactNode;
2551
- /**
2552
- * The value to set. Leave this empty to define a placeholder option.
2553
- */
2554
- value: string;
2555
- /**
2556
- * When true, this option will not be selectable
2557
- *
2558
- * @default false
2559
- */
2560
- disabled?: boolean;
2561
- /**
2562
- * Optional text used for typeahead purposes. By default the typeahead behavior will use the `.textContent` of the Option.
2563
- * Use this when the content is complex, or you have non-textual content inside.
2564
- */
2565
- textValue?: string;
2566
- };
2567
- declare const SelectOption: react.ForwardRefExoticComponent<SelectOptionProps & react.RefAttributes<HTMLDivElement>>;
2568
-
2569
- type SelectOptionGroupProps = {
2570
- /** The label of the group */
2571
- label: string;
2572
- /** At least one `Option` */
2573
- children: ReactNode;
2574
- };
2575
- declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => react_jsx_runtime.JSX.Element;
2576
-
2577
- type BorderRadius = 'border-radius-01' | 'border-radius-02' | 'border-radius-03' | 'border-radius-04' | 'border-radius-05' | 'border-radius-rounded';
2578
-
2579
- type ImageProps = ComponentPropsWithoutRef<'img'> & {
2580
- /**
2581
- * Accessible text to apply to the image
2582
- */
2583
- alt: string;
2584
- /**
2585
- * Border radius to apply to the image
2586
- */
2587
- borderRadius?: BorderRadius;
2588
- /**
2589
- * Specifies whether the width and/or height should fill the container
2590
- *
2591
- * *Note: this will override height/width attributes*
2592
- */
2593
- fill?: boolean | 'horizontal' | 'vertical';
2594
- /**
2595
- * Specifies how the image's intrinsic size (ie. its natural size) should
2596
- * be adjusted to fit within its container
2597
- */
2598
- fit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
2599
- /**
2600
- * Indicates how the browser should load the image; `eager`loads the image immediately,
2601
- * `lazy` defers loading the image until it reaches a calculated distance from the viewport.
2602
- * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-loading
2603
- */
2604
- loading?: 'eager' | 'lazy';
2605
- /**
2606
- * Specifies how the image will align itself in its container
2607
- */
2608
- position?: string;
2609
- /**
2610
- * URL to image file
2611
- */
2612
- src: string;
2613
- };
2614
- declare const Image: {
2615
- ({ src, alt, borderRadius, fill: fillContainer, fit: objFit, loading, position: objPosition, ...otherProps }: ImageProps): JSX.Element;
2616
- displayName: string;
2617
- };
2618
-
2619
- export { ActionButton, type ActionButtonProps, Avatar, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, type CardProps, Checkbox, CheckboxGroup, CheckboxMenuItem, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Stack, SubMenu, Tab, type TabProps, Tabs, type TabsProps, Tag, type TagProps, Text, type TextProps, Tooltip, type TooltipProps, UIProvider, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, ellipsisFlexParentStyle, ellipsisStyle, iconSizeMap, mq, useActiveMq, useAriaLive, useBoolean, useFormState, useKey, useMq, useToast, useWindowSize };
2664
+ export { ActionButton, type ActionButtonProps, Avatar, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, type CardProps, Checkbox, CheckboxGroup, CheckboxMenuItem, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Stack, SubMenu, Tab, type TabProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, Tag, type TagProps, Text, type TextProps, Tooltip, type TooltipProps, UIProvider, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, ellipsisFlexParentStyle, ellipsisStyle, iconSizeMap, mq, useActiveMq, useAriaLive, useBoolean, useFormState, useKey, useMq, useToast, useWindowSize };