@opentrons/components 0.3.14-alpha.0 → 0.3.15-alpha.0

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.
Files changed (173) hide show
  1. package/README.md +1 -1
  2. package/lib/alerts/AlertItem.d.ts +1 -1
  3. package/lib/atoms/AnimationVideo/index.d.ts +2 -2
  4. package/lib/atoms/Checkbox/index.d.ts +3 -3
  5. package/lib/atoms/CheckboxBasic/index.d.ts +2 -2
  6. package/lib/atoms/CheckboxField/index.d.ts +1 -1
  7. package/lib/atoms/Chip/index.d.ts +2 -1
  8. package/lib/atoms/CodeBlock/index.d.ts +1 -1
  9. package/lib/atoms/Divider/index.d.ts +2 -2
  10. package/lib/atoms/FixedTrashText/index.d.ts +2 -1
  11. package/lib/atoms/InlineNotification/index.d.ts +3 -2
  12. package/lib/atoms/ListButton/ListButtonChildren/ListButtonAccordion.d.ts +1 -1
  13. package/lib/atoms/ListButton/ListButtonChildren/ListButtonAccordionContainer.d.ts +1 -1
  14. package/lib/atoms/ListButton/index.d.ts +1 -1
  15. package/lib/atoms/ListItem/ListItemChildren/ListItemCustomize.d.ts +2 -1
  16. package/lib/atoms/ListItem/ListItemChildren/ListItemDescriptor.d.ts +2 -1
  17. package/lib/atoms/ListItem/index.d.ts +1 -1
  18. package/lib/atoms/ListTable/index.d.ts +1 -1
  19. package/lib/atoms/MenuList/index.d.ts +1 -0
  20. package/lib/atoms/Slider/index.d.ts +2 -1
  21. package/lib/atoms/Snackbar/index.d.ts +2 -1
  22. package/lib/atoms/StepMeter/index.d.ts +2 -1
  23. package/lib/atoms/StorageBar/index.d.ts +2 -1
  24. package/lib/atoms/StyledText/PlaceholderStyledText.d.ts +1 -1
  25. package/lib/atoms/SubListTable/index.d.ts +1 -1
  26. package/lib/atoms/Tag/index.d.ts +2 -1
  27. package/lib/atoms/Toast/index.d.ts +2 -1
  28. package/lib/atoms/ToggleGroup/index.d.ts +2 -1
  29. package/lib/atoms/Tooltip/index.d.ts +1 -1
  30. package/lib/atoms/buttons/BasicButton.d.ts +2 -2
  31. package/lib/atoms/buttons/EmptySelectorButton.d.ts +2 -1
  32. package/lib/atoms/buttons/LargeButton.d.ts +1 -1
  33. package/lib/atoms/buttons/PrimaryButton/index.d.ts +2 -2
  34. package/lib/atoms/buttons/RadioButton.d.ts +1 -1
  35. package/lib/atoms/buttons/TertiaryButton.d.ts +2 -2
  36. package/lib/buttons/Button.d.ts +1 -1
  37. package/lib/buttons/DeprecatedPrimaryButton.d.ts +2 -1
  38. package/lib/buttons/FlatButton.d.ts +2 -1
  39. package/lib/buttons/IconButton.d.ts +2 -1
  40. package/lib/buttons/OutlineButton.d.ts +2 -1
  41. package/lib/controls/ControlInfo.d.ts +1 -1
  42. package/lib/controls/LabeledButton.d.ts +1 -1
  43. package/lib/controls/LabeledCheckbox.d.ts +1 -1
  44. package/lib/controls/LabeledControl.d.ts +1 -1
  45. package/lib/controls/LabeledRadioGroup.d.ts +1 -1
  46. package/lib/controls/StackedLabeledControl.d.ts +1 -1
  47. package/lib/controls/ToggleButton.d.ts +2 -2
  48. package/lib/forms/DeprecatedCheckboxField.d.ts +2 -2
  49. package/lib/forms/FormGroup.d.ts +1 -1
  50. package/lib/forms/LegacyInputField.d.ts +1 -1
  51. package/lib/forms/RadioGroup.d.ts +1 -1
  52. package/lib/forms/Select.d.ts +2 -1
  53. package/lib/forms/SelectField.d.ts +1 -1
  54. package/lib/forms/ToggleField.d.ts +2 -2
  55. package/lib/hardware-sim/BaseDeck/BaseDeck.d.ts +1 -1
  56. package/lib/hardware-sim/BaseDeck/MiddleSlot.d.ts +2 -2
  57. package/lib/hardware-sim/BaseDeck/SlotBase.d.ts +2 -2
  58. package/lib/hardware-sim/BaseDeck/SlotClip.d.ts +2 -2
  59. package/lib/hardware-sim/BaseDeck/StackedBadge.d.ts +2 -1
  60. package/lib/hardware-sim/BaseDeck/WasteChuteFixture.d.ts +2 -2
  61. package/lib/hardware-sim/Deck/OT2Layers.d.ts +11 -10
  62. package/lib/hardware-sim/Deck/RobotCoordsForeignDiv.d.ts +1 -1
  63. package/lib/hardware-sim/Deck/RobotCoordsForeignObject.d.ts +1 -1
  64. package/lib/hardware-sim/Deck/RobotCoordsText.d.ts +1 -1
  65. package/lib/hardware-sim/Deck/RobotWorkSpace.d.ts +1 -1
  66. package/lib/hardware-sim/DeckConfigurator/AbsorbanceReaderItem.d.ts +2 -1
  67. package/lib/hardware-sim/DeckConfigurator/EmptyConfigItem.d.ts +2 -1
  68. package/lib/hardware-sim/DeckConfigurator/FlexStackerItem.d.ts +2 -1
  69. package/lib/hardware-sim/DeckConfigurator/HeaterShakerItem.d.ts +2 -1
  70. package/lib/hardware-sim/DeckConfigurator/MagneticBlockItem.d.ts +2 -1
  71. package/lib/hardware-sim/DeckConfigurator/StagingAreaConfigItem.d.ts +2 -1
  72. package/lib/hardware-sim/DeckConfigurator/StaticItem.d.ts +2 -1
  73. package/lib/hardware-sim/DeckConfigurator/TemperatureModuleItem.d.ts +2 -1
  74. package/lib/hardware-sim/DeckConfigurator/ThermocyclerItem.d.ts +2 -1
  75. package/lib/hardware-sim/DeckConfigurator/TrashBinConfigItem.d.ts +2 -1
  76. package/lib/hardware-sim/DeckConfigurator/VacuumModuleItem.d.ts +2 -1
  77. package/lib/hardware-sim/DeckConfigurator/WasteChuteConfigItem.d.ts +2 -1
  78. package/lib/hardware-sim/DeckConfigurator/index.d.ts +1 -1
  79. package/lib/hardware-sim/Labware/Labware.d.ts +2 -2
  80. package/lib/hardware-sim/Labware/LabwareAdapter/GenericLid.d.ts +2 -1
  81. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAluminumFlatBottomPlate.d.ts +2 -1
  82. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAutoclavableDeckRiser.d.ts +2 -1
  83. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsFlex96TiprackAdapter.d.ts +2 -1
  84. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsToughPCRAutoSealingLid.d.ts +2 -1
  85. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapter.d.ts +2 -1
  86. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapterTypeB.d.ts +2 -1
  87. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsVacuumManifoldCollar.d.ts +2 -1
  88. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsVacuumManifoldSpacer.d.ts +2 -1
  89. package/lib/hardware-sim/Labware/LabwareRender.d.ts +2 -2
  90. package/lib/hardware-sim/Labware/labwareInternals/LabwareOutline.d.ts +2 -2
  91. package/lib/hardware-sim/Labware/labwareInternals/LabwareWellLabels.d.ts +2 -2
  92. package/lib/hardware-sim/Labware/labwareInternals/StaticLabware.d.ts +2 -2
  93. package/lib/hardware-sim/Labware/labwareInternals/Tips/InaccessibleTip.d.ts +2 -1
  94. package/lib/hardware-sim/Labware/labwareInternals/Tips/NewTip.d.ts +2 -1
  95. package/lib/hardware-sim/Labware/labwareInternals/Tips/TipStatus.d.ts +2 -1
  96. package/lib/hardware-sim/Labware/labwareInternals/Tips/UsedTip.d.ts +2 -1
  97. package/lib/hardware-sim/Labware/labwareInternals/Wells/EmptyWell.d.ts +2 -1
  98. package/lib/hardware-sim/Labware/labwareInternals/Wells/FilledWells.d.ts +2 -2
  99. package/lib/hardware-sim/Labware/labwareInternals/Wells/SelectedWell.d.ts +2 -1
  100. package/lib/hardware-sim/Labware/labwareInternals/Wells/StrokedWells.d.ts +2 -2
  101. package/lib/hardware-sim/Labware/labwareInternals/Wells/StyledWells.d.ts +2 -2
  102. package/lib/hardware-sim/Labware/labwareInternals/Wells/Well.d.ts +2 -2
  103. package/lib/hardware-sim/Labware/labwareInternals/Wells/WellLabels.d.ts +2 -2
  104. package/lib/hardware-sim/Labware/labwareInternals/Wells/WellStatus.d.ts +2 -1
  105. package/lib/hardware-sim/Module/FlexStacker.d.ts +2 -1
  106. package/lib/hardware-sim/Module/HeaterShaker.d.ts +2 -1
  107. package/lib/hardware-sim/Module/MagneticBlock.d.ts +2 -1
  108. package/lib/hardware-sim/Module/MagneticModule.d.ts +2 -1
  109. package/lib/hardware-sim/Module/ModuleTag.d.ts +1 -1
  110. package/lib/hardware-sim/Module/PlateReader.d.ts +2 -1
  111. package/lib/hardware-sim/Module/Temperature.d.ts +2 -1
  112. package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN1.d.ts +2 -1
  113. package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN2.d.ts +2 -1
  114. package/lib/hardware-sim/Module/Thermocycler/index.d.ts +2 -1
  115. package/lib/hardware-sim/Module/Vacuum.d.ts +2 -1
  116. package/lib/hardware-sim/Module/index.d.ts +1 -1
  117. package/lib/hardware-sim/Pipette/EightEmanatingNozzles.d.ts +2 -1
  118. package/lib/hardware-sim/Pipette/EmanatingNozzle.d.ts +2 -1
  119. package/lib/hardware-sim/Pipette/PipetteRender.d.ts +2 -1
  120. package/lib/hardware-sim/Pipette/StrokedNozzles.d.ts +2 -2
  121. package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpace.d.ts +1 -1
  122. package/lib/hardware-sim/alignment/AlignToModuleChildSlot.d.ts +2 -2
  123. package/lib/hardware-sim/alignment/CenterLabwareInModuleChildSlot.d.ts +2 -2
  124. package/lib/hardware-sim/alignment/CenterLabwareInSlot.d.ts +2 -2
  125. package/lib/hooks/useSelectDeckLocation/index.d.ts +2 -1
  126. package/lib/icons/ModuleIcon.d.ts +2 -1
  127. package/lib/icons/NotificationIcon.d.ts +2 -1
  128. package/lib/index.js +79 -79
  129. package/lib/index.mjs +5710 -5695
  130. package/lib/instrument/InstrumentDiagram.d.ts +2 -1
  131. package/lib/legacy-hardware-sim/LabwareNameOverlay.d.ts +2 -1
  132. package/lib/lists/SidePanelGroup.d.ts +1 -1
  133. package/lib/modals/AlertModal.d.ts +1 -1
  134. package/lib/modals/ContinueModal.d.ts +2 -1
  135. package/lib/modals/LegacyModal.d.ts +1 -1
  136. package/lib/modals/Modal.d.ts +1 -1
  137. package/lib/modals/ModalHeader.d.ts +1 -1
  138. package/lib/modals/ModalShell.d.ts +1 -1
  139. package/lib/modals/Overlay.d.ts +2 -2
  140. package/lib/modals/SpinnerModal.d.ts +2 -1
  141. package/lib/modals/SpinnerModalPage.d.ts +2 -2
  142. package/lib/molecules/Banner/index.d.ts +1 -1
  143. package/lib/molecules/CustomizeExpandButton/index.d.ts +2 -2
  144. package/lib/molecules/DeckLabel/index.d.ts +2 -1
  145. package/lib/molecules/DropdownMenu/index.d.ts +2 -2
  146. package/lib/molecules/IconButton/index.d.ts +2 -2
  147. package/lib/molecules/InfoScreen/index.d.ts +2 -1
  148. package/lib/molecules/LiquidIcon/index.d.ts +2 -2
  149. package/lib/molecules/ListAccordion/index.d.ts +1 -1
  150. package/lib/molecules/ModelessModal/index.d.ts +1 -1
  151. package/lib/molecules/ParametersTable/index.d.ts +2 -1
  152. package/lib/molecules/ReleaseNotes/index.d.ts +2 -1
  153. package/lib/molecules/RobotInfoLabel/index.d.ts +2 -1
  154. package/lib/molecules/StepGroup/index.d.ts +1 -1
  155. package/lib/molecules/Tabs/index.d.ts +2 -1
  156. package/lib/molecules/TextListTableContent/index.d.ts +1 -1
  157. package/lib/molecules/TimelineScrubber/TrackSlider.d.ts +2 -1
  158. package/lib/molecules/TimelineScrubber/index.d.ts +2 -1
  159. package/lib/molecules/TouchInputField/index.d.ts +2 -0
  160. package/lib/molecules/WizardHeader/index.d.ts +2 -1
  161. package/lib/nav/SidePanel.d.ts +1 -1
  162. package/lib/organisms/FixtureOption/index.d.ts +2 -2
  163. package/lib/organisms/LabwareDetailsWithCount/index.d.ts +2 -1
  164. package/lib/organisms/LabwareInfoOverlay/index.d.ts +2 -1
  165. package/lib/organisms/Toolbox/index.d.ts +1 -1
  166. package/lib/slotmap/OT2SlotMap.d.ts +2 -1
  167. package/lib/structure/LabeledValue.d.ts +1 -1
  168. package/lib/structure/Pill.d.ts +1 -1
  169. package/lib/structure/Splash.d.ts +2 -1
  170. package/lib/structure/TitleBar.d.ts +1 -1
  171. package/lib/style.css +1 -1
  172. package/lib/tooltips/LegacyTooltip.d.ts +1 -1
  173. package/package.json +3 -3
@@ -1,4 +1,5 @@
1
1
  import type { FlattenSimpleInterpolation } from 'styled-components';
2
+ import type { ReactNode } from 'react';
2
3
  import type { PipetteV2Specs } from '@opentrons/shared-data';
3
4
  import type { StyleProps } from '..';
4
5
  import type { Mount } from '../robot-types';
@@ -8,4 +9,4 @@ export interface InstrumentDiagramProps extends StyleProps {
8
9
  className?: string;
9
10
  imageStyle?: FlattenSimpleInterpolation;
10
11
  }
11
- export declare function InstrumentDiagram(props: InstrumentDiagramProps): JSX.Element;
12
+ export declare function InstrumentDiagram(props: InstrumentDiagramProps): ReactNode;
@@ -1,7 +1,8 @@
1
+ import type { ReactNode } from 'react';
1
2
  export interface LabwareNameOverlayProps {
2
3
  title: string;
3
4
  subtitle?: string | null;
4
5
  className?: string;
5
6
  }
6
7
  /** @deprecated use LabwareDisplayName or custom RobotCoordsForeignDiv */
7
- export declare function LabwareNameOverlay(props: LabwareNameOverlayProps): JSX.Element;
8
+ export declare function LabwareNameOverlay(props: LabwareNameOverlayProps): ReactNode;
@@ -15,4 +15,4 @@ export interface SidePanelGroupProps {
15
15
  /**
16
16
  * A component for grouping and titling multiple lists
17
17
  */
18
- export declare function SidePanelGroup(props: SidePanelGroupProps): JSX.Element;
18
+ export declare function SidePanelGroup(props: SidePanelGroupProps): ReactNode;
@@ -25,4 +25,4 @@ export interface AlertModalProps {
25
25
  * @deprecated use Modal instead
26
26
  * Generic alert modal with a heading and a set of buttons at the bottom
27
27
  */
28
- export declare function AlertModal(props: AlertModalProps): JSX.Element;
28
+ export declare function AlertModal(props: AlertModalProps): ReactNode;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { AlertModalProps } from './AlertModal';
2
3
  export interface ContinueModalProps extends Omit<AlertModalProps, 'buttons'> {
3
4
  onCancelClick: () => unknown;
@@ -7,4 +8,4 @@ export interface ContinueModalProps extends Omit<AlertModalProps, 'buttons'> {
7
8
  * * @deprecated use Modal instead
8
9
  * AlertModal variant to prompt user to "Cancel" or "Continue" a given action
9
10
  */
10
- export declare function ContinueModal(props: ContinueModalProps): JSX.Element;
11
+ export declare function ContinueModal(props: ContinueModalProps): ReactNode;
@@ -21,4 +21,4 @@ export interface LegacyModalProps {
21
21
  * Base modal component that fills its nearest `display:relative` ancestor
22
22
  * with a dark overlay and displays `children` as its contents in a white box
23
23
  */
24
- export declare function LegacyModal(props: LegacyModalProps): JSX.Element;
24
+ export declare function LegacyModal(props: LegacyModalProps): ReactNode;
@@ -22,5 +22,5 @@ export interface ModalProps extends StyleProps {
22
22
  /**
23
23
  * For Desktop app and Helix (which includes Protocol Designer) use only.
24
24
  */
25
- export declare const Modal: (props: ModalProps) => JSX.Element;
25
+ export declare const Modal: (props: ModalProps) => ReactNode;
26
26
  export {};
@@ -11,4 +11,4 @@ export interface ModalHeaderProps {
11
11
  icon?: IconProps;
12
12
  closeButton?: ReactNode;
13
13
  }
14
- export declare const ModalHeader: (props: ModalHeaderProps) => JSX.Element;
14
+ export declare const ModalHeader: (props: ModalHeaderProps) => ReactNode;
@@ -31,4 +31,4 @@ export interface ModalShellProps extends StyleProps {
31
31
  * - An optional sticky footer
32
32
  * - An optional onOutsideClick function
33
33
  */
34
- export declare function ModalShell(props: ModalShellProps): JSX.Element;
34
+ export declare function ModalShell(props: ModalShellProps): ReactNode;
@@ -1,9 +1,9 @@
1
1
  import { Flex } from '..';
2
- import type { ComponentProps, MouseEventHandler } from 'react';
2
+ import type { ComponentProps, MouseEventHandler, ReactNode } from 'react';
3
3
  export interface OverlayProps extends ComponentProps<typeof Flex> {
4
4
  /** optional onClick handler */
5
5
  onClick?: MouseEventHandler;
6
6
  alertOverlay?: boolean | null;
7
7
  backgroundColor?: string;
8
8
  }
9
- export declare function Overlay(props: OverlayProps): JSX.Element;
9
+ export declare function Overlay(props: OverlayProps): ReactNode;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  export interface SpinnerModalProps {
2
3
  /** Additional/Override style */
3
4
  contentsClassName?: string;
@@ -10,4 +11,4 @@ export interface SpinnerModalProps {
10
11
  * @deprecated use Modal instead
11
12
  * Spinner Modal with no background and optional message
12
13
  */
13
- export declare function SpinnerModal(props: SpinnerModalProps): JSX.Element;
14
+ export declare function SpinnerModal(props: SpinnerModalProps): ReactNode;
@@ -1,5 +1,5 @@
1
1
  import { SpinnerModal } from './SpinnerModal';
2
- import type { ComponentProps } from 'react';
2
+ import type { ComponentProps, ReactNode } from 'react';
3
3
  import type { TitleBarProps } from '../structure';
4
4
  export interface SpinnerModalPageProps extends ComponentProps<typeof SpinnerModal> {
5
5
  /** Props for title bar at top of modal page */
@@ -9,4 +9,4 @@ export interface SpinnerModalPageProps extends ComponentProps<typeof SpinnerModa
9
9
  * @deprecated use Modal instead
10
10
  * Spinner Modal variant with TitleBar
11
11
  */
12
- export declare function SpinnerModalPage(props: SpinnerModalPageProps): JSX.Element;
12
+ export declare function SpinnerModalPage(props: SpinnerModalPageProps): ReactNode;
@@ -25,4 +25,4 @@ export interface BannerProps extends StyleProps {
25
25
  /** Icon margin left for large banners */
26
26
  iconMarginLeft?: string;
27
27
  }
28
- export declare function Banner(props: BannerProps): JSX.Element;
28
+ export declare function Banner(props: BannerProps): ReactNode;
@@ -1,4 +1,4 @@
1
- import type { ChangeEvent, ChangeEventHandler, MemoExoticComponent } from 'react';
1
+ import type { ChangeEvent, ChangeEventHandler, MemoExoticComponent, ReactNode } from 'react';
2
2
  import type { LabwareDefinition2 } from '@opentrons/shared-data';
3
3
  import type { StyleProps } from '../../primitives';
4
4
  export interface StackingProps {
@@ -24,6 +24,6 @@ interface CustomizeExpandButtonProps extends StyleProps {
24
24
  isSelected?: boolean;
25
25
  id?: string;
26
26
  }
27
- export declare function CustomizeExpandButtonComponent(props: CustomizeExpandButtonProps): JSX.Element;
27
+ export declare function CustomizeExpandButtonComponent(props: CustomizeExpandButtonProps): ReactNode;
28
28
  export declare const CustomizeExpandButton: MemoExoticComponent<typeof CustomizeExpandButtonComponent>;
29
29
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { ModuleModel } from '@opentrons/shared-data';
2
3
  export interface DeckLabelProps {
3
4
  /** Visible label text. */
@@ -15,4 +16,4 @@ export interface DeckLabelProps {
15
16
  /** Whether this label is the last item in a grouped sequence. */
16
17
  isLast?: boolean;
17
18
  }
18
- export declare function DeckLabel({ text, isSelected, isZoomed, moduleModel, maxWidth, labelBorderRadius, isLast, }: DeckLabelProps): JSX.Element;
19
+ export declare function DeckLabel({ text, isSelected, isZoomed, moduleModel, maxWidth, labelBorderRadius, isLast, }: DeckLabelProps): ReactNode;
@@ -1,5 +1,5 @@
1
1
  import type { FlattenSimpleInterpolation } from 'styled-components';
2
- import type { FocusEventHandler } from 'react';
2
+ import type { FocusEventHandler, ReactNode } from 'react';
3
3
  export interface DropdownOption {
4
4
  /** dropdown option name */
5
5
  name: string;
@@ -54,5 +54,5 @@ export interface DropdownMenuProps {
54
54
  /** optional test id */
55
55
  testId?: string;
56
56
  }
57
- export declare function DropdownMenu(props: DropdownMenuProps): JSX.Element;
57
+ export declare function DropdownMenu(props: DropdownMenuProps): ReactNode;
58
58
  export declare const LINE_CLAMP_TEXT_STYLE: (lineClamp?: number, wordBreak?: boolean) => FlattenSimpleInterpolation;
@@ -1,4 +1,4 @@
1
- import type { ComponentPropsWithoutRef } from 'react';
1
+ import type { ComponentPropsWithoutRef, ReactNode } from 'react';
2
2
  import type { IconName } from '../../icons';
3
3
  /**
4
4
  * Regarding the following types:
@@ -50,5 +50,5 @@ interface IconButtonProps extends ComponentPropsWithoutRef<'button'> {
50
50
  * @param {IconButtonProps} props The props for the component.
51
51
  * @returns {JSX.Element} The rendered IconButton component.
52
52
  */
53
- export declare function NewIconButton({ variant, iconName, size, 'aria-label': ariaLabel, focusableDisabled, onClick, className, ...restProps }: IconButtonProps): JSX.Element;
53
+ export declare function NewIconButton({ variant, iconName, size, 'aria-label': ariaLabel, focusableDisabled, onClick, className, ...restProps }: IconButtonProps): ReactNode;
54
54
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { IconName } from '../../icons';
2
3
  interface InfoScreenProps {
3
4
  content: string;
@@ -6,5 +7,5 @@ interface InfoScreenProps {
6
7
  height?: string;
7
8
  iconName?: IconName;
8
9
  }
9
- export declare function InfoScreen({ content, subContent, backgroundColor, height, iconName, }: InfoScreenProps): JSX.Element;
10
+ export declare function InfoScreen({ content, subContent, backgroundColor, height, iconName, }: InfoScreenProps): ReactNode;
10
11
  export {};
@@ -1,4 +1,4 @@
1
- import type { MouseEvent } from 'react';
1
+ import type { MouseEvent, ReactNode } from 'react';
2
2
  type LiquidIconSize = 'xSmall' | 'small' | 'medium';
3
3
  export interface LiquidIconProps {
4
4
  color: string;
@@ -6,5 +6,5 @@ export interface LiquidIconProps {
6
6
  onClick?: (e: MouseEvent<HTMLButtonElement | HTMLDivElement>) => void;
7
7
  hasError?: boolean;
8
8
  }
9
- export declare function LiquidIcon(props: LiquidIconProps): JSX.Element;
9
+ export declare function LiquidIcon(props: LiquidIconProps): ReactNode;
10
10
  export {};
@@ -8,4 +8,4 @@ export interface ListAccordionProps {
8
8
  children: ListTableProps['children'];
9
9
  icon?: JSX.Element;
10
10
  }
11
- export declare function ListAccordion({ headerChild, alertKind, icon, children, tableHeaders, }: ListAccordionProps): JSX.Element;
11
+ export declare function ListAccordion({ headerChild, alertKind, icon, children, tableHeaders, }: ListAccordionProps): ReactNode;
@@ -8,5 +8,5 @@ interface ModelessModalProps {
8
8
  defaultWidth?: number;
9
9
  defaultHeight?: number;
10
10
  }
11
- export declare function ModelessModal({ header, children, 'aria-labelledby': ariaLabelledby, onClose, 'aria-label': ariaLabel, defaultWidth, defaultHeight, }: ModelessModalProps): JSX.Element;
11
+ export declare function ModelessModal({ header, children, 'aria-labelledby': ariaLabelledby, onClose, 'aria-label': ariaLabel, defaultWidth, defaultHeight, }: ModelessModalProps): ReactNode;
12
12
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { RunTimeParameter } from '@opentrons/shared-data';
2
3
  interface ProtocolParameterItemsProps {
3
4
  runTimeParameters: RunTimeParameter[];
@@ -6,5 +7,5 @@ interface ProtocolParameterItemsProps {
6
7
  /** used in both the desktop app and Protocol Library
7
8
  * to display the run time parameters table
8
9
  */
9
- export declare function ParametersTable({ runTimeParameters, t, }: ProtocolParameterItemsProps): JSX.Element;
10
+ export declare function ParametersTable({ runTimeParameters, t, }: ProtocolParameterItemsProps): ReactNode;
10
11
  export {};
@@ -1,5 +1,6 @@
1
+ import type { ReactNode } from 'react';
1
2
  export interface ReleaseNotesProps {
2
3
  isOEMMode: boolean;
3
4
  source?: string | null;
4
5
  }
5
- export declare function ReleaseNotes(props: ReleaseNotesProps): JSX.Element;
6
+ export declare function ReleaseNotes(props: ReleaseNotesProps): ReactNode;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { IconName } from '../../icons';
2
3
  export interface RobotInfoLabelProps {
3
4
  deckLabel?: string;
@@ -9,4 +10,4 @@ export interface RobotInfoLabelProps {
9
10
  svgSize?: string | number;
10
11
  transform?: string;
11
12
  }
12
- export declare function RobotInfoLabel({ deckLabel, iconName, highlight, size, height, width, transform, svgSize, }: RobotInfoLabelProps): JSX.Element;
13
+ export declare function RobotInfoLabel({ deckLabel, iconName, highlight, size, height, width, transform, svgSize, }: RobotInfoLabelProps): ReactNode;
@@ -14,5 +14,5 @@ interface StepGroupProps {
14
14
  /** Title text color (e.g. COLORS.purple50) */
15
15
  titleColor?: string;
16
16
  }
17
- export declare function StepGroup(props: StepGroupProps): JSX.Element;
17
+ export declare function StepGroup(props: StepGroupProps): ReactNode;
18
18
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  export interface TabProps {
2
3
  text: string;
3
4
  onClick: () => void;
@@ -8,4 +9,4 @@ export interface TabProps {
8
9
  export interface TabsProps {
9
10
  tabs: TabProps[];
10
11
  }
11
- export declare function Tabs(props: TabsProps): JSX.Element;
12
+ export declare function Tabs(props: TabsProps): ReactNode;
@@ -5,4 +5,4 @@ export interface TextListTableContentProps {
5
5
  listTableHeaders?: ListTableProps['headers'];
6
6
  children: ReactNode;
7
7
  }
8
- export declare function TextListTableContent({ header, listTableHeaders, children, }: TextListTableContentProps): JSX.Element;
8
+ export declare function TextListTableContent({ header, listTableHeaders, children, }: TextListTableContentProps): ReactNode;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  export interface TrackData {
2
3
  id: string;
3
4
  value: number;
@@ -6,5 +7,5 @@ interface TrackSliderProps {
6
7
  track: TrackData;
7
8
  onChange: (id: string, newValue: number) => void;
8
9
  }
9
- export declare function TrackSlider({ track, onChange, }: TrackSliderProps): JSX.Element;
10
+ export declare function TrackSlider({ track, onChange }: TrackSliderProps): ReactNode;
10
11
  export {};
@@ -1,6 +1,7 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { TrackData } from './TrackSlider';
2
3
  export interface TimelineScrubberProps {
3
4
  tracks: TrackData[];
4
5
  onTrackChange: (updatedTrack: TrackData) => void;
5
6
  }
6
- export declare function TimelineScrubber({ tracks, onTrackChange, }: TimelineScrubberProps): JSX.Element;
7
+ export declare function TimelineScrubber({ tracks, onTrackChange, }: TimelineScrubberProps): ReactNode;
@@ -50,5 +50,7 @@ export interface TouchInputFieldProps {
50
50
  type?: 'text' | 'password' | 'number';
51
51
  /** optional props for data-testid */
52
52
  testId?: string;
53
+ /** optional control rendered beside the input, vertically aligned to the field */
54
+ accessory?: ReactNode;
53
55
  }
54
56
  export declare const TouchInputField: import("react").ForwardRefExoticComponent<TouchInputFieldProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  interface WizardHeaderProps {
2
3
  title: string;
3
4
  onExit?: (() => void) | null;
@@ -7,5 +8,5 @@ interface WizardHeaderProps {
7
8
  exitDisabled?: boolean;
8
9
  hideStepText?: boolean;
9
10
  }
10
- export declare const WizardHeader: (props: WizardHeaderProps) => JSX.Element;
11
+ export declare const WizardHeader: (props: WizardHeaderProps) => ReactNode;
11
12
  export {};
@@ -3,4 +3,4 @@ export interface SidePanelProps {
3
3
  title?: string;
4
4
  children?: ReactNode;
5
5
  }
6
- export declare function SidePanel(props: SidePanelProps): JSX.Element;
6
+ export declare function SidePanel(props: SidePanelProps): ReactNode;
@@ -1,4 +1,4 @@
1
- import type { MouseEventHandler } from 'react';
1
+ import type { MouseEventHandler, ReactNode } from 'react';
2
2
  interface FixtureOptionProps {
3
3
  onClickHandler: MouseEventHandler;
4
4
  secondaryOnClickHandler?: MouseEventHandler;
@@ -6,5 +6,5 @@ interface FixtureOptionProps {
6
6
  secondaryButtonText?: string;
7
7
  buttonText: string;
8
8
  }
9
- export declare function FixtureOption(props: FixtureOptionProps): JSX.Element;
9
+ export declare function FixtureOption(props: FixtureOptionProps): ReactNode;
10
10
  export {};
@@ -1,7 +1,8 @@
1
+ import type { ReactNode } from 'react';
1
2
  interface LabwareDetailsWithCountProps {
2
3
  title: string;
3
4
  subTitle?: string;
4
5
  quantity?: number;
5
6
  }
6
- export declare function LabwareDetailsWithCount({ title, subTitle, quantity: label, }: LabwareDetailsWithCountProps): JSX.Element;
7
+ export declare function LabwareDetailsWithCount({ title, subTitle, quantity: label, }: LabwareDetailsWithCountProps): ReactNode;
7
8
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { LabwareDefinition } from '@opentrons/shared-data';
2
3
  interface LabwareInfoOverlayProps {
3
4
  definition: LabwareDefinition;
@@ -8,5 +9,5 @@ interface LabwareInfoOverlayProps {
8
9
  xOffset?: number;
9
10
  yOffset?: number;
10
11
  }
11
- export declare const LabwareInfoOverlay: (props: LabwareInfoOverlayProps) => JSX.Element;
12
+ export declare const LabwareInfoOverlay: (props: LabwareInfoOverlayProps) => ReactNode;
12
13
  export {};
@@ -16,4 +16,4 @@ export interface ToolboxProps extends StyleProps {
16
16
  subHeader?: JSX.Element | null;
17
17
  secondaryHeaderButton?: JSX.Element;
18
18
  }
19
- export declare function Toolbox(props: ToolboxProps): JSX.Element;
19
+ export declare function Toolbox(props: ToolboxProps): ReactNode;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  export interface SlotMapProps {
2
3
  /** Slot(s) to highlight */
3
4
  occupiedSlots: string[];
@@ -6,4 +7,4 @@ export interface SlotMapProps {
6
7
  /** Optional error styling */
7
8
  isError?: boolean;
8
9
  }
9
- export declare function OT2SlotMap(props: SlotMapProps): JSX.Element;
10
+ export declare function OT2SlotMap(props: SlotMapProps): ReactNode;
@@ -9,4 +9,4 @@ export interface LabeledValueProps {
9
9
  /** Additional value className */
10
10
  valueClassName?: string;
11
11
  }
12
- export declare function LabeledValue(props: LabeledValueProps): JSX.Element;
12
+ export declare function LabeledValue(props: LabeledValueProps): ReactNode;
@@ -15,4 +15,4 @@ export interface PillProps {
15
15
  /**
16
16
  * Colored Pill containing text or other contents
17
17
  */
18
- export declare function Pill(props: PillProps): JSX.Element;
18
+ export declare function Pill(props: PillProps): ReactNode;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { IconName } from '../icons';
2
3
  export interface SplashProps {
3
4
  /** optional alternative icon name. Defaults to 'logo'. */
@@ -5,4 +6,4 @@ export interface SplashProps {
5
6
  /** additional className for Splash */
6
7
  className?: string;
7
8
  }
8
- export declare function Splash(props: SplashProps): JSX.Element;
9
+ export declare function Splash(props: SplashProps): ReactNode;
@@ -14,4 +14,4 @@ export interface TitleBarProps {
14
14
  /**
15
15
  * @deprecated Use 'ModalHeader' instead
16
16
  */
17
- export declare function TitleBar(props: TitleBarProps): JSX.Element;
17
+ export declare function TitleBar(props: TitleBarProps): ReactNode;