@wistia/ui 0.6.10 → 0.6.11-beta.0e21fde4.8ec0099

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';
@@ -1479,6 +1479,48 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
1479
1479
  children: JSX.Element;
1480
1480
  } & Omit<ButtonAsLinkProps, "leftIcon" | "rightIcon" | "fullWidth">, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
1481
1481
 
1482
+ type BorderRadius = 'border-radius-01' | 'border-radius-02' | 'border-radius-03' | 'border-radius-04' | 'border-radius-05' | 'border-radius-rounded';
1483
+
1484
+ type ImageProps = ComponentPropsWithoutRef<'img'> & {
1485
+ /**
1486
+ * Accessible text to apply to the image
1487
+ */
1488
+ alt: string;
1489
+ /**
1490
+ * Border radius to apply to the image
1491
+ */
1492
+ borderRadius?: BorderRadius;
1493
+ /**
1494
+ * Specifies whether the width and/or height should fill the container
1495
+ *
1496
+ * *Note: this will override height/width attributes*
1497
+ */
1498
+ fill?: boolean | 'horizontal' | 'vertical';
1499
+ /**
1500
+ * Specifies how the image's intrinsic size (ie. its natural size) should
1501
+ * be adjusted to fit within its container
1502
+ */
1503
+ fit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
1504
+ /**
1505
+ * Indicates how the browser should load the image; `eager`loads the image immediately,
1506
+ * `lazy` defers loading the image until it reaches a calculated distance from the viewport.
1507
+ * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-loading
1508
+ */
1509
+ loading?: 'eager' | 'lazy';
1510
+ /**
1511
+ * Specifies how the image will align itself in its container
1512
+ */
1513
+ position?: string;
1514
+ /**
1515
+ * URL to image file
1516
+ */
1517
+ src: string;
1518
+ };
1519
+ declare const Image: {
1520
+ ({ src, alt, borderRadius, fill: fillContainer, fit: objFit, loading, position: objPosition, ...otherProps }: ImageProps): JSX.Element;
1521
+ displayName: string;
1522
+ };
1523
+
1482
1524
  type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, 'type'> & {
1483
1525
  /**
1484
1526
  * When enabled, focusing the input will select the entire text within
@@ -2096,12 +2138,16 @@ type PopoverProps = ContentProps & PopoverControlProps & {
2096
2138
  * An interactive element. Most commonly a [Button](?path=/docs/components-button--docs) or [IconButton]([Button](?path=/docs/components-iconbutton--docs)).
2097
2139
  * */
2098
2140
  trigger: JSX.Element;
2141
+ /**
2142
+ * If true, the popover will use the unstyled Content component instead of StyledContent
2143
+ */
2144
+ unstyled?: boolean;
2099
2145
  };
2100
2146
  /**
2101
2147
  * Displays rich content in a portal, triggered by a button.
2102
2148
  */
2103
2149
  declare const Popover: {
2104
- ({ children, trigger, isOpen, hideCloseButton, onOpenChange, ...props }: PopoverProps): JSX.Element;
2150
+ ({ children, trigger, isOpen, hideCloseButton, onOpenChange, unstyled, ...props }: PopoverProps): JSX.Element;
2105
2151
  displayName: string;
2106
2152
  };
2107
2153
 
@@ -2285,6 +2331,82 @@ type NoIcon$1 = {
2285
2331
  type SegmentedControlItemProps = BaseProps$1 & (IconWithAriaLabel$1 | IconWithLabel$1 | NoIcon$1);
2286
2332
  declare const SegmentedControlItem: react.ForwardRefExoticComponent<SegmentedControlItemProps & react.RefAttributes<HTMLButtonElement>>;
2287
2333
 
2334
+ type SelectProps = {
2335
+ /**
2336
+ * Sets the validity status of the input
2337
+ *
2338
+ * @default false
2339
+ */
2340
+ 'aria-invalid'?: boolean;
2341
+ /**
2342
+ * A group of `Option` or `OptionGroup`s
2343
+ */
2344
+ children: ReactNode;
2345
+ /**
2346
+ * The color scheme of the select.
2347
+ *
2348
+ * @default inherit
2349
+ */
2350
+ colorScheme?: ColorSchemeTypes;
2351
+ /**
2352
+ * When true, the select can't be interacted with.
2353
+ *
2354
+ * @default false
2355
+ */
2356
+ disabled?: boolean;
2357
+ /**
2358
+ * If true, the select will fill its container
2359
+ */
2360
+ fullWidth?: ResponsiveObject<boolean> | boolean;
2361
+ /**
2362
+ * Called when a value is changed.
2363
+ */
2364
+ onChange?: (value: string) => void;
2365
+ /**
2366
+ * Text shown when no value is selected
2367
+ */
2368
+ placeholder?: string;
2369
+ /**
2370
+ * The controlled value. Must be used in conjunction with `onChange`.
2371
+ */
2372
+ value?: string;
2373
+ };
2374
+ /**
2375
+ * Display a list of options and choose one of them. Replacement for the native Select HTML element.
2376
+ */
2377
+ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLButtonElement>>;
2378
+
2379
+ type SelectOptionProps = {
2380
+ /**
2381
+ * The visual content of the select
2382
+ */
2383
+ children: ReactNode;
2384
+ /**
2385
+ * The value to set. Leave this empty to define a placeholder option.
2386
+ */
2387
+ value: string;
2388
+ /**
2389
+ * When true, this option will not be selectable
2390
+ *
2391
+ * @default false
2392
+ */
2393
+ disabled?: boolean;
2394
+ /**
2395
+ * Optional text used for typeahead purposes. By default the typeahead behavior will use the `.textContent` of the Option.
2396
+ * Use this when the content is complex, or you have non-textual content inside.
2397
+ */
2398
+ textValue?: string;
2399
+ };
2400
+ declare const SelectOption: react.ForwardRefExoticComponent<SelectOptionProps & react.RefAttributes<HTMLDivElement>>;
2401
+
2402
+ type SelectOptionGroupProps = {
2403
+ /** The label of the group */
2404
+ label: string;
2405
+ /** At least one `Option` */
2406
+ children: ReactNode;
2407
+ };
2408
+ declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => react_jsx_runtime.JSX.Element;
2409
+
2288
2410
  type StackProps = {
2289
2411
  /**
2290
2412
  * Optional children
@@ -2308,6 +2430,51 @@ type StackProps = {
2308
2430
  */
2309
2431
  declare const Stack: (<C extends ElementType = "div">(props: PolymorphicComponentProps<C, StackProps>) => react.ReactElement | null) & UnknownRecord;
2310
2432
 
2433
+ type TableBodyProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2434
+ children?: ReactNode;
2435
+ };
2436
+ declare const TableBody: ({ children, ...props }: TableBodyProps) => JSX.Element;
2437
+
2438
+ type CellAttrs = Omit<react__default.TdHTMLAttributes<HTMLTableCellElement>, 'ref'> & Omit<react__default.ThHTMLAttributes<HTMLTableCellElement>, 'ref'>;
2439
+ type TableCellProps = CellAttrs & {
2440
+ children?: ReactNode;
2441
+ };
2442
+ declare const TableCell: ({ children, ...props }: TableCellProps) => JSX.Element;
2443
+
2444
+ type TableFooterProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2445
+ children?: ReactNode;
2446
+ };
2447
+ declare const TableFooter: ({ children, ...props }: TableFooterProps) => JSX.Element;
2448
+
2449
+ type TableHeadProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2450
+ children?: ReactNode;
2451
+ };
2452
+ declare const TableHead: ({ children, ...props }: TableHeadProps) => JSX.Element;
2453
+
2454
+ type TableProps = ComponentPropsWithoutRef<'table'> & {
2455
+ /**
2456
+ * Should be some combination of `TableHead` and/or `TableBody` and/or `TableFooter`
2457
+ */
2458
+ children: ReactNode;
2459
+ /**
2460
+ * If true, will stripe every other row
2461
+ */
2462
+ striped?: boolean;
2463
+ /**
2464
+ * If true, will add dividing lines between rows
2465
+ */
2466
+ divided?: boolean;
2467
+ };
2468
+ /**
2469
+ * Semantic table element for presenting data
2470
+ */
2471
+ declare const Table: ({ children, striped, divided, ...props }: TableProps) => JSX.Element;
2472
+
2473
+ type TableRowProps = react__default.HTMLAttributes<HTMLTableRowElement> & {
2474
+ children?: ReactNode;
2475
+ };
2476
+ declare const TableRow: ({ children, ...props }: TableRowProps) => JSX.Element;
2477
+
2311
2478
  type BaseTabsProps = {
2312
2479
  /**
2313
2480
  * Accesible label to describe the `TabList`
@@ -2530,122 +2697,4 @@ declare const WistiaLogo: {
2530
2697
  displayName: string;
2531
2698
  };
2532
2699
 
2533
- type SelectProps = {
2534
- /**
2535
- * Sets the validity status of the input
2536
- *
2537
- * @default false
2538
- */
2539
- 'aria-invalid'?: boolean;
2540
- /**
2541
- * A group of `Option` or `OptionGroup`s
2542
- */
2543
- children: ReactNode;
2544
- /**
2545
- * The color scheme of the select.
2546
- *
2547
- * @default inherit
2548
- */
2549
- colorScheme?: ColorSchemeTypes;
2550
- /**
2551
- * When true, the select can't be interacted with.
2552
- *
2553
- * @default false
2554
- */
2555
- disabled?: boolean;
2556
- /**
2557
- * If true, the select will fill its container
2558
- */
2559
- fullWidth?: ResponsiveObject<boolean> | boolean;
2560
- /**
2561
- * Called when a value is changed.
2562
- */
2563
- onChange?: (value: string) => void;
2564
- /**
2565
- * Text shown when no value is selected
2566
- */
2567
- placeholder?: string;
2568
- /**
2569
- * The controlled value. Must be used in conjunction with `onChange`.
2570
- */
2571
- value?: string;
2572
- };
2573
- /**
2574
- * Display a list of options and choose one of them. Replacement for the native Select HTML element.
2575
- */
2576
- declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLButtonElement>>;
2577
-
2578
- type SelectOptionProps = {
2579
- /**
2580
- * The visual content of the select
2581
- */
2582
- children: ReactNode;
2583
- /**
2584
- * The value to set. Leave this empty to define a placeholder option.
2585
- */
2586
- value: string;
2587
- /**
2588
- * When true, this option will not be selectable
2589
- *
2590
- * @default false
2591
- */
2592
- disabled?: boolean;
2593
- /**
2594
- * Optional text used for typeahead purposes. By default the typeahead behavior will use the `.textContent` of the Option.
2595
- * Use this when the content is complex, or you have non-textual content inside.
2596
- */
2597
- textValue?: string;
2598
- };
2599
- declare const SelectOption: react.ForwardRefExoticComponent<SelectOptionProps & react.RefAttributes<HTMLDivElement>>;
2600
-
2601
- type SelectOptionGroupProps = {
2602
- /** The label of the group */
2603
- label: string;
2604
- /** At least one `Option` */
2605
- children: ReactNode;
2606
- };
2607
- declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => react_jsx_runtime.JSX.Element;
2608
-
2609
- type BorderRadius = 'border-radius-01' | 'border-radius-02' | 'border-radius-03' | 'border-radius-04' | 'border-radius-05' | 'border-radius-rounded';
2610
-
2611
- type ImageProps = ComponentPropsWithoutRef<'img'> & {
2612
- /**
2613
- * Accessible text to apply to the image
2614
- */
2615
- alt: string;
2616
- /**
2617
- * Border radius to apply to the image
2618
- */
2619
- borderRadius?: BorderRadius;
2620
- /**
2621
- * Specifies whether the width and/or height should fill the container
2622
- *
2623
- * *Note: this will override height/width attributes*
2624
- */
2625
- fill?: boolean | 'horizontal' | 'vertical';
2626
- /**
2627
- * Specifies how the image's intrinsic size (ie. its natural size) should
2628
- * be adjusted to fit within its container
2629
- */
2630
- fit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
2631
- /**
2632
- * Indicates how the browser should load the image; `eager`loads the image immediately,
2633
- * `lazy` defers loading the image until it reaches a calculated distance from the viewport.
2634
- * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-loading
2635
- */
2636
- loading?: 'eager' | 'lazy';
2637
- /**
2638
- * Specifies how the image will align itself in its container
2639
- */
2640
- position?: string;
2641
- /**
2642
- * URL to image file
2643
- */
2644
- src: string;
2645
- };
2646
- declare const Image: {
2647
- ({ src, alt, borderRadius, fill: fillContainer, fit: objFit, loading, position: objPosition, ...otherProps }: ImageProps): JSX.Element;
2648
- displayName: string;
2649
- };
2650
-
2651
- 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 };
2700
+ 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';
@@ -1479,6 +1479,48 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
1479
1479
  children: JSX.Element;
1480
1480
  } & Omit<ButtonAsLinkProps, "leftIcon" | "rightIcon" | "fullWidth">, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
1481
1481
 
1482
+ type BorderRadius = 'border-radius-01' | 'border-radius-02' | 'border-radius-03' | 'border-radius-04' | 'border-radius-05' | 'border-radius-rounded';
1483
+
1484
+ type ImageProps = ComponentPropsWithoutRef<'img'> & {
1485
+ /**
1486
+ * Accessible text to apply to the image
1487
+ */
1488
+ alt: string;
1489
+ /**
1490
+ * Border radius to apply to the image
1491
+ */
1492
+ borderRadius?: BorderRadius;
1493
+ /**
1494
+ * Specifies whether the width and/or height should fill the container
1495
+ *
1496
+ * *Note: this will override height/width attributes*
1497
+ */
1498
+ fill?: boolean | 'horizontal' | 'vertical';
1499
+ /**
1500
+ * Specifies how the image's intrinsic size (ie. its natural size) should
1501
+ * be adjusted to fit within its container
1502
+ */
1503
+ fit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
1504
+ /**
1505
+ * Indicates how the browser should load the image; `eager`loads the image immediately,
1506
+ * `lazy` defers loading the image until it reaches a calculated distance from the viewport.
1507
+ * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-loading
1508
+ */
1509
+ loading?: 'eager' | 'lazy';
1510
+ /**
1511
+ * Specifies how the image will align itself in its container
1512
+ */
1513
+ position?: string;
1514
+ /**
1515
+ * URL to image file
1516
+ */
1517
+ src: string;
1518
+ };
1519
+ declare const Image: {
1520
+ ({ src, alt, borderRadius, fill: fillContainer, fit: objFit, loading, position: objPosition, ...otherProps }: ImageProps): JSX.Element;
1521
+ displayName: string;
1522
+ };
1523
+
1482
1524
  type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, 'type'> & {
1483
1525
  /**
1484
1526
  * When enabled, focusing the input will select the entire text within
@@ -2096,12 +2138,16 @@ type PopoverProps = ContentProps & PopoverControlProps & {
2096
2138
  * An interactive element. Most commonly a [Button](?path=/docs/components-button--docs) or [IconButton]([Button](?path=/docs/components-iconbutton--docs)).
2097
2139
  * */
2098
2140
  trigger: JSX.Element;
2141
+ /**
2142
+ * If true, the popover will use the unstyled Content component instead of StyledContent
2143
+ */
2144
+ unstyled?: boolean;
2099
2145
  };
2100
2146
  /**
2101
2147
  * Displays rich content in a portal, triggered by a button.
2102
2148
  */
2103
2149
  declare const Popover: {
2104
- ({ children, trigger, isOpen, hideCloseButton, onOpenChange, ...props }: PopoverProps): JSX.Element;
2150
+ ({ children, trigger, isOpen, hideCloseButton, onOpenChange, unstyled, ...props }: PopoverProps): JSX.Element;
2105
2151
  displayName: string;
2106
2152
  };
2107
2153
 
@@ -2285,6 +2331,82 @@ type NoIcon$1 = {
2285
2331
  type SegmentedControlItemProps = BaseProps$1 & (IconWithAriaLabel$1 | IconWithLabel$1 | NoIcon$1);
2286
2332
  declare const SegmentedControlItem: react.ForwardRefExoticComponent<SegmentedControlItemProps & react.RefAttributes<HTMLButtonElement>>;
2287
2333
 
2334
+ type SelectProps = {
2335
+ /**
2336
+ * Sets the validity status of the input
2337
+ *
2338
+ * @default false
2339
+ */
2340
+ 'aria-invalid'?: boolean;
2341
+ /**
2342
+ * A group of `Option` or `OptionGroup`s
2343
+ */
2344
+ children: ReactNode;
2345
+ /**
2346
+ * The color scheme of the select.
2347
+ *
2348
+ * @default inherit
2349
+ */
2350
+ colorScheme?: ColorSchemeTypes;
2351
+ /**
2352
+ * When true, the select can't be interacted with.
2353
+ *
2354
+ * @default false
2355
+ */
2356
+ disabled?: boolean;
2357
+ /**
2358
+ * If true, the select will fill its container
2359
+ */
2360
+ fullWidth?: ResponsiveObject<boolean> | boolean;
2361
+ /**
2362
+ * Called when a value is changed.
2363
+ */
2364
+ onChange?: (value: string) => void;
2365
+ /**
2366
+ * Text shown when no value is selected
2367
+ */
2368
+ placeholder?: string;
2369
+ /**
2370
+ * The controlled value. Must be used in conjunction with `onChange`.
2371
+ */
2372
+ value?: string;
2373
+ };
2374
+ /**
2375
+ * Display a list of options and choose one of them. Replacement for the native Select HTML element.
2376
+ */
2377
+ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLButtonElement>>;
2378
+
2379
+ type SelectOptionProps = {
2380
+ /**
2381
+ * The visual content of the select
2382
+ */
2383
+ children: ReactNode;
2384
+ /**
2385
+ * The value to set. Leave this empty to define a placeholder option.
2386
+ */
2387
+ value: string;
2388
+ /**
2389
+ * When true, this option will not be selectable
2390
+ *
2391
+ * @default false
2392
+ */
2393
+ disabled?: boolean;
2394
+ /**
2395
+ * Optional text used for typeahead purposes. By default the typeahead behavior will use the `.textContent` of the Option.
2396
+ * Use this when the content is complex, or you have non-textual content inside.
2397
+ */
2398
+ textValue?: string;
2399
+ };
2400
+ declare const SelectOption: react.ForwardRefExoticComponent<SelectOptionProps & react.RefAttributes<HTMLDivElement>>;
2401
+
2402
+ type SelectOptionGroupProps = {
2403
+ /** The label of the group */
2404
+ label: string;
2405
+ /** At least one `Option` */
2406
+ children: ReactNode;
2407
+ };
2408
+ declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => react_jsx_runtime.JSX.Element;
2409
+
2288
2410
  type StackProps = {
2289
2411
  /**
2290
2412
  * Optional children
@@ -2308,6 +2430,51 @@ type StackProps = {
2308
2430
  */
2309
2431
  declare const Stack: (<C extends ElementType = "div">(props: PolymorphicComponentProps<C, StackProps>) => react.ReactElement | null) & UnknownRecord;
2310
2432
 
2433
+ type TableBodyProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2434
+ children?: ReactNode;
2435
+ };
2436
+ declare const TableBody: ({ children, ...props }: TableBodyProps) => JSX.Element;
2437
+
2438
+ type CellAttrs = Omit<react__default.TdHTMLAttributes<HTMLTableCellElement>, 'ref'> & Omit<react__default.ThHTMLAttributes<HTMLTableCellElement>, 'ref'>;
2439
+ type TableCellProps = CellAttrs & {
2440
+ children?: ReactNode;
2441
+ };
2442
+ declare const TableCell: ({ children, ...props }: TableCellProps) => JSX.Element;
2443
+
2444
+ type TableFooterProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2445
+ children?: ReactNode;
2446
+ };
2447
+ declare const TableFooter: ({ children, ...props }: TableFooterProps) => JSX.Element;
2448
+
2449
+ type TableHeadProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2450
+ children?: ReactNode;
2451
+ };
2452
+ declare const TableHead: ({ children, ...props }: TableHeadProps) => JSX.Element;
2453
+
2454
+ type TableProps = ComponentPropsWithoutRef<'table'> & {
2455
+ /**
2456
+ * Should be some combination of `TableHead` and/or `TableBody` and/or `TableFooter`
2457
+ */
2458
+ children: ReactNode;
2459
+ /**
2460
+ * If true, will stripe every other row
2461
+ */
2462
+ striped?: boolean;
2463
+ /**
2464
+ * If true, will add dividing lines between rows
2465
+ */
2466
+ divided?: boolean;
2467
+ };
2468
+ /**
2469
+ * Semantic table element for presenting data
2470
+ */
2471
+ declare const Table: ({ children, striped, divided, ...props }: TableProps) => JSX.Element;
2472
+
2473
+ type TableRowProps = react__default.HTMLAttributes<HTMLTableRowElement> & {
2474
+ children?: ReactNode;
2475
+ };
2476
+ declare const TableRow: ({ children, ...props }: TableRowProps) => JSX.Element;
2477
+
2311
2478
  type BaseTabsProps = {
2312
2479
  /**
2313
2480
  * Accesible label to describe the `TabList`
@@ -2530,122 +2697,4 @@ declare const WistiaLogo: {
2530
2697
  displayName: string;
2531
2698
  };
2532
2699
 
2533
- type SelectProps = {
2534
- /**
2535
- * Sets the validity status of the input
2536
- *
2537
- * @default false
2538
- */
2539
- 'aria-invalid'?: boolean;
2540
- /**
2541
- * A group of `Option` or `OptionGroup`s
2542
- */
2543
- children: ReactNode;
2544
- /**
2545
- * The color scheme of the select.
2546
- *
2547
- * @default inherit
2548
- */
2549
- colorScheme?: ColorSchemeTypes;
2550
- /**
2551
- * When true, the select can't be interacted with.
2552
- *
2553
- * @default false
2554
- */
2555
- disabled?: boolean;
2556
- /**
2557
- * If true, the select will fill its container
2558
- */
2559
- fullWidth?: ResponsiveObject<boolean> | boolean;
2560
- /**
2561
- * Called when a value is changed.
2562
- */
2563
- onChange?: (value: string) => void;
2564
- /**
2565
- * Text shown when no value is selected
2566
- */
2567
- placeholder?: string;
2568
- /**
2569
- * The controlled value. Must be used in conjunction with `onChange`.
2570
- */
2571
- value?: string;
2572
- };
2573
- /**
2574
- * Display a list of options and choose one of them. Replacement for the native Select HTML element.
2575
- */
2576
- declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLButtonElement>>;
2577
-
2578
- type SelectOptionProps = {
2579
- /**
2580
- * The visual content of the select
2581
- */
2582
- children: ReactNode;
2583
- /**
2584
- * The value to set. Leave this empty to define a placeholder option.
2585
- */
2586
- value: string;
2587
- /**
2588
- * When true, this option will not be selectable
2589
- *
2590
- * @default false
2591
- */
2592
- disabled?: boolean;
2593
- /**
2594
- * Optional text used for typeahead purposes. By default the typeahead behavior will use the `.textContent` of the Option.
2595
- * Use this when the content is complex, or you have non-textual content inside.
2596
- */
2597
- textValue?: string;
2598
- };
2599
- declare const SelectOption: react.ForwardRefExoticComponent<SelectOptionProps & react.RefAttributes<HTMLDivElement>>;
2600
-
2601
- type SelectOptionGroupProps = {
2602
- /** The label of the group */
2603
- label: string;
2604
- /** At least one `Option` */
2605
- children: ReactNode;
2606
- };
2607
- declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => react_jsx_runtime.JSX.Element;
2608
-
2609
- type BorderRadius = 'border-radius-01' | 'border-radius-02' | 'border-radius-03' | 'border-radius-04' | 'border-radius-05' | 'border-radius-rounded';
2610
-
2611
- type ImageProps = ComponentPropsWithoutRef<'img'> & {
2612
- /**
2613
- * Accessible text to apply to the image
2614
- */
2615
- alt: string;
2616
- /**
2617
- * Border radius to apply to the image
2618
- */
2619
- borderRadius?: BorderRadius;
2620
- /**
2621
- * Specifies whether the width and/or height should fill the container
2622
- *
2623
- * *Note: this will override height/width attributes*
2624
- */
2625
- fill?: boolean | 'horizontal' | 'vertical';
2626
- /**
2627
- * Specifies how the image's intrinsic size (ie. its natural size) should
2628
- * be adjusted to fit within its container
2629
- */
2630
- fit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
2631
- /**
2632
- * Indicates how the browser should load the image; `eager`loads the image immediately,
2633
- * `lazy` defers loading the image until it reaches a calculated distance from the viewport.
2634
- * See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attr-loading
2635
- */
2636
- loading?: 'eager' | 'lazy';
2637
- /**
2638
- * Specifies how the image will align itself in its container
2639
- */
2640
- position?: string;
2641
- /**
2642
- * URL to image file
2643
- */
2644
- src: string;
2645
- };
2646
- declare const Image: {
2647
- ({ src, alt, borderRadius, fill: fillContainer, fit: objFit, loading, position: objPosition, ...otherProps }: ImageProps): JSX.Element;
2648
- displayName: string;
2649
- };
2650
-
2651
- 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 };
2700
+ 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 };