@opentrons/components 0.3.14-alpha.0 → 0.3.16-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 (177) 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 +153 -153
  129. package/lib/index.mjs +12320 -12843
  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/localization.d.ts +8 -0
  134. package/lib/localization.js +1 -0
  135. package/lib/localization.mjs +551 -0
  136. package/lib/modals/AlertModal.d.ts +1 -1
  137. package/lib/modals/ContinueModal.d.ts +2 -1
  138. package/lib/modals/LegacyModal.d.ts +1 -1
  139. package/lib/modals/Modal.d.ts +1 -1
  140. package/lib/modals/ModalHeader.d.ts +1 -1
  141. package/lib/modals/ModalShell.d.ts +1 -1
  142. package/lib/modals/Overlay.d.ts +2 -2
  143. package/lib/modals/SpinnerModal.d.ts +2 -1
  144. package/lib/modals/SpinnerModalPage.d.ts +2 -2
  145. package/lib/molecules/Banner/index.d.ts +1 -1
  146. package/lib/molecules/CustomizeExpandButton/index.d.ts +2 -2
  147. package/lib/molecules/DeckLabel/index.d.ts +2 -1
  148. package/lib/molecules/DropdownMenu/index.d.ts +2 -2
  149. package/lib/molecules/IconButton/index.d.ts +2 -2
  150. package/lib/molecules/InfoScreen/index.d.ts +2 -1
  151. package/lib/molecules/LiquidIcon/index.d.ts +2 -2
  152. package/lib/molecules/ListAccordion/index.d.ts +1 -1
  153. package/lib/molecules/ModelessModal/index.d.ts +1 -1
  154. package/lib/molecules/ParametersTable/index.d.ts +2 -1
  155. package/lib/molecules/ReleaseNotes/index.d.ts +2 -1
  156. package/lib/molecules/RobotInfoLabel/index.d.ts +2 -1
  157. package/lib/molecules/StepGroup/index.d.ts +1 -1
  158. package/lib/molecules/Tabs/index.d.ts +2 -1
  159. package/lib/molecules/TextListTableContent/index.d.ts +1 -1
  160. package/lib/molecules/TimelineScrubber/TrackSlider.d.ts +2 -1
  161. package/lib/molecules/TimelineScrubber/index.d.ts +2 -1
  162. package/lib/molecules/TouchInputField/index.d.ts +2 -0
  163. package/lib/molecules/WizardHeader/index.d.ts +2 -1
  164. package/lib/nav/SidePanel.d.ts +1 -1
  165. package/lib/organisms/FixtureOption/index.d.ts +2 -2
  166. package/lib/organisms/LabwareDetailsWithCount/index.d.ts +2 -1
  167. package/lib/organisms/LabwareInfoOverlay/index.d.ts +2 -1
  168. package/lib/organisms/Toolbox/index.d.ts +1 -1
  169. package/lib/primitives/style-props.d.ts +1 -1
  170. package/lib/slotmap/OT2SlotMap.d.ts +2 -1
  171. package/lib/structure/LabeledValue.d.ts +1 -1
  172. package/lib/structure/Pill.d.ts +1 -1
  173. package/lib/structure/Splash.d.ts +2 -1
  174. package/lib/structure/TitleBar.d.ts +1 -1
  175. package/lib/style.css +1 -1
  176. package/lib/tooltips/LegacyTooltip.d.ts +1 -1
  177. package/package.json +9 -3
@@ -14,4 +14,4 @@ export interface RobotCoordsForeignDivProps {
14
14
  extraTransform?: string;
15
15
  dataTestId?: string;
16
16
  }
17
- export declare const RobotCoordsForeignDiv: ({ children, x, y, height, width, outerProps, innerDivProps, transformWithSVG, extraTransform, dataTestId, innerDivEvents, }: RobotCoordsForeignDivProps) => JSX.Element;
17
+ export declare const RobotCoordsForeignDiv: ({ children, x, y, height, width, outerProps, innerDivProps, transformWithSVG, extraTransform, dataTestId, innerDivEvents, }: RobotCoordsForeignDivProps) => ReactNode;
@@ -12,4 +12,4 @@ export interface RobotCoordsForeignObjectProps {
12
12
  flexProps?: StyleProps;
13
13
  flexEvents?: HTMLAttributes<HTMLDivElement>;
14
14
  }
15
- export declare const RobotCoordsForeignObject: ({ children, x, y, height, width, foreignObjectEvents, foreignObjectProps, flexProps, flexEvents, }: RobotCoordsForeignObjectProps) => JSX.Element;
15
+ export declare const RobotCoordsForeignObject: ({ children, x, y, height, width, foreignObjectEvents, foreignObjectProps, flexProps, flexEvents, }: RobotCoordsForeignObjectProps) => ReactNode;
@@ -16,4 +16,4 @@ export interface RobotCoordsTextProps extends ComponentProps<'text'> {
16
16
  * This component surgically undoes the wrapper's transformation so the child text is
17
17
  * displayed right-side-up.
18
18
  */
19
- export declare function RobotCoordsText(props: RobotCoordsTextProps): JSX.Element;
19
+ export declare function RobotCoordsText(props: RobotCoordsTextProps): ReactNode;
@@ -33,5 +33,5 @@ export type RobotWorkSpaceProps = BaseProps & CSSProperties;
33
33
  * SVG-transform them so they're displayed the correct way. This is needed because
34
34
  * SVG inverts y compared to Opentrons coordinates.
35
35
  */
36
- export declare function RobotWorkSpace(props: RobotWorkSpaceProps): JSX.Element;
36
+ export declare function RobotWorkSpace(props: RobotWorkSpaceProps): ReactNode;
37
37
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface AbsorbanceReaderItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -7,5 +8,5 @@ interface AbsorbanceReaderItemProps {
7
8
  handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureIdsWithFakes, addressableAreaId: AddressableAreaNamesWithFakes) => void;
8
9
  selected?: boolean;
9
10
  }
10
- export declare function AbsorbanceReaderItem(props: AbsorbanceReaderItemProps): JSX.Element;
11
+ export declare function AbsorbanceReaderItem(props: AbsorbanceReaderItemProps): ReactNode;
11
12
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { AddressableAreaNamesWithFakes, CutoutId, DeckDefinition, ModuleModel } from '@opentrons/shared-data';
2
3
  interface EmptyConfigItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -7,5 +8,5 @@ interface EmptyConfigItemProps {
7
8
  moduleModel?: ModuleModel;
8
9
  handleClickAdd: (fixtureLocation: CutoutId, addressableArea: AddressableAreaNamesWithFakes) => void;
9
10
  }
10
- export declare function EmptyConfigItem(props: EmptyConfigItemProps): JSX.Element;
11
+ export declare function EmptyConfigItem(props: EmptyConfigItemProps): ReactNode;
11
12
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface FlexStackerItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -8,5 +9,5 @@ interface FlexStackerItemProps {
8
9
  handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureIdsWithFakes, addressableAreaId: AddressableAreaNamesWithFakes) => void;
9
10
  selected?: boolean;
10
11
  }
11
- export declare function FlexStackerItem(props: FlexStackerItemProps): JSX.Element;
12
+ export declare function FlexStackerItem(props: FlexStackerItemProps): ReactNode;
12
13
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface HeaterShakerItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -7,5 +8,5 @@ interface HeaterShakerItemProps {
7
8
  handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureIdsWithFakes, addressableAreaId: AddressableAreaNamesWithFakes) => void;
8
9
  selected?: boolean;
9
10
  }
10
- export declare function HeaterShakerItem(props: HeaterShakerItemProps): JSX.Element;
11
+ export declare function HeaterShakerItem(props: HeaterShakerItemProps): ReactNode;
11
12
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface MagneticBlockItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -8,5 +9,5 @@ interface MagneticBlockItemProps {
8
9
  hasStagingArea?: boolean;
9
10
  selected?: boolean;
10
11
  }
11
- export declare function MagneticBlockItem(props: MagneticBlockItemProps): JSX.Element;
12
+ export declare function MagneticBlockItem(props: MagneticBlockItemProps): ReactNode;
12
13
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface StagingAreaConfigItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -7,5 +8,5 @@ interface StagingAreaConfigItemProps {
7
8
  handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureIdsWithFakes, addressableAreaId: AddressableAreaNamesWithFakes) => void;
8
9
  selected?: boolean;
9
10
  }
10
- export declare function StagingAreaConfigItem(props: StagingAreaConfigItemProps): JSX.Element;
11
+ export declare function StagingAreaConfigItem(props: StagingAreaConfigItemProps): ReactNode;
11
12
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface StaticFixtureProps {
3
4
  deckDefinition: DeckDefinition;
@@ -8,5 +9,5 @@ interface StaticFixtureProps {
8
9
  * this component allows us to add static labeled fixtures to the center column of a deck
9
10
  * config map
10
11
  */
11
- export declare function StaticItem(props: StaticFixtureProps): JSX.Element;
12
+ export declare function StaticItem(props: StaticFixtureProps): ReactNode;
12
13
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface TemperatureModuleFixtureProps {
3
4
  deckDefinition: DeckDefinition;
@@ -7,5 +8,5 @@ interface TemperatureModuleFixtureProps {
7
8
  handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureIdsWithFakes, addressableAreaId: AddressableAreaNamesWithFakes) => void;
8
9
  selected?: boolean;
9
10
  }
10
- export declare function TemperatureModuleItem(props: TemperatureModuleFixtureProps): JSX.Element;
11
+ export declare function TemperatureModuleItem(props: TemperatureModuleFixtureProps): ReactNode;
11
12
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface ThermocyclerItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -7,5 +8,5 @@ interface ThermocyclerItemProps {
7
8
  handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureIdsWithFakes, addressableAreaId: AddressableAreaNamesWithFakes) => void;
8
9
  selected?: boolean;
9
10
  }
10
- export declare function ThermocyclerItem(props: ThermocyclerItemProps): JSX.Element;
11
+ export declare function ThermocyclerItem(props: ThermocyclerItemProps): ReactNode;
11
12
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface TrashBinConfigItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -7,5 +8,5 @@ interface TrashBinConfigItemProps {
7
8
  handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureIdsWithFakes, addressableAreaId: AddressableAreaNamesWithFakes) => void;
8
9
  selected?: boolean;
9
10
  }
10
- export declare function TrashBinConfigItem(props: TrashBinConfigItemProps): JSX.Element;
11
+ export declare function TrashBinConfigItem(props: TrashBinConfigItemProps): ReactNode;
11
12
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface VacuumModuleItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -7,5 +8,5 @@ interface VacuumModuleItemProps {
7
8
  handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureIdsWithFakes, addressableAreaId: AddressableAreaNamesWithFakes) => void;
8
9
  selected?: boolean;
9
10
  }
10
- export declare function VacuumModuleItem(props: VacuumModuleItemProps): JSX.Element;
11
+ export declare function VacuumModuleItem(props: VacuumModuleItemProps): ReactNode;
11
12
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface WasteChuteConfigItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -7,5 +8,5 @@ interface WasteChuteConfigItemProps {
7
8
  hasStagingAreas?: boolean;
8
9
  selected?: boolean;
9
10
  }
10
- export declare function WasteChuteConfigFixture(props: WasteChuteConfigItemProps): JSX.Element;
11
+ export declare function WasteChuteConfigFixture(props: WasteChuteConfigItemProps): ReactNode;
11
12
  export {};
@@ -18,4 +18,4 @@ interface DeckConfiguratorProps {
18
18
  selectedCutoutId?: CutoutId;
19
19
  moduleModel?: ModuleModel;
20
20
  }
21
- export declare function DeckConfigurator(props: DeckConfiguratorProps): JSX.Element;
21
+ export declare function DeckConfigurator(props: DeckConfiguratorProps): ReactNode;
@@ -1,4 +1,4 @@
1
- import type { RefObject } from 'react';
1
+ import type { ReactNode, RefObject } from 'react';
2
2
  import type { LabwareDefinition } from '@opentrons/shared-data';
3
3
  import type { HighlightedWellLabels, WellFillByName, WellMouseEvent, WellStrokeByName } from './labwareInternals/Wells';
4
4
  export interface LabwareProps {
@@ -35,4 +35,4 @@ export interface LabwareProps {
35
35
  *
36
36
  * For example, hiding the outline of the labware for certain ODD flows.
37
37
  */
38
- export declare const Labware: (props: LabwareProps) => JSX.Element;
38
+ export declare const Labware: (props: LabwareProps) => ReactNode;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  interface GenericLidProps {
2
3
  lidDimensions: {
3
4
  xDimension: number;
@@ -5,5 +6,5 @@ interface GenericLidProps {
5
6
  zDimension: number;
6
7
  } | null;
7
8
  }
8
- export declare function GenericLid(props: GenericLidProps): JSX.Element;
9
+ export declare function GenericLid(props: GenericLidProps): ReactNode;
9
10
  export {};
@@ -1 +1,2 @@
1
- export declare function OpentronsAluminumFlatBottomPlate(): JSX.Element;
1
+ import type { ReactNode } from 'react';
2
+ export declare function OpentronsAluminumFlatBottomPlate(): ReactNode;
@@ -1 +1,2 @@
1
- export declare function OpentronsAutoclavableDeckRiser(): JSX.Element;
1
+ import type { ReactNode } from 'react';
2
+ export declare function OpentronsAutoclavableDeckRiser(): ReactNode;
@@ -1 +1,2 @@
1
- export declare function OpentronsFlex96TiprackAdapter(): JSX.Element;
1
+ import type { ReactNode } from 'react';
2
+ export declare function OpentronsFlex96TiprackAdapter(): ReactNode;
@@ -1 +1,2 @@
1
- export declare function OpentronsToughPCRAutoSealingLid(): JSX.Element;
1
+ import type { ReactNode } from 'react';
2
+ export declare function OpentronsToughPCRAutoSealingLid(): ReactNode;
@@ -1 +1,2 @@
1
- export declare function OpentronsUniversalFlatAdapter(): JSX.Element;
1
+ import type { ReactNode } from 'react';
2
+ export declare function OpentronsUniversalFlatAdapter(): ReactNode;
@@ -1 +1,2 @@
1
- export declare function OpentronsUniversalFlatAdapterTypeB(): JSX.Element;
1
+ import type { ReactNode } from 'react';
2
+ export declare function OpentronsUniversalFlatAdapterTypeB(): ReactNode;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  interface OpentronsVacuumManifoldCollarProps {
2
3
  lidDimensions: {
3
4
  xDimension: number;
@@ -5,5 +6,5 @@ interface OpentronsVacuumManifoldCollarProps {
5
6
  zDimension: number;
6
7
  } | null;
7
8
  }
8
- export declare function OpentronsVacuumManifoldCollar({ lidDimensions, }: OpentronsVacuumManifoldCollarProps): JSX.Element;
9
+ export declare function OpentronsVacuumManifoldCollar({ lidDimensions, }: OpentronsVacuumManifoldCollarProps): ReactNode;
9
10
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  interface OpentronsVacuumManifoldSpacerProps {
2
3
  lidDimensions: {
3
4
  xDimension: number;
@@ -5,5 +6,5 @@ interface OpentronsVacuumManifoldSpacerProps {
5
6
  zDimension: number;
6
7
  } | null;
7
8
  }
8
- export declare function OpentronsVacuumManifoldSpacer({ lidDimensions, }: OpentronsVacuumManifoldSpacerProps): JSX.Element;
9
+ export declare function OpentronsVacuumManifoldSpacer({ lidDimensions, }: OpentronsVacuumManifoldSpacerProps): ReactNode;
9
10
  export {};
@@ -1,4 +1,4 @@
1
- import type { CSSProperties, RefObject } from 'react';
1
+ import type { CSSProperties, ReactNode, RefObject } from 'react';
2
2
  import type { LabwareDefinition } from '@opentrons/shared-data';
3
3
  import type { TipType, WellType } from './labwareInternals/types';
4
4
  import type { HighlightedWellLabels, WELL_LABEL_OPTIONS, WellFillByName, WellGroup, WellMouseEvent, WellStrokeByName } from './labwareInternals/Wells';
@@ -85,4 +85,4 @@ export interface LabwareRenderProps {
85
85
  selectedTipsByIndex?: Record<string, number>;
86
86
  fill?: CSSProperties['fill'];
87
87
  }
88
- export declare const LabwareRender: (props: LabwareRenderProps) => JSX.Element;
88
+ export declare const LabwareRender: (props: LabwareRenderProps) => ReactNode;
@@ -1,4 +1,4 @@
1
- import type { CSSProperties } from 'react';
1
+ import type { CSSProperties, ReactNode } from 'react';
2
2
  import type { LabwareDefinition } from '@opentrons/shared-data';
3
3
  export type LabwareOutlineProps = {
4
4
  /** if this labware is a tip rack, darken background and lighten borderx dimension in mm of this labware, used if definition doesn't supply dimensions, defaults to false */
@@ -28,5 +28,5 @@ interface DefinitionReplacementProps {
28
28
  /** minimum y-coordinate (i.e. the bottom) of the outline. */
29
29
  minY: number;
30
30
  }
31
- export declare function LabwareOutline(props: LabwareOutlineProps): JSX.Element;
31
+ export declare function LabwareOutline(props: LabwareOutlineProps): ReactNode;
32
32
  export {};
@@ -1,4 +1,4 @@
1
- import type { MemoExoticComponent } from 'react';
1
+ import type { MemoExoticComponent, ReactNode } from 'react';
2
2
  import type { LabwareDefinition } from '@opentrons/shared-data';
3
3
  import type { HighlightedWellLabels } from './Wells';
4
4
  interface LabwareWellLabelsProps {
@@ -6,7 +6,7 @@ interface LabwareWellLabelsProps {
6
6
  highlightedWellLabels?: HighlightedWellLabels;
7
7
  wellLabelColor?: string;
8
8
  }
9
- export declare function LabwareWellLabelsComponent(props: LabwareWellLabelsProps): JSX.Element;
9
+ export declare function LabwareWellLabelsComponent(props: LabwareWellLabelsProps): ReactNode;
10
10
  /**
11
11
  * for use in Labware.tsx component
12
12
  * has ODD-specific styling
@@ -1,5 +1,5 @@
1
1
  import type { CSSProperties } from 'styled-components';
2
- import type { MemoExoticComponent } from 'react';
2
+ import type { MemoExoticComponent, ReactNode } from 'react';
3
3
  import type { LabwareDefinition } from '@opentrons/shared-data';
4
4
  import type { TipType, WellType } from './types';
5
5
  import type { WellMouseEvent, WellStrokeByName } from './Wells/constants';
@@ -26,5 +26,5 @@ export interface StaticLabwareProps {
26
26
  handleClickWell?: (wellName: string) => void;
27
27
  selectedTipsByIndex?: Record<string, number>;
28
28
  }
29
- export declare function StaticLabwareComponent(props: StaticLabwareProps): JSX.Element;
29
+ export declare function StaticLabwareComponent(props: StaticLabwareProps): ReactNode;
30
30
  export declare const StaticLabware: MemoExoticComponent<typeof StaticLabwareComponent>;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  export declare function InaccessibleTip(props: {
2
3
  size?: string;
3
- }): JSX.Element;
4
+ }): ReactNode;
@@ -1,4 +1,5 @@
1
+ import type { ReactNode } from 'react';
1
2
  export declare function NewTip(props: {
2
3
  wellName: string;
3
4
  size?: string;
4
- }): JSX.Element;
5
+ }): ReactNode;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { LabwareWellMap } from '@opentrons/shared-data';
2
3
  import type { TipType } from '../types';
3
4
  interface TipStatusProps {
@@ -7,5 +8,5 @@ interface TipStatusProps {
7
8
  size: string;
8
9
  text?: string;
9
10
  }
10
- export declare function TipStatus(props: TipStatusProps): JSX.Element;
11
+ export declare function TipStatus(props: TipStatusProps): ReactNode;
11
12
  export {};
@@ -1,4 +1,5 @@
1
+ import type { ReactNode } from 'react';
1
2
  export declare function UsedTip(props: {
2
3
  wellName: string;
3
4
  size?: string;
4
- }): JSX.Element;
5
+ }): ReactNode;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { LabwareWellMap } from '@opentrons/shared-data';
2
3
  import type { ParentType } from '../types';
3
4
  interface EmptyWellProps {
@@ -6,5 +7,5 @@ interface EmptyWellProps {
6
7
  wellName: string;
7
8
  size: string;
8
9
  }
9
- export declare function EmptyWell({ size, wellMap, wellName, parentType, }: EmptyWellProps): JSX.Element;
10
+ export declare function EmptyWell({ size, wellMap, wellName, parentType, }: EmptyWellProps): ReactNode;
10
11
  export {};
@@ -1,4 +1,4 @@
1
- import type { MemoExoticComponent } from 'react';
1
+ import type { MemoExoticComponent, ReactNode } from 'react';
2
2
  import type { LabwareDefinition } from '@opentrons/shared-data';
3
3
  import type { WellFillByName, WellStroke } from './constants';
4
4
  export interface FilledWellsProps {
@@ -6,6 +6,6 @@ export interface FilledWellsProps {
6
6
  fillByWell: WellFillByName;
7
7
  strokeColor?: WellStroke;
8
8
  }
9
- declare function FilledWellsComponent(props: FilledWellsProps): JSX.Element;
9
+ declare function FilledWellsComponent(props: FilledWellsProps): ReactNode;
10
10
  export declare const FilledWells: MemoExoticComponent<typeof FilledWellsComponent>;
11
11
  export {};
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { LabwareWellMap } from '@opentrons/shared-data';
2
3
  interface SelectedWellProps {
3
4
  wellMap: LabwareWellMap;
@@ -9,5 +10,5 @@ interface SelectedWellProps {
9
10
  isSelected?: boolean;
10
11
  showStroke?: boolean;
11
12
  }
12
- export declare function SelectedWell(props: SelectedWellProps): JSX.Element;
13
+ export declare function SelectedWell(props: SelectedWellProps): ReactNode;
13
14
  export {};
@@ -1,9 +1,9 @@
1
- import type { MemoExoticComponent } from 'react';
1
+ import type { MemoExoticComponent, ReactNode } from 'react';
2
2
  import type { LabwareDefinition } from '@opentrons/shared-data';
3
3
  import type { WellStrokeByName } from './constants';
4
4
  export interface StrokedWellProps {
5
5
  definition: LabwareDefinition;
6
6
  strokeByWell?: WellStrokeByName;
7
7
  }
8
- export declare function StrokedWellsComponent(props: StrokedWellProps): JSX.Element;
8
+ export declare function StrokedWellsComponent(props: StrokedWellProps): ReactNode;
9
9
  export declare const StrokedWells: MemoExoticComponent<typeof StrokedWellsComponent>;
@@ -1,4 +1,4 @@
1
- import type { CSSProperties, MemoExoticComponent } from 'react';
1
+ import type { CSSProperties, MemoExoticComponent, ReactNode } from 'react';
2
2
  import type { LabwareDefinition } from '@opentrons/shared-data';
3
3
  import type { WellGroup } from './constants';
4
4
  type WellContents = 'tipPresent' | 'tipMissing' | 'defaultWell' | 'disabledWell' | 'highlightedWell' | 'selectedWell';
@@ -14,6 +14,6 @@ export declare const STYLE_BY_WELL_CONTENTS: {
14
14
  strokeWidth: CSSProperties['strokeWidth'];
15
15
  };
16
16
  };
17
- declare function StyledWellsComponent(props: StyledWellProps): JSX.Element;
17
+ declare function StyledWellsComponent(props: StyledWellProps): ReactNode;
18
18
  export declare const StyledWells: MemoExoticComponent<typeof StyledWellsComponent>;
19
19
  export {};
@@ -1,4 +1,4 @@
1
- import type { CSSProperties, MemoExoticComponent } from 'react';
1
+ import type { CSSProperties, MemoExoticComponent, ReactNode } from 'react';
2
2
  import type { LabwareWell } from '@opentrons/shared-data';
3
3
  import type { WellMouseEvent } from './constants';
4
4
  export interface WellProps extends CSSProperties {
@@ -15,5 +15,5 @@ export interface WellProps extends CSSProperties {
15
15
  /** Provides well data attribute */
16
16
  isInteractive?: boolean;
17
17
  }
18
- export declare function WellComponent(props: WellProps): JSX.Element;
18
+ export declare function WellComponent(props: WellProps): ReactNode;
19
19
  export declare const Well: MemoExoticComponent<typeof WellComponent>;
@@ -1,4 +1,4 @@
1
- import type { MemoExoticComponent } from 'react';
1
+ import type { MemoExoticComponent, ReactNode } from 'react';
2
2
  import type { LabwareDefinition } from '@opentrons/shared-data';
3
3
  import type { WellLabelOption } from '../../LabwareRender';
4
4
  import type { HighlightedWellLabels } from './constants';
@@ -8,5 +8,5 @@ export interface WellLabelsProps {
8
8
  highlightedWellLabels?: HighlightedWellLabels;
9
9
  wellLabelColor?: string;
10
10
  }
11
- export declare function WellLabelsComponent(props: WellLabelsProps): JSX.Element;
11
+ export declare function WellLabelsComponent(props: WellLabelsProps): ReactNode;
12
12
  export declare const WellLabels: MemoExoticComponent<typeof WellLabelsComponent>;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { LabwareWellMap } from '@opentrons/shared-data';
2
3
  import type { ParentType, WellType } from '../types';
3
4
  interface WellStatusProps {
@@ -8,5 +9,5 @@ interface WellStatusProps {
8
9
  size: string;
9
10
  showStroke?: boolean;
10
11
  }
11
- export declare function WellStatus(props: WellStatusProps): JSX.Element;
12
+ export declare function WellStatus(props: WellStatusProps): ReactNode;
12
13
  export {};
@@ -1 +1,2 @@
1
- export declare function FlexStacker(): JSX.Element;
1
+ import type { ReactNode } from 'react';
2
+ export declare function FlexStacker(): ReactNode;
@@ -1,4 +1,5 @@
1
+ import type { ReactNode } from 'react';
1
2
  export interface HeaterShakerVizProps {
2
3
  targetTemp: number | null;
3
4
  }
4
- export declare function HeaterShaker(props: HeaterShakerVizProps): JSX.Element;
5
+ export declare function HeaterShaker(props: HeaterShakerVizProps): ReactNode;
@@ -1 +1,2 @@
1
- export declare function MagneticBlock(): JSX.Element;
1
+ import type { ReactNode } from 'react';
2
+ export declare function MagneticBlock(): ReactNode;
@@ -1 +1,2 @@
1
- export declare function MagneticModule(): JSX.Element;
1
+ import type { ReactNode } from 'react';
2
+ export declare function MagneticModule(): ReactNode;
@@ -6,4 +6,4 @@ export interface ModuleTagProps {
6
6
  width: number;
7
7
  children: ReactNode;
8
8
  }
9
- export declare const ModuleTag: (props: ModuleTagProps) => JSX.Element;
9
+ export declare const ModuleTag: (props: ModuleTagProps) => ReactNode;
@@ -1 +1,2 @@
1
- export declare function PlateReader(): JSX.Element;
1
+ import type { ReactNode } from 'react';
2
+ export declare function PlateReader(): ReactNode;
@@ -1,4 +1,5 @@
1
+ import type { ReactNode } from 'react';
1
2
  export interface TemperatureVizProps {
2
3
  targetTemperature: number | null;
3
4
  }
4
- export declare function Temperature(props: TemperatureVizProps): JSX.Element;
5
+ export declare function Temperature(props: TemperatureVizProps): ReactNode;
@@ -1,6 +1,7 @@
1
+ import type { ReactNode } from 'react';
1
2
  interface ThermocyclerGEN1Props {
2
3
  lidMotorState: 'open' | 'closed';
3
4
  ledLightColor: string;
4
5
  }
5
- export declare function ThermocyclerGEN1(props: ThermocyclerGEN1Props): JSX.Element;
6
+ export declare function ThermocyclerGEN1(props: ThermocyclerGEN1Props): ReactNode;
6
7
  export {};
@@ -1,6 +1,7 @@
1
+ import type { ReactNode } from 'react';
1
2
  interface ThermocyclerGEN2Props {
2
3
  lidMotorState: 'open' | 'closed';
3
4
  ledLightColor: string;
4
5
  }
5
- export declare function ThermocyclerGEN2(props: ThermocyclerGEN2Props): JSX.Element;
6
+ export declare function ThermocyclerGEN2(props: ThermocyclerGEN2Props): ReactNode;
6
7
  export {};
@@ -1,7 +1,8 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { ThermocyclerModuleModel } from '@opentrons/shared-data';
2
3
  export interface ThermocyclerVizProps {
3
4
  lidMotorState: 'open' | 'closed' | 'unknown';
4
5
  blockTargetTemp?: number | null;
5
6
  model: ThermocyclerModuleModel;
6
7
  }
7
- export declare function Thermocycler(props: ThermocyclerVizProps): JSX.Element;
8
+ export declare function Thermocycler(props: ThermocyclerVizProps): ReactNode;
@@ -1 +1,2 @@
1
- export declare function Vacuum(): JSX.Element;
1
+ import type { ReactNode } from 'react';
2
+ export declare function Vacuum(): ReactNode;
@@ -58,4 +58,4 @@ interface Props {
58
58
  setSelectedSlot?: Dispatch<SetStateAction<string | null>>;
59
59
  setHoveredSlot?: Dispatch<SetStateAction<string | null>>;
60
60
  }
61
- export declare const Module: (props: Props) => JSX.Element;
61
+ export declare const Module: (props: Props) => ReactNode;
@@ -1,4 +1,5 @@
1
+ import type { ReactNode } from 'react';
1
2
  export declare const EightEmanatingNozzles: (props: {
2
3
  cx: number;
3
4
  initialCy: number;
4
- }) => JSX.Element;
5
+ }) => ReactNode;
@@ -1,4 +1,5 @@
1
+ import type { ReactNode } from 'react';
1
2
  export declare const EmanatingNozzle: (props: {
2
3
  cx: number;
3
4
  cy: number;
4
- }) => JSX.Element;
5
+ }) => ReactNode;
@@ -1,8 +1,9 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { LabwareDefinition, PipetteName } from '@opentrons/shared-data';
2
3
  interface PipetteRenderProps {
3
4
  labwareDef: LabwareDefinition;
4
5
  pipetteName: PipetteName;
5
6
  usingMetalProbe?: boolean;
6
7
  }
7
- export declare const PipetteRender: (props: PipetteRenderProps) => JSX.Element;
8
+ export declare const PipetteRender: (props: PipetteRenderProps) => ReactNode;
8
9
  export {};
@@ -1,4 +1,4 @@
1
- import type { MemoExoticComponent } from 'react';
1
+ import type { MemoExoticComponent, ReactNode } from 'react';
2
2
  import type { PipetteV2Specs } from '@opentrons/shared-data';
3
3
  import type { WellType } from '../..';
4
4
  export interface StrokedNozzleProps {
@@ -6,5 +6,5 @@ export interface StrokedNozzleProps {
6
6
  nozzleStatus: Record<string, WellType>;
7
7
  handleClickNozzle: (nozzleName: string) => void;
8
8
  }
9
- export declare function StrokedNozzlesComponent(props: StrokedNozzleProps): JSX.Element;
9
+ export declare function StrokedNozzlesComponent(props: StrokedNozzleProps): ReactNode;
10
10
  export declare const StrokedNozzles: MemoExoticComponent<typeof StrokedNozzlesComponent>;
@@ -5,5 +5,5 @@ interface RobotCoordinateSpaceProps {
5
5
  height?: string;
6
6
  viewBox?: string;
7
7
  }
8
- export declare function RobotCoordinateSpace(props: RobotCoordinateSpaceProps): JSX.Element;
8
+ export declare function RobotCoordinateSpace(props: RobotCoordinateSpaceProps): ReactNode;
9
9
  export {};