@wistia/ui 0.18.0 → 0.18.1

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.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 react__default, { ReactNode, LegacyRef, MutableRefObject, RefCallback, Dispatch, SetStateAction, RefObject, ComponentPropsWithoutRef, JSX as JSX$1, ComponentPropsWithRef, MouseEvent, ElementType, ChangeEvent, PropsWithChildren, ReactElement, InputHTMLAttributes, Ref, SyntheticEvent, HTMLAttributes, ForwardRefExoticComponent, RefAttributes, ComponentProps } from 'react';
3
+ import react__default, { ReactNode, LegacyRef, MutableRefObject, RefCallback, Dispatch, SetStateAction, RefObject, ComponentPropsWithoutRef, JSX, ComponentPropsWithRef, MouseEvent, ElementType, ChangeEvent, PropsWithChildren, ReactElement, InputHTMLAttributes, Ref, SyntheticEvent, HTMLAttributes, ForwardRefExoticComponent, RefAttributes, ComponentProps } from 'react';
4
4
  import { UseFilePickerConfig, FilePickerReturnTypes, ExtractContentTypeFromConfig, useImperativeFilePickerConfig, ImperativeFilePickerReturnTypes } from 'use-file-picker/types';
5
5
  export * from 'use-file-picker/types';
6
6
  import { CollapsibleContentProps as CollapsibleContentProps$1 } from '@radix-ui/react-collapsible';
@@ -191,7 +191,7 @@ type ColorSchemeWrapperProps = ComponentPropsWithoutRef<'div'> & {
191
191
  * A wrapper to apply a color scheme to its children.
192
192
  */
193
193
  declare const ColorSchemeWrapper: {
194
- ({ __nav, colorScheme, children, ...props }: ColorSchemeWrapperProps): JSX$1.Element;
194
+ ({ __nav, colorScheme, children, ...props }: ColorSchemeWrapperProps): JSX.Element;
195
195
  displayName: string;
196
196
  };
197
197
 
@@ -440,7 +440,7 @@ type ToastProps = ComponentPropsWithoutRef<'div'> & {
440
440
  /**
441
441
  * Optional `Icon` component to use. Must be an instance of [Icon](/?path=/docs/components-icon--docs)
442
442
  */
443
- icon?: JSX$1.Element | undefined;
443
+ icon?: JSX.Element | undefined;
444
444
  /**
445
445
  * The message displayed in the toast
446
446
  */
@@ -469,7 +469,7 @@ type ActionButtonProps = {
469
469
  /**
470
470
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
471
471
  */
472
- icon: JSX$1.Element;
472
+ icon: JSX.Element;
473
473
  /**
474
474
  * @override
475
475
  * Disables the button
@@ -497,7 +497,7 @@ declare const ActionButton: react.ForwardRefExoticComponent<(Omit<{
497
497
  /**
498
498
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
499
499
  */
500
- icon: JSX$1.Element;
500
+ icon: JSX.Element;
501
501
  /**
502
502
  * @override
503
503
  * Disables the button
@@ -521,7 +521,7 @@ declare const ActionButton: react.ForwardRefExoticComponent<(Omit<{
521
521
  /**
522
522
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
523
523
  */
524
- icon: JSX$1.Element;
524
+ icon: JSX.Element;
525
525
  /**
526
526
  * @override
527
527
  * Disables the button
@@ -572,7 +572,7 @@ type AvatarProps = ComponentPropsWithoutRef<'div'> & {
572
572
  * An avatar uses a photo or initials to represent an identity.
573
573
  */
574
574
  declare const Avatar: {
575
- ({ imageUrl, heightAndWidth, name, size, onImageLoad, ...props }: AvatarProps): JSX$1.Element;
575
+ ({ imageUrl, heightAndWidth, name, size, onImageLoad, ...props }: AvatarProps): JSX.Element;
576
576
  displayName: string;
577
577
  };
578
578
 
@@ -585,7 +585,7 @@ type BadgeProps = ComponentPropsWithoutRef<'div'> & {
585
585
  /**
586
586
  * Optional `Icon` component to use. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
587
587
  */
588
- icon?: JSX$1.Element;
588
+ icon?: JSX.Element;
589
589
  /**
590
590
  * The text to display in the `Badge`
591
591
  */
@@ -606,7 +606,7 @@ declare const Badge: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProp
606
606
  /**
607
607
  * Optional `Icon` component to use. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
608
608
  */
609
- icon?: JSX$1.Element;
609
+ icon?: JSX.Element;
610
610
  /**
611
611
  * The text to display in the `Badge`
612
612
  */
@@ -629,7 +629,7 @@ type BannerProps = ComponentPropsWithoutRef<'div'> & {
629
629
  /**
630
630
  * Optional `Icon` component to use. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
631
631
  */
632
- icon?: JSX$1.Element;
632
+ icon?: JSX.Element;
633
633
  /**
634
634
  * Controls the visual prominence of the banner
635
635
  */
@@ -638,7 +638,7 @@ type BannerProps = ComponentPropsWithoutRef<'div'> & {
638
638
  /**
639
639
  * Optional image element to display in the banner
640
640
  */
641
- image?: JSX$1.Element | undefined;
641
+ image?: JSX.Element | undefined;
642
642
  /**
643
643
  * Controls the layout direction. If set to 'auto', the banner will switch between horizontal and vertical based on the container width.
644
644
  */
@@ -660,7 +660,7 @@ type BannerProps = ComponentPropsWithoutRef<'div'> & {
660
660
  * The `Banner` component is for displaying contextual information to the user such as alerts or feature announcements.
661
661
  */
662
662
  declare const Banner: {
663
- ({ bodyText, colorScheme, headingText, icon, image, onClose, orientation, primaryAction, prominence, secondaryAction, ...props }: BannerProps): JSX$1.Element;
663
+ ({ bodyText, colorScheme, headingText, icon, image, onClose, orientation, primaryAction, prominence, secondaryAction, ...props }: BannerProps): JSX.Element;
664
664
  displayName: string;
665
665
  };
666
666
 
@@ -887,7 +887,7 @@ type BreadcrumbsProps = ComponentPropsWithoutRef<'div'> & {
887
887
  * [Button](?path=/docs/components-button--docs). See it's documentation for additional functionality.
888
888
  */
889
889
  declare const Breadcrumbs: {
890
- ({ children, ...props }: BreadcrumbsProps): JSX$1.Element;
890
+ ({ children, ...props }: BreadcrumbsProps): JSX.Element;
891
891
  displayName: string;
892
892
  };
893
893
 
@@ -936,7 +936,7 @@ type ButtonGroupProps = ComponentPropsWithoutRef<'div'> & {
936
936
  * with a standardized gap between them.
937
937
  */
938
938
  declare const ButtonGroup: {
939
- ({ children, align, fullWidth, collapseOnSmallScreens, buttonSize, ...props }: ButtonGroupProps): JSX$1.Element | null;
939
+ ({ children, align, fullWidth, collapseOnSmallScreens, buttonSize, ...props }: ButtonGroupProps): JSX.Element | null;
940
940
  displayName: string;
941
941
  };
942
942
 
@@ -1041,7 +1041,7 @@ type CardProps = BoxProps & ComponentPropsWithoutRef<'div'> & {
1041
1041
  * Cards can be used to visually distinguish content sections. Extends the [Box component.](https://wistia.github.io/vhs/storybook-ui/?path=/docs/components-box--docs)
1042
1042
  */
1043
1043
  declare const Card: {
1044
- ({ children, border, borderRadius, colorScheme, direction, gap, height, paddingSize, prominence, width, ...props }: CardProps): JSX$1.Element;
1044
+ ({ children, border, borderRadius, colorScheme, direction, gap, height, paddingSize, prominence, width, ...props }: CardProps): JSX.Element;
1045
1045
  displayName: string;
1046
1046
  };
1047
1047
 
@@ -1138,7 +1138,7 @@ type ClickRegionProps = {
1138
1138
  /**
1139
1139
  * The content that should be clickable.
1140
1140
  */
1141
- children: JSX$1.Element;
1141
+ children: JSX.Element;
1142
1142
  /**
1143
1143
  * The ref to the button or link that should be clicked when the ClickRegion is clicked.
1144
1144
  */
@@ -1155,7 +1155,7 @@ type ClickRegionProps = {
1155
1155
  * In either case, a link or button must be present, but can be hidden by using `ScreenReaderOnly`.
1156
1156
  */
1157
1157
  declare const ClickRegion: {
1158
- ({ children, targetRef }: ClickRegionProps): JSX$1.Element;
1158
+ ({ children, targetRef }: ClickRegionProps): JSX.Element;
1159
1159
  displayName: string;
1160
1160
  };
1161
1161
 
@@ -1177,7 +1177,7 @@ type CollapsibleProps = {
1177
1177
  * Toggle the visibility of content with a trigger.
1178
1178
  */
1179
1179
  declare const Collapsible: {
1180
- ({ children, isOpen, onOpenChange, }: CollapsibleProps): JSX$1.Element;
1180
+ ({ children, isOpen, onOpenChange, }: CollapsibleProps): JSX.Element;
1181
1181
  displayName: string;
1182
1182
  };
1183
1183
 
@@ -1430,7 +1430,7 @@ type IconProps = ComponentPropsWithoutRef<'svg'> & {
1430
1430
  * If you need an interactive element, use IconButton.
1431
1431
  */
1432
1432
  declare const Icon: {
1433
- ({ useInlineStyles, invertColor, colorScheme, size, style, type, ...props }: IconProps): JSX$1.Element;
1433
+ ({ useInlineStyles, invertColor, colorScheme, size, style, type, ...props }: IconProps): JSX.Element;
1434
1434
  displayName: string;
1435
1435
  };
1436
1436
 
@@ -1458,7 +1458,7 @@ type ColorGridProps = PropsWithChildren & {
1458
1458
  label?: string;
1459
1459
  };
1460
1460
  declare const ColorGrid: {
1461
- ({ children, label }: ColorGridProps): JSX$1.Element;
1461
+ ({ children, label }: ColorGridProps): JSX.Element;
1462
1462
  displayName: string;
1463
1463
  };
1464
1464
 
@@ -1475,13 +1475,13 @@ type ColorPickerOption = {
1475
1475
 
1476
1476
  type ColorGridOptionProps = ColorPickerOption;
1477
1477
  declare const ColorGridOption: {
1478
- ({ value: rawValue, name }: ColorGridOptionProps): JSX$1.Element;
1478
+ ({ value: rawValue, name }: ColorGridOptionProps): JSX.Element;
1479
1479
  displayName: string;
1480
1480
  };
1481
1481
 
1482
1482
  type ColorListProps = PropsWithChildren;
1483
1483
  declare const ColorList: {
1484
- ({ children }: ColorListProps): JSX$1.Element;
1484
+ ({ children }: ColorListProps): JSX.Element;
1485
1485
  displayName: string;
1486
1486
  };
1487
1487
 
@@ -1489,13 +1489,13 @@ type ColorListGroupProps = PropsWithChildren<{
1489
1489
  label: string;
1490
1490
  }>;
1491
1491
  declare const ColorListGroup: {
1492
- ({ label, children }: ColorListGroupProps): JSX$1.Element;
1492
+ ({ label, children }: ColorListGroupProps): JSX.Element;
1493
1493
  displayName: string;
1494
1494
  };
1495
1495
 
1496
1496
  type ColorListOptionProps = ColorPickerOption;
1497
1497
  declare const ColorListOption: {
1498
- ({ value: rawValue, name }: ColorListOptionProps): JSX$1.Element;
1498
+ ({ value: rawValue, name }: ColorListOptionProps): JSX.Element;
1499
1499
  displayName: string;
1500
1500
  };
1501
1501
 
@@ -1528,19 +1528,19 @@ type ColorPickerProps = PropsWithChildren<{
1528
1528
  * subcomponents.
1529
1529
  */
1530
1530
  declare const ColorPicker: {
1531
- ({ children, colorForComparison, minimumContrastRatio, opacityForContrastCalculation, onValueChange, value, }: ColorPickerProps): JSX$1.Element;
1531
+ ({ children, colorForComparison, minimumContrastRatio, opacityForContrastCalculation, onValueChange, value, }: ColorPickerProps): JSX.Element;
1532
1532
  displayName: string;
1533
1533
  };
1534
1534
 
1535
1535
  type ColorPickerPopoverContentProps = PropsWithChildren;
1536
1536
  declare const ColorPickerPopoverContent: {
1537
- ({ children, }: ColorPickerPopoverContentProps): JSX$1.Element;
1537
+ ({ children, }: ColorPickerPopoverContentProps): JSX.Element;
1538
1538
  displayName: string;
1539
1539
  };
1540
1540
 
1541
1541
  type ColorPickerSectionProps = PropsWithChildren;
1542
1542
  declare const ColorPickerSection: {
1543
- ({ children }: ColorPickerSectionProps): JSX$1.Element;
1543
+ ({ children }: ColorPickerSectionProps): JSX.Element;
1544
1544
  displayName: string;
1545
1545
  };
1546
1546
 
@@ -1550,7 +1550,7 @@ declare const ColorPickerTrigger: react.ForwardRefExoticComponent<{
1550
1550
  } & react.RefAttributes<HTMLButtonElement>>;
1551
1551
 
1552
1552
  declare const ContrastControls: {
1553
- (): JSX$1.Element;
1553
+ (): JSX.Element;
1554
1554
  displayName: string;
1555
1555
  };
1556
1556
 
@@ -1561,12 +1561,12 @@ type HexColorInputProps = {
1561
1561
  autoFocus?: boolean;
1562
1562
  };
1563
1563
  declare const HexColorInput: {
1564
- ({ autoFocus }: HexColorInputProps): JSX$1.Element;
1564
+ ({ autoFocus }: HexColorInputProps): JSX.Element;
1565
1565
  displayName: string;
1566
1566
  };
1567
1567
 
1568
1568
  declare const HueSlider: {
1569
- (): JSX$1.Element;
1569
+ (): JSX.Element;
1570
1570
  displayName: string;
1571
1571
  };
1572
1572
 
@@ -1574,12 +1574,12 @@ type SaturationAndValuePickerProps = {
1574
1574
  dataTestId?: string;
1575
1575
  };
1576
1576
  declare const SaturationAndValuePicker: {
1577
- ({ dataTestId, }: SaturationAndValuePickerProps): JSX$1.Element;
1577
+ ({ dataTestId, }: SaturationAndValuePickerProps): JSX.Element;
1578
1578
  displayName: string;
1579
1579
  };
1580
1580
 
1581
1581
  declare const ValueNameOrHexCode: {
1582
- (): JSX$1.Element;
1582
+ (): JSX.Element;
1583
1583
  displayName: string;
1584
1584
  };
1585
1585
 
@@ -1592,7 +1592,7 @@ type ColorSwatchProps = PropsWithChildren<{
1592
1592
 
1593
1593
  type ValueSwatchProps = Pick<ColorSwatchProps, 'diameterPx'>;
1594
1594
  declare const ValueSwatch: {
1595
- ({ diameterPx, }: ValueSwatchProps): JSX$1.Element;
1595
+ ({ diameterPx, }: ValueSwatchProps): JSX.Element;
1596
1596
  displayName: string;
1597
1597
  };
1598
1598
 
@@ -1731,7 +1731,7 @@ type DataCardsProps = ComponentPropsWithoutRef<'dl'> & {
1731
1731
  * Displays a series of cards tailor made for displaying analytics data
1732
1732
  */
1733
1733
  declare const DataCards: {
1734
- ({ children, cardMaxWidth, colorScheme, ...props }: DataCardsProps): JSX$1.Element;
1734
+ ({ children, cardMaxWidth, colorScheme, ...props }: DataCardsProps): JSX.Element;
1735
1735
  displayName: string;
1736
1736
  };
1737
1737
 
@@ -1747,9 +1747,9 @@ type DataCardTrendProps = {
1747
1747
  /**
1748
1748
  * Content to display next to the trend arrow
1749
1749
  */
1750
- children: JSX$1.Element | string;
1750
+ children: JSX.Element | string;
1751
1751
  };
1752
- declare const DataCardTrend: ({ direction, outlook, children, ...props }: DataCardTrendProps) => JSX$1.Element;
1752
+ declare const DataCardTrend: ({ direction, outlook, children, ...props }: DataCardTrendProps) => JSX.Element;
1753
1753
 
1754
1754
  declare const DataCardHoverArrow: {
1755
1755
  (): react_jsx_runtime.JSX.Element;
@@ -1778,7 +1778,7 @@ type DataListProps = ComponentPropsWithoutRef<'dl'> & {
1778
1778
  * The DataList component is used to display a list of items with labels and values.
1779
1779
  */
1780
1780
  declare const DataList: {
1781
- ({ children, valueAlignment, labelMaxWith, labelProminence, ...props }: DataListProps): JSX$1.Element;
1781
+ ({ children, valueAlignment, labelMaxWith, labelProminence, ...props }: DataListProps): JSX.Element;
1782
1782
  displayName: string;
1783
1783
  };
1784
1784
 
@@ -1872,7 +1872,7 @@ declare const Text: (<C extends ElementType = "p">(props: PolymorphicComponentPr
1872
1872
  * The label of the `DataListItem`. Extends the [Text]() component.
1873
1873
  */
1874
1874
  declare const DataListItemLabel: {
1875
- (props: TextProps): JSX$1.Element;
1875
+ (props: TextProps): JSX.Element;
1876
1876
  displayName: string;
1877
1877
  };
1878
1878
 
@@ -1880,7 +1880,7 @@ declare const DataListItemLabel: {
1880
1880
  * The value of the `DataListItem`. Extends the [Text]() component.
1881
1881
  */
1882
1882
  declare const DataListItemValue: {
1883
- (props: TextProps): JSX$1.Element;
1883
+ (props: TextProps): JSX.Element;
1884
1884
  displayName: string;
1885
1885
  };
1886
1886
 
@@ -1894,7 +1894,7 @@ type DividerProps = ComponentPropsWithoutRef<'div'> & {
1894
1894
  * A line used to visually separate content; note that dividers have no margin/spacing on their own.
1895
1895
  */
1896
1896
  declare const Divider: {
1897
- ({ orientation, ...props }: DividerProps): JSX$1.Element;
1897
+ ({ orientation, ...props }: DividerProps): JSX.Element;
1898
1898
  displayName: string;
1899
1899
  };
1900
1900
 
@@ -2008,7 +2008,7 @@ type EditableHeadingProps = {
2008
2008
  * an accessible button that enables editing mode. The component handles empty values, keyboard
2009
2009
  * navigation (Enter to save, Escape to cancel), and provides callbacks for value and state changes.
2010
2010
  */
2011
- declare const EditableHeading: ({ children, onValueChange, onEditingChange, tooltipText, ariaLabel, variant, __forceEditing, editingDisabled, }: EditableHeadingProps) => JSX$1.Element;
2011
+ declare const EditableHeading: ({ children, onValueChange, onEditingChange, tooltipText, ariaLabel, variant, __forceEditing, editingDisabled, }: EditableHeadingProps) => JSX.Element;
2012
2012
 
2013
2013
  declare const typographicVariantStyleMap: {
2014
2014
  hero: styled_components.RuleSet<object>;
@@ -2122,7 +2122,7 @@ type EditableTextContextValues = {
2122
2122
  finalFocusEl: (() => HTMLElement | null) | undefined;
2123
2123
  };
2124
2124
  declare const EditableTextContext: react.Context<EditableTextContextValues | null>;
2125
- declare const EditableTextRoot: ({ children, defaultValue, value: controlledValue, onValueChange, onValueCommit, onValueRevert, onEditingChange, typographicVariant, submitMode, readOnly, id, label, placeholder, minLines, maxLines, finalFocusEl, ...props }: EditableTextRootProps) => JSX$1.Element;
2125
+ declare const EditableTextRoot: ({ children, defaultValue, value: controlledValue, onValueChange, onValueCommit, onValueRevert, onEditingChange, typographicVariant, submitMode, readOnly, id, label, placeholder, minLines, maxLines, finalFocusEl, ...props }: EditableTextRootProps) => JSX.Element;
2126
2126
 
2127
2127
  type EditableTextProps = Omit<EditableTextRootProps, 'children'> & {
2128
2128
  /**
@@ -2134,7 +2134,7 @@ type EditableTextProps = Omit<EditableTextRootProps, 'children'> & {
2134
2134
  * Used for inline editing of text.
2135
2135
  */
2136
2136
  declare const EditableText: {
2137
- ({ hideLabel, ...props }: EditableTextProps): JSX$1.Element;
2137
+ ({ hideLabel, ...props }: EditableTextProps): JSX.Element;
2138
2138
  displayName: string;
2139
2139
  };
2140
2140
 
@@ -2174,7 +2174,7 @@ type LabelProps = ComponentPropsWithoutRef<'label'> & {
2174
2174
  * Labels are used to give a title to a form component (eg. Input, Select, etc.)
2175
2175
  */
2176
2176
  declare const Label: {
2177
- ({ children, disabled, htmlFor, required, screenReaderOnly, ...props }: LabelProps): JSX$1.Element;
2177
+ ({ children, disabled, htmlFor, required, screenReaderOnly, ...props }: LabelProps): JSX.Element;
2178
2178
  displayName: string;
2179
2179
  };
2180
2180
 
@@ -2183,7 +2183,7 @@ declare const EditableTextLabel: ({ ...props }: EditableTextLabelProps) => react
2183
2183
 
2184
2184
  declare const EditableTextSubmitButton: ({ children, }: {
2185
2185
  children: ReactElement;
2186
- }) => JSX$1.Element | null;
2186
+ }) => JSX.Element | null;
2187
2187
 
2188
2188
  type EditableTextCancelButtonProps = {
2189
2189
  /**
@@ -2199,7 +2199,7 @@ type EditableTextTriggerProps = {
2199
2199
  */
2200
2200
  children: ReactElement;
2201
2201
  };
2202
- declare const EditableTextTrigger: ({ children, ...props }: EditableTextTriggerProps) => JSX$1.Element | null;
2202
+ declare const EditableTextTrigger: ({ children, ...props }: EditableTextTriggerProps) => JSX.Element | null;
2203
2203
 
2204
2204
  type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, 'type'> & {
2205
2205
  /**
@@ -2214,6 +2214,11 @@ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElemen
2214
2214
  * Set the disabled state of the input
2215
2215
  */
2216
2216
  disabled?: boolean;
2217
+ /**
2218
+ * If true, the input will fill the height of its parent container
2219
+ * _note: only applicable when `type="multiline"`_
2220
+ */
2221
+ fullHeight?: boolean;
2217
2222
  /**
2218
2223
  * If true, the input will fill the width of its parent
2219
2224
  */
@@ -2251,6 +2256,11 @@ declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HT
2251
2256
  * Set the disabled state of the input
2252
2257
  */
2253
2258
  disabled?: boolean;
2259
+ /**
2260
+ * If true, the input will fill the height of its parent container
2261
+ * _note: only applicable when `type="multiline"`_
2262
+ */
2263
+ fullHeight?: boolean;
2254
2264
  /**
2255
2265
  * If true, the input will fill the width of its parent
2256
2266
  */
@@ -2274,7 +2284,7 @@ declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HT
2274
2284
  } & react.RefAttributes<HTMLTextAreaElement | HTMLInputElement>>;
2275
2285
 
2276
2286
  type EditableTextInputProps = Pick<InputProps, 'autoSelect'>;
2277
- declare const EditableTextInput: (props: EditableTextInputProps) => JSX$1.Element | null;
2287
+ declare const EditableTextInput: (props: EditableTextInputProps) => JSX.Element | null;
2278
2288
 
2279
2289
  type EllipsisProps = ComponentPropsWithoutRef<'span'> & {
2280
2290
  /**
@@ -2290,7 +2300,7 @@ type EllipsisProps = ComponentPropsWithoutRef<'span'> & {
2290
2300
  * Truncate text with an ellispsis visble at the end
2291
2301
  */
2292
2302
  declare const Ellipsis: {
2293
- ({ children, lines, ...props }: EllipsisProps): JSX$1.Element;
2303
+ ({ children, lines, ...props }: EllipsisProps): JSX.Element;
2294
2304
  displayName: string;
2295
2305
  };
2296
2306
 
@@ -2357,7 +2367,7 @@ type FormProps<T> = Omit<ComponentPropsWithoutRef<'form'>, 'action' | 'aria-labe
2357
2367
  */
2358
2368
  declare const Form: <T>(props: FormProps<T> & {
2359
2369
  ref?: Ref<HTMLFormElement>;
2360
- }) => JSX$1.Element;
2370
+ }) => JSX.Element;
2361
2371
 
2362
2372
  type FormErrorSummaryProps = {
2363
2373
  description: string;
@@ -2368,7 +2378,7 @@ type FormFieldProps = ComponentPropsWithoutRef<'div'> & {
2368
2378
  /**
2369
2379
  * This should be a single child that is a valid form field (or can pretend to be one).
2370
2380
  */
2371
- children: JSX$1.Element;
2381
+ children: JSX.Element;
2372
2382
  /**
2373
2383
  * Additional descriptive text to display below the form field
2374
2384
  */
@@ -2406,7 +2416,7 @@ type FormFieldProps = ComponentPropsWithoutRef<'div'> & {
2406
2416
  * FormField is a compound component that combines a label, form control, and optional description and error message.
2407
2417
  */
2408
2418
  declare const FormField: {
2409
- ({ children, description, error, id, label, labelPosition, name, required, value, ...props }: FormFieldProps): JSX$1.Element;
2419
+ ({ children, description, error, id, label, labelPosition, name, required, value, ...props }: FormFieldProps): JSX.Element;
2410
2420
  displayName: string;
2411
2421
  };
2412
2422
 
@@ -2425,7 +2435,7 @@ type FormGroupProps = Omit<ComponentPropsWithoutRef<'fieldset'>, 'onChange'> & {
2425
2435
  * For grouping like form elements together.
2426
2436
  */
2427
2437
  declare const FormGroup: {
2428
- ({ children, label, description, ...props }: FormGroupProps): JSX$1.Element;
2438
+ ({ children, label, description, ...props }: FormGroupProps): JSX.Element;
2429
2439
  displayName: string;
2430
2440
  };
2431
2441
 
@@ -2438,7 +2448,7 @@ type RadioGroupProps = FormGroupProps & {
2438
2448
  * For grouping like form elements together. Can serve as a checkbox
2439
2449
  */
2440
2450
  declare const RadioGroup: {
2441
- ({ children, name, onChange, value, ...props }: RadioGroupProps): JSX$1.Element;
2451
+ ({ children, name, onChange, value, ...props }: RadioGroupProps): JSX.Element;
2442
2452
  displayName: string;
2443
2453
  };
2444
2454
 
@@ -2451,7 +2461,7 @@ type CheckboxGroupProps = FormGroupProps & {
2451
2461
  * For grouping like form elements together. Can serve as a checkbox
2452
2462
  */
2453
2463
  declare const CheckboxGroup: {
2454
- ({ children, name, onChange, value, ...props }: CheckboxGroupProps): JSX$1.Element;
2464
+ ({ children, name, onChange, value, ...props }: CheckboxGroupProps): JSX.Element;
2455
2465
  displayName: string;
2456
2466
  };
2457
2467
 
@@ -2494,7 +2504,7 @@ type IconButtonProps = {
2494
2504
  /**
2495
2505
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
2496
2506
  */
2497
- children: JSX$1.Element;
2507
+ children: JSX.Element;
2498
2508
  } & (Omit<ButtonAsButtonProps, 'fullWidth' | 'leftIcon' | 'rightIcon'> | Omit<ButtonAsLinkProps, 'fullWidth' | 'leftIcon' | 'rightIcon'>);
2499
2509
  /**
2500
2510
  * IconButton behaves like a [Button](?path=/docs/components-button--docs),
@@ -2508,7 +2518,7 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
2508
2518
  /**
2509
2519
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
2510
2520
  */
2511
- children: JSX$1.Element;
2521
+ children: JSX.Element;
2512
2522
  } & Omit<ButtonAsButtonProps, "leftIcon" | "rightIcon" | "fullWidth">, "ref"> | Omit<{
2513
2523
  /**
2514
2524
  * Accessible text for screen readers.
@@ -2517,7 +2527,7 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
2517
2527
  /**
2518
2528
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
2519
2529
  */
2520
- children: JSX$1.Element;
2530
+ children: JSX.Element;
2521
2531
  } & Omit<ButtonAsLinkProps, "leftIcon" | "rightIcon" | "fullWidth">, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
2522
2532
 
2523
2533
  type ImageProps = ComponentPropsWithoutRef<'img'> & {
@@ -2564,7 +2574,7 @@ type ImageProps = ComponentPropsWithoutRef<'img'> & {
2564
2574
  onError?: (event?: SyntheticEvent<HTMLImageElement>) => void;
2565
2575
  };
2566
2576
  declare const Image: {
2567
- ({ src, alt, borderRadius, fill: fillContainer, fit: objFit, loading, position: objPosition, onLoad, onError, ...props }: ImageProps): JSX$1.Element;
2577
+ ({ src, alt, borderRadius, fill: fillContainer, fit: objFit, loading, position: objPosition, onLoad, onError, ...props }: ImageProps): JSX.Element;
2568
2578
  displayName: string;
2569
2579
  };
2570
2580
 
@@ -2645,7 +2655,7 @@ type KeyboardShortcutProps = ComponentPropsWithoutRef<'div'> & {
2645
2655
  label?: string;
2646
2656
  };
2647
2657
  declare const KeyboardShortcut: {
2648
- ({ label, keyboardKeys, fullWidth, ...otherProps }: KeyboardShortcutProps): JSX$1.Element;
2658
+ ({ label, keyboardKeys, fullWidth, ...otherProps }: KeyboardShortcutProps): JSX.Element;
2649
2659
  displayName: string;
2650
2660
  };
2651
2661
 
@@ -2667,7 +2677,7 @@ type ListProps = ComponentPropsWithoutRef<'ul'> & {
2667
2677
  variant?: VariantType;
2668
2678
  };
2669
2679
  declare const List: {
2670
- ({ children, items, variant, ...otherProps }: ListProps): JSX$1.Element | null;
2680
+ ({ children, items, variant, ...otherProps }: ListProps): JSX.Element | null;
2671
2681
  displayName: string;
2672
2682
  };
2673
2683
 
@@ -2678,7 +2688,7 @@ type ListItemProps = {
2678
2688
  children?: ReactNode;
2679
2689
  };
2680
2690
  declare const ListItem: {
2681
- ({ children }: ListItemProps): JSX$1.Element | null;
2691
+ ({ children }: ListItemProps): JSX.Element | null;
2682
2692
  displayName: string;
2683
2693
  };
2684
2694
 
@@ -2691,7 +2701,7 @@ type MarkProps = ComponentPropsWithoutRef<'div'> & {
2691
2701
  * Defines text that should be marked or highlighted.
2692
2702
  */
2693
2703
  declare const Mark: {
2694
- ({ children, colorScheme, ...props }: MarkProps): JSX$1.Element;
2704
+ ({ children, colorScheme, ...props }: MarkProps): JSX.Element;
2695
2705
  displayName: string;
2696
2706
  };
2697
2707
 
@@ -2786,7 +2796,7 @@ type SubMenuProps = {
2786
2796
  /**
2787
2797
  * Icon to display on the left side of the SubMenu. Must be an instance of [Icon](?path=/docs/components-icon--docs)
2788
2798
  */
2789
- icon?: JSX$1.Element | undefined;
2799
+ icon?: JSX.Element | undefined;
2790
2800
  };
2791
2801
  declare const SubMenu: {
2792
2802
  ({ label, description, children, onOpenChange, ...props }: SubMenuProps): react_jsx_runtime.JSX.Element;
@@ -2872,7 +2882,7 @@ declare const MenuItem: react.ForwardRefExoticComponent<(Omit<DropdownMenuItemPr
2872
2882
  type?: LinkTypes;
2873
2883
  } & {
2874
2884
  appearance?: "dangerous" | "default" | "gated";
2875
- badge?: JSX.Element;
2885
+ badge?: react.JSX.Element;
2876
2886
  children?: react.ReactNode;
2877
2887
  command?: react.ReactNode;
2878
2888
  icon?: ButtonProps["leftIcon"];
@@ -2911,7 +2921,7 @@ declare const MenuItem: react.ForwardRefExoticComponent<(Omit<DropdownMenuItemPr
2911
2921
  type?: LinkTypes;
2912
2922
  } & {
2913
2923
  appearance?: "dangerous" | "default" | "gated";
2914
- badge?: JSX.Element;
2924
+ badge?: react.JSX.Element;
2915
2925
  children?: react.ReactNode;
2916
2926
  command?: react.ReactNode;
2917
2927
  icon?: ButtonProps["leftIcon"];
@@ -2935,7 +2945,7 @@ declare const MenuItem: react.ForwardRefExoticComponent<(Omit<DropdownMenuItemPr
2935
2945
  children: react.ReactNode;
2936
2946
  } & {
2937
2947
  appearance?: "dangerous" | "default" | "gated";
2938
- badge?: JSX.Element;
2948
+ badge?: react.JSX.Element;
2939
2949
  children?: react.ReactNode;
2940
2950
  command?: react.ReactNode;
2941
2951
  icon?: ButtonProps["leftIcon"];
@@ -3175,7 +3185,7 @@ declare const ModalCallouts: {
3175
3185
  };
3176
3186
  type ModalCalloutProps = {
3177
3187
  title: string;
3178
- image: JSX$1.Element;
3188
+ image: JSX.Element;
3179
3189
  /**
3180
3190
  * The content to be displayed in the modal callout.
3181
3191
  */
@@ -3223,7 +3233,7 @@ type PopoverProps = ContentProps & PopoverControlProps & {
3223
3233
  /**
3224
3234
  * An interactive element. Most commonly a [Button](?path=/docs/components-button--docs) or [IconButton]([Button](?path=/docs/components-iconbutton--docs)).
3225
3235
  */
3226
- trigger: JSX$1.Element;
3236
+ trigger: JSX.Element;
3227
3237
  /**
3228
3238
  * If true, the popover will use the unstyled Content component instead of StyledContent
3229
3239
  */
@@ -3242,7 +3252,7 @@ type PopoverProps = ContentProps & PopoverControlProps & {
3242
3252
  * Displays rich content in a portal, triggered by a button.
3243
3253
  */
3244
3254
  declare const Popover: {
3245
- ({ children, trigger, isOpen, hideCloseButton, maxWidth, maxHeight, onOpenChange, unstyled, withArrow, isAnimated, colorScheme, ...props }: PopoverProps): JSX$1.Element;
3255
+ ({ children, trigger, isOpen, hideCloseButton, maxWidth, maxHeight, onOpenChange, unstyled, withArrow, isAnimated, colorScheme, ...props }: PopoverProps): JSX.Element;
3246
3256
  displayName: string;
3247
3257
  };
3248
3258
 
@@ -3272,7 +3282,7 @@ type ProgressBarProps = ComponentPropsWithoutRef<'div'> & {
3272
3282
  * A progress component that visually represents the completion status of a task
3273
3283
  */
3274
3284
  declare const ProgressBar: {
3275
- ({ progress, max, children, labelLeft, labelRight, colorScheme, ...props }: ProgressBarProps): JSX$1.Element;
3285
+ ({ progress, max, children, labelLeft, labelRight, colorScheme, ...props }: ProgressBarProps): JSX.Element;
3276
3286
  displayName: string;
3277
3287
  };
3278
3288
 
@@ -3384,7 +3394,7 @@ type RadioCardDefaultLayoutProps = {
3384
3394
  /**
3385
3395
  * The icon to display
3386
3396
  */
3387
- icon?: JSX$1.Element | undefined;
3397
+ icon?: JSX.Element | undefined;
3388
3398
  /**
3389
3399
  * The main label text for the card.
3390
3400
  *
@@ -3607,7 +3617,7 @@ type IconWithLabel$1 = {
3607
3617
  /**
3608
3618
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
3609
3619
  */
3610
- icon?: JSX$1.Element;
3620
+ icon?: JSX.Element;
3611
3621
  /**
3612
3622
  * The label of the item
3613
3623
  */
@@ -3618,7 +3628,7 @@ type IconWithAriaLabel$1 = {
3618
3628
  /**
3619
3629
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
3620
3630
  */
3621
- icon?: JSX$1.Element;
3631
+ icon?: JSX.Element;
3622
3632
  /**
3623
3633
  * Use this when displaying an icon without a label
3624
3634
  */
@@ -3775,7 +3785,7 @@ type SliderProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> & {
3775
3785
  value?: number[];
3776
3786
  };
3777
3787
  declare const Slider: {
3778
- ({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, disabled, initialValue, max, min, onChange, step, value, "data-testid": dataTestId, ...otherProps }: SliderProps): JSX$1.Element;
3788
+ ({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, disabled, initialValue, max, min, onChange, step, value, "data-testid": dataTestId, ...otherProps }: SliderProps): JSX.Element;
3779
3789
  displayName: string;
3780
3790
  };
3781
3791
 
@@ -3915,23 +3925,23 @@ declare const Switch: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHT
3915
3925
  type TableBodyProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
3916
3926
  children?: ReactNode;
3917
3927
  };
3918
- declare const TableBody: ({ children, ...props }: TableBodyProps) => JSX$1.Element;
3928
+ declare const TableBody: ({ children, ...props }: TableBodyProps) => JSX.Element;
3919
3929
 
3920
3930
  type CellAttrs = Omit<react__default.TdHTMLAttributes<HTMLTableCellElement>, 'ref'> & Omit<react__default.ThHTMLAttributes<HTMLTableCellElement>, 'ref'>;
3921
3931
  type TableCellProps = CellAttrs & {
3922
3932
  children?: ReactNode;
3923
3933
  };
3924
- declare const TableCell: ({ children, ...props }: TableCellProps) => JSX$1.Element;
3934
+ declare const TableCell: ({ children, ...props }: TableCellProps) => JSX.Element;
3925
3935
 
3926
3936
  type TableFootProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
3927
3937
  children?: ReactNode;
3928
3938
  };
3929
- declare const TableFoot: ({ children, ...props }: TableFootProps) => JSX$1.Element;
3939
+ declare const TableFoot: ({ children, ...props }: TableFootProps) => JSX.Element;
3930
3940
 
3931
3941
  type TableHeadProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
3932
3942
  children?: ReactNode;
3933
3943
  };
3934
- declare const TableHead: ({ children, ...props }: TableHeadProps) => JSX$1.Element;
3944
+ declare const TableHead: ({ children, ...props }: TableHeadProps) => JSX.Element;
3935
3945
 
3936
3946
  type TableProps = ComponentPropsWithoutRef<'table'> & {
3937
3947
  /**
@@ -3956,22 +3966,22 @@ type TableProps = ComponentPropsWithoutRef<'table'> & {
3956
3966
  /**
3957
3967
  * Semantic table element for presenting data
3958
3968
  */
3959
- declare const Table: ({ children, divided, striped, visuallyHiddenHeader, ...props }: TableProps) => JSX$1.Element;
3969
+ declare const Table: ({ children, divided, striped, visuallyHiddenHeader, ...props }: TableProps) => JSX.Element;
3960
3970
 
3961
3971
  type TableRowProps = HTMLAttributes<HTMLTableRowElement> & {
3962
3972
  children?: ReactNode;
3963
3973
  };
3964
- declare const TableRow: ({ children, ...props }: TableRowProps) => JSX$1.Element;
3974
+ declare const TableRow: ({ children, ...props }: TableRowProps) => JSX.Element;
3965
3975
 
3966
3976
  type TabsProps = Pick<TabsProps$1, 'children' | 'defaultValue' | 'onValueChange' | 'value'>;
3967
3977
  declare const Tabs: {
3968
- ({ children, value: valueProp, onValueChange: onValueChangeProp, defaultValue, ...props }: TabsProps): JSX$1.Element;
3978
+ ({ children, value: valueProp, onValueChange: onValueChangeProp, defaultValue, ...props }: TabsProps): JSX.Element;
3969
3979
  displayName: string;
3970
3980
  };
3971
3981
 
3972
3982
  type TabsContentProps = Pick<TabsContentProps$1, 'children' | 'value'>;
3973
3983
  declare const TabsContent: {
3974
- ({ children, value }: TabsContentProps): JSX$1.Element;
3984
+ ({ children, value }: TabsContentProps): JSX.Element;
3975
3985
  displayName: string;
3976
3986
  };
3977
3987
 
@@ -3979,7 +3989,7 @@ type TabsListProps = Pick<TabsListProps$1, 'aria-label'> & PropsWithChildren<{
3979
3989
  fullWidth?: boolean;
3980
3990
  }>;
3981
3991
  declare const TabsList: {
3982
- ({ children, fullWidth, ...props }: TabsListProps): JSX$1.Element;
3992
+ ({ children, fullWidth, ...props }: TabsListProps): JSX.Element;
3983
3993
  displayName: string;
3984
3994
  };
3985
3995
 
@@ -3988,7 +3998,7 @@ type IconWithLabel = {
3988
3998
  /**
3989
3999
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
3990
4000
  */
3991
- icon?: JSX$1.Element;
4001
+ icon?: JSX.Element;
3992
4002
  /**
3993
4003
  * The label of the item
3994
4004
  */
@@ -3999,7 +4009,7 @@ type IconWithAriaLabel = {
3999
4009
  /**
4000
4010
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
4001
4011
  */
4002
- icon?: JSX$1.Element;
4012
+ icon?: JSX.Element;
4003
4013
  /**
4004
4014
  * Use this when displaying an icon without a label
4005
4015
  */
@@ -4029,7 +4039,7 @@ type TagProps = ComponentPropsWithoutRef<'div'> & {
4029
4039
  /**
4030
4040
  * Optional icon to display before the label
4031
4041
  */
4032
- icon?: JSX$1.Element | undefined;
4042
+ icon?: JSX.Element | undefined;
4033
4043
  /**
4034
4044
  * Text label for the `Tag`
4035
4045
  */
@@ -4058,7 +4068,7 @@ declare const Tag: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<
4058
4068
  /**
4059
4069
  * Optional icon to display before the label
4060
4070
  */
4061
- icon?: JSX$1.Element | undefined;
4071
+ icon?: JSX.Element | undefined;
4062
4072
  /**
4063
4073
  * Text label for the `Tag`
4064
4074
  */
@@ -4077,14 +4087,14 @@ type ThumbnailBadgeProps = {
4077
4087
  /**
4078
4088
  * Icon to display on the left side of the badge
4079
4089
  */
4080
- icon?: JSX$1.Element | undefined;
4090
+ icon?: JSX.Element | undefined;
4081
4091
  /**
4082
4092
  * Text content to display in the badge
4083
4093
  */
4084
4094
  label: string;
4085
4095
  };
4086
4096
  declare const ThumbnailBadge: {
4087
- ({ icon, label, ...props }: ThumbnailBadgeProps): JSX$1.Element;
4097
+ ({ icon, label, ...props }: ThumbnailBadgeProps): JSX.Element;
4088
4098
  displayName: string;
4089
4099
  };
4090
4100
 
@@ -4202,7 +4212,7 @@ type ThumbnailCollageProps = {
4202
4212
  * It supports up to 3 thumbnails arranged in different configurations based on the number of children provided.
4203
4213
  * If no thumbnails are provided, it displays a fallback thumbnail with a gradient background.
4204
4214
  */
4205
- declare const ThumbnailCollage: ({ children, gradientBackground, ...props }: ThumbnailCollageProps) => JSX$1.Element;
4215
+ declare const ThumbnailCollage: ({ children, gradientBackground, ...props }: ThumbnailCollageProps) => JSX.Element;
4206
4216
 
4207
4217
  type TooltipProps = {
4208
4218
  /**
@@ -4243,7 +4253,7 @@ type TooltipProps = {
4243
4253
  *
4244
4254
  */
4245
4255
  declare const Tooltip: {
4246
- ({ delay, direction, content, children, forceOpen, hideArrow, container, }: TooltipProps): JSX$1.Element;
4256
+ ({ delay, direction, content, children, forceOpen, hideArrow, container, }: TooltipProps): JSX.Element;
4247
4257
  displayName: string;
4248
4258
  };
4249
4259
 
@@ -4302,7 +4312,7 @@ type SplitButtonProps = {
4302
4312
  * The icon to use for the menu toggle, defaults to a down caret
4303
4313
  * @default <Icon type="caret-down" />
4304
4314
  */
4305
- menuIcon?: JSX$1.Element;
4315
+ menuIcon?: JSX.Element;
4306
4316
  /**
4307
4317
  * The menu items to render within the menu. If the secondary behavior of `SplitButton` should be a button, rather than a menu, omit `menuItems` and use `secondaryAction` instead.
4308
4318
  */
@@ -4318,7 +4328,7 @@ type SplitButtonProps = {
4318
4328
  /**
4319
4329
  * Secondary action should not be used when menuItems is set
4320
4330
  */
4321
- secondaryAction?: JSX$1.Element;
4331
+ secondaryAction?: JSX.Element;
4322
4332
  /**
4323
4333
  * The size of button to display. Can be used as a [responsive prop](/docs/ui-docs-responsive-props--docs)
4324
4334
  */
@@ -4332,7 +4342,7 @@ type SplitButtonProps = {
4332
4342
  * A SplitButton is an extension of [Button]() that adds a menu to the right hand side of the button.
4333
4343
  */
4334
4344
  declare const SplitButton: {
4335
- ({ children, menuLabel, menuIcon, menuItems, disabled, colorScheme, variant, secondaryAction, size, unstyled, menuProps, ...props }: SplitButtonProps): JSX$1.Element;
4345
+ ({ children, menuLabel, menuIcon, menuItems, disabled, colorScheme, variant, secondaryAction, size, unstyled, menuProps, ...props }: SplitButtonProps): JSX.Element;
4336
4346
  displayName: string;
4337
4347
  };
4338
4348