@opentrons/components 0.1.5 → 0.1.6-alpha.10

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 (299) hide show
  1. package/Makefile +10 -9
  2. package/README.md +1 -15
  3. package/babel.config.cjs +21 -0
  4. package/lib/alerts/AlertItem.d.ts +1 -1
  5. package/lib/atoms/Checkbox/__tests__/Checkbox.test.d.ts +1 -0
  6. package/lib/atoms/Checkbox/index.d.ts +24 -0
  7. package/lib/atoms/CheckboxField/__tests__/CheckboxField.test.d.ts +1 -1
  8. package/lib/atoms/CheckboxField/index.d.ts +1 -1
  9. package/lib/atoms/Chip/index.d.ts +20 -0
  10. package/lib/atoms/Divider/index.d.ts +5 -0
  11. package/lib/atoms/InputField/__tests__/InputField.test.d.ts +1 -0
  12. package/lib/atoms/InputField/index.d.ts +68 -0
  13. package/lib/atoms/ListButton/ListButtonChildren/ListButtonAccordion.d.ts +10 -0
  14. package/lib/atoms/ListButton/ListButtonChildren/ListButtonAccordionContainer.d.ts +7 -0
  15. package/lib/atoms/ListButton/ListButtonChildren/ListButtonRadioButton.d.ts +14 -0
  16. package/lib/atoms/ListButton/ListButtonChildren/index.d.ts +3 -0
  17. package/lib/atoms/ListButton/__tests__/ListButton.test.d.ts +1 -0
  18. package/lib/atoms/ListButton/__tests__/ListButtonAccordion.test.d.ts +1 -0
  19. package/lib/atoms/ListButton/__tests__/ListButtonRadioButton.test.d.ts +1 -0
  20. package/lib/atoms/ListButton/index.d.ts +11 -0
  21. package/lib/atoms/ListItem/ListItemChildren/ListItemCustomize.d.ts +15 -0
  22. package/lib/atoms/ListItem/ListItemChildren/ListItemDescriptor.d.ts +7 -0
  23. package/lib/atoms/ListItem/ListItemChildren/index.d.ts +2 -0
  24. package/lib/atoms/ListItem/__tests__/ListItem.test.d.ts +1 -0
  25. package/lib/atoms/ListItem/index.d.ts +14 -0
  26. package/lib/atoms/MenuList/MenuItem.d.ts +7 -0
  27. package/lib/atoms/MenuList/OverflowBtn.d.ts +7 -0
  28. package/lib/atoms/MenuList/__tests__/MenuItem.test.d.ts +1 -0
  29. package/lib/atoms/MenuList/__tests__/MenuList.test.d.ts +1 -0
  30. package/lib/atoms/MenuList/__tests__/OverflowBtn.test.d.ts +1 -0
  31. package/lib/atoms/MenuList/index.d.ts +8 -0
  32. package/lib/atoms/Snackbar/__tests__/Snackbar.test.d.ts +1 -0
  33. package/lib/atoms/Snackbar/index.d.ts +7 -0
  34. package/lib/atoms/StepMeter/index.d.ts +2 -1
  35. package/lib/atoms/StyledText/LegacyStyledText.d.ts +6 -0
  36. package/lib/atoms/StyledText/StyledText.d.ts +154 -0
  37. package/lib/atoms/StyledText/index.d.ts +2 -0
  38. package/lib/atoms/Tag/__tests__/Tag.test.d.ts +1 -0
  39. package/lib/atoms/Tag/index.d.ts +13 -0
  40. package/lib/atoms/Toast/__tests__/ODDToast.test.d.ts +1 -0
  41. package/lib/atoms/Toast/__tests__/Toast.test.d.ts +1 -0
  42. package/lib/atoms/Toast/index.d.ts +25 -0
  43. package/lib/atoms/ToggleGroup/__tests__/ToggleGroup.test.d.ts +1 -0
  44. package/lib/atoms/ToggleGroup/index.d.ts +9 -0
  45. package/lib/atoms/Tooltip/__tests__/Tooltip.test.d.ts +1 -0
  46. package/lib/atoms/Tooltip/index.d.ts +11 -0
  47. package/lib/atoms/buttons/AlertPrimaryButton.d.ts +1 -2
  48. package/lib/atoms/buttons/AltPrimaryButton.d.ts +1 -0
  49. package/lib/atoms/buttons/EmptySelectorButton.d.ts +10 -0
  50. package/lib/atoms/buttons/LargeButton.d.ts +17 -0
  51. package/lib/atoms/buttons/PrimaryButton.d.ts +1 -2
  52. package/lib/atoms/buttons/RadioButton.d.ts +21 -0
  53. package/lib/atoms/buttons/__tests__/AlertPrimaryButton.test.d.ts +1 -1
  54. package/lib/atoms/buttons/__tests__/AltPrimaryButton.test.d.ts +1 -0
  55. package/lib/atoms/buttons/__tests__/EmptySelectorButton.test.d.ts +1 -0
  56. package/lib/atoms/buttons/__tests__/LargeButton.test.d.ts +1 -0
  57. package/lib/atoms/buttons/__tests__/PrimaryButton.test.d.ts +1 -1
  58. package/lib/atoms/buttons/__tests__/RadioButton.test.d.ts +1 -0
  59. package/lib/atoms/buttons/__tests__/SecondaryButton.test.d.ts +1 -1
  60. package/lib/atoms/buttons/index.d.ts +3 -0
  61. package/lib/atoms/index.d.ts +18 -1
  62. package/lib/buttons/Button.d.ts +3 -2
  63. package/lib/buttons/DeprecatedPrimaryButton.d.ts +0 -1
  64. package/lib/buttons/FlatButton.d.ts +0 -1
  65. package/lib/buttons/IconButton.d.ts +0 -1
  66. package/lib/buttons/OutlineButton.d.ts +0 -1
  67. package/lib/controls/ControlInfo.d.ts +1 -1
  68. package/lib/controls/LabeledButton.d.ts +1 -1
  69. package/lib/controls/LabeledCheckbox.d.ts +1 -1
  70. package/lib/controls/LabeledControl.d.ts +1 -1
  71. package/lib/controls/LabeledRadioGroup.d.ts +1 -1
  72. package/lib/controls/LabeledSelect.d.ts +1 -1
  73. package/lib/controls/LabeledToggle.d.ts +1 -1
  74. package/lib/controls/StackedLabeledControl.d.ts +1 -1
  75. package/lib/controls/ToggleButton.d.ts +0 -1
  76. package/lib/forms/DeprecatedCheckboxField.d.ts +1 -1
  77. package/lib/forms/DropdownField.d.ts +3 -3
  78. package/lib/forms/FormGroup.d.ts +1 -1
  79. package/lib/forms/{InputField.d.ts → LegacyInputField.d.ts} +4 -4
  80. package/lib/forms/RadioGroup.d.ts +1 -1
  81. package/lib/forms/Select.d.ts +1 -2
  82. package/lib/forms/SelectField.d.ts +1 -1
  83. package/lib/forms/ToggleField.d.ts +1 -1
  84. package/lib/forms/__tests__/DeprecatedCheckboxField.test.d.ts +1 -0
  85. package/lib/forms/__tests__/DropdownField.test.d.ts +1 -0
  86. package/lib/forms/__tests__/InputField.test.d.ts +1 -0
  87. package/lib/forms/__tests__/Select.test.d.ts +1 -0
  88. package/lib/forms/__tests__/SelectField.test.d.ts +1 -0
  89. package/lib/forms/__tests__/ToggleField.test.d.ts +1 -0
  90. package/lib/forms/index.d.ts +1 -1
  91. package/lib/hardware-sim/BaseDeck/BaseDeck.d.ts +9 -2
  92. package/lib/hardware-sim/BaseDeck/SingleSlotFixture.d.ts +1 -1
  93. package/lib/hardware-sim/BaseDeck/SlotBase.d.ts +1 -1
  94. package/lib/hardware-sim/BaseDeck/SlotClip.d.ts +1 -1
  95. package/lib/hardware-sim/BaseDeck/StagingAreaFixture.d.ts +1 -1
  96. package/lib/hardware-sim/BaseDeck/WasteChuteFixture.d.ts +2 -3
  97. package/lib/hardware-sim/BaseDeck/WasteChuteStagingAreaFixture.d.ts +1 -1
  98. package/lib/hardware-sim/Deck/DeckFromLayers.d.ts +0 -1
  99. package/lib/hardware-sim/Deck/MoveLabwareOnDeck.d.ts +1 -2
  100. package/lib/hardware-sim/Deck/OT2Layers.d.ts +0 -1
  101. package/lib/hardware-sim/Deck/RobotCoordsForeignDiv.d.ts +1 -1
  102. package/lib/hardware-sim/Deck/RobotCoordsForeignObject.d.ts +1 -1
  103. package/lib/hardware-sim/Deck/RobotCoordsText.d.ts +1 -1
  104. package/lib/hardware-sim/Deck/RobotWorkSpace.d.ts +1 -1
  105. package/lib/hardware-sim/Deck/__mocks__/getDeckDefinitions.d.ts +1 -2
  106. package/lib/hardware-sim/Deck/index.d.ts +0 -1
  107. package/lib/hardware-sim/DeckConfigurator/AbsorbanceReaderFixture.d.ts +10 -0
  108. package/lib/hardware-sim/DeckConfigurator/EmptyConfigFixture.d.ts +0 -1
  109. package/lib/hardware-sim/DeckConfigurator/HeaterShakerFixture.d.ts +10 -0
  110. package/lib/hardware-sim/DeckConfigurator/MagneticBlockFixture.d.ts +11 -0
  111. package/lib/hardware-sim/DeckConfigurator/StagingAreaConfigFixture.d.ts +4 -3
  112. package/lib/hardware-sim/DeckConfigurator/StaticFixture.d.ts +12 -0
  113. package/lib/hardware-sim/DeckConfigurator/TemperatureModuleFixture.d.ts +10 -0
  114. package/lib/hardware-sim/DeckConfigurator/ThermocyclerFixture.d.ts +10 -0
  115. package/lib/hardware-sim/DeckConfigurator/TrashBinConfigFixture.d.ts +4 -3
  116. package/lib/hardware-sim/DeckConfigurator/WasteChuteConfigFixture.d.ts +4 -3
  117. package/lib/hardware-sim/DeckConfigurator/constants.d.ts +6 -1
  118. package/lib/hardware-sim/DeckConfigurator/index.d.ts +10 -4
  119. package/lib/hardware-sim/DeckSlotLocation/index.d.ts +1 -1
  120. package/lib/hardware-sim/Labware/Labware.d.ts +39 -0
  121. package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96DeepWellAdapter.d.ts +0 -1
  122. package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96FlatBottomAdapter.d.ts +0 -1
  123. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAluminumFlatBottomPlate.d.ts +0 -1
  124. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAutoclavableDeckRiser.d.ts +1 -0
  125. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsFlex96TiprackAdapter.d.ts +0 -1
  126. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsToughPCRAutoSealingLid.d.ts +1 -0
  127. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapter.d.ts +0 -1
  128. package/lib/hardware-sim/Labware/LabwareAdapter/index.d.ts +8 -0
  129. package/lib/hardware-sim/Labware/LabwareRender.d.ts +6 -2
  130. package/lib/hardware-sim/Labware/LabwareStackRender.d.ts +20 -0
  131. package/lib/hardware-sim/Labware/__tests__/Labware.test.d.ts +1 -0
  132. package/lib/hardware-sim/Labware/__tests__/LabwareRender.test.d.ts +1 -1
  133. package/lib/hardware-sim/Labware/index.d.ts +3 -1
  134. package/lib/hardware-sim/Labware/labwareInternals/FilledWells.d.ts +1 -0
  135. package/lib/hardware-sim/Labware/labwareInternals/LabwareOutline.d.ts +4 -1
  136. package/lib/hardware-sim/Labware/labwareInternals/LabwareWellLabels.d.ts +15 -0
  137. package/lib/hardware-sim/Labware/labwareInternals/StaticLabware.d.ts +9 -1
  138. package/lib/hardware-sim/Labware/labwareInternals/Well.d.ts +2 -1
  139. package/lib/hardware-sim/Labware/labwareInternals/WellLabels.d.ts +1 -1
  140. package/lib/hardware-sim/Labware/labwareInternals/__tests__/LabwareWellLabels.test.d.ts +1 -0
  141. package/lib/hardware-sim/Labware/labwareInternals/__tests__/StrokedWells.test.d.ts +1 -1
  142. package/lib/hardware-sim/Labware/labwareInternals/__tests__/WellLabels.test.d.ts +1 -1
  143. package/lib/hardware-sim/Labware/labwareInternals/index.d.ts +2 -0
  144. package/lib/hardware-sim/Labware/labwareInternals/types.d.ts +1 -1
  145. package/lib/hardware-sim/Module/HeaterShaker.d.ts +0 -1
  146. package/lib/hardware-sim/Module/MagneticBlock.d.ts +0 -1
  147. package/lib/hardware-sim/Module/MagneticModule.d.ts +0 -1
  148. package/lib/hardware-sim/Module/ModuleTag.d.ts +1 -1
  149. package/lib/hardware-sim/Module/PlateReader.d.ts +1 -0
  150. package/lib/hardware-sim/Module/Temperature.d.ts +0 -1
  151. package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN1.d.ts +0 -1
  152. package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN2.d.ts +0 -1
  153. package/lib/hardware-sim/Module/Thermocycler/index.d.ts +1 -2
  154. package/lib/hardware-sim/Module/index.d.ts +2 -2
  155. package/lib/hardware-sim/Pipette/PipetteRender.d.ts +1 -1
  156. package/lib/hardware-sim/ProtocolDeck/LabwareInfo.d.ts +2 -2
  157. package/lib/hardware-sim/ProtocolDeck/index.d.ts +4 -2
  158. package/lib/hardware-sim/ProtocolDeck/utils/index.d.ts +1 -0
  159. package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpace.d.ts +1 -1
  160. package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpaceWithRef.d.ts +16 -0
  161. package/lib/hardware-sim/RobotCoordinateSpace/index.d.ts +1 -1
  162. package/lib/hardware-sim/utils.d.ts +1 -1
  163. package/lib/helix-design-system/borders.d.ts +26 -0
  164. package/lib/helix-design-system/colors.d.ts +11 -0
  165. package/lib/helix-design-system/index.d.ts +3 -0
  166. package/lib/helix-design-system/product/index.d.ts +1 -0
  167. package/lib/helix-design-system/product/typography.d.ts +79 -0
  168. package/lib/helix-design-system/style.d.ts +1 -0
  169. package/lib/hooks/__tests__/useConditionalConfirm.test.d.ts +1 -0
  170. package/lib/hooks/__tests__/useInterval.test.d.ts +1 -0
  171. package/lib/hooks/__tests__/useMountEffect.test.d.ts +1 -0
  172. package/lib/hooks/__tests__/usePrevious.test.d.ts +1 -0
  173. package/lib/hooks/__tests__/useTimeout.test.d.ts +1 -0
  174. package/lib/hooks/__tests__/useToggle.test.d.ts +1 -0
  175. package/lib/hooks/index.d.ts +1 -0
  176. package/lib/hooks/useConditionalConfirm.d.ts +3 -2
  177. package/lib/hooks/useDrag.d.ts +1 -1
  178. package/lib/hooks/useLongPress.d.ts +1 -1
  179. package/lib/hooks/useMenuHandleClickOutside.d.ts +9 -0
  180. package/lib/hooks/useSelectDeckLocation/index.d.ts +1 -3
  181. package/lib/hooks/useSwipe.d.ts +1 -1
  182. package/lib/icons/Icon.d.ts +1 -1
  183. package/lib/icons/ModuleIcon.d.ts +2 -3
  184. package/lib/icons/NotificationIcon.d.ts +0 -1
  185. package/lib/icons/icon-data.d.ts +4 -582
  186. package/lib/icons/index.d.ts +1 -0
  187. package/lib/index.cjs +732 -0
  188. package/lib/index.d.ts +1 -3
  189. package/lib/index.mjs +36590 -0
  190. package/lib/instrument/InstrumentDiagram.d.ts +3 -4
  191. package/lib/instrument/InstrumentGroup.d.ts +0 -1
  192. package/lib/instrument/InstrumentInfo.d.ts +5 -11
  193. package/lib/instrument/__tests__/InstrumentInfo.test.d.ts +1 -0
  194. package/lib/instrument/__tests__/PipetteSelect.test.d.ts +1 -0
  195. package/lib/instrument/index.d.ts +0 -1
  196. package/lib/interaction-enhancers/__tests__/useHover.test.d.ts +1 -0
  197. package/lib/legacy-hardware-sim/LabwareNameOverlay.d.ts +0 -1
  198. package/lib/legacy-hardware-sim/ModuleItem.d.ts +0 -1
  199. package/lib/lists/SidePanelGroup.d.ts +1 -1
  200. package/lib/lists/index.d.ts +0 -1
  201. package/lib/modals/AlertModal.d.ts +2 -1
  202. package/lib/modals/ContinueModal.d.ts +1 -1
  203. package/lib/modals/LegacyModal.d.ts +24 -0
  204. package/lib/modals/Modal.d.ts +21 -20
  205. package/lib/modals/ModalHeader.d.ts +13 -0
  206. package/lib/modals/ModalShell.d.ts +11 -2
  207. package/lib/modals/Overlay.d.ts +1 -1
  208. package/lib/modals/SpinnerModal.d.ts +1 -1
  209. package/lib/modals/SpinnerModalPage.d.ts +2 -1
  210. package/lib/modals/__tests__/Modal.test.d.ts +1 -0
  211. package/lib/modals/__tests__/ModalHeader.test.d.ts +1 -0
  212. package/lib/modals/__tests__/ModalShell.test.d.ts +1 -0
  213. package/lib/modals/index.d.ts +5 -5
  214. package/lib/molecules/Banner/__tests__/Banner.test.d.ts +1 -0
  215. package/lib/molecules/Banner/index.d.ts +23 -0
  216. package/lib/molecules/DeckInfoLabel/__tests__/DeckInfoLabel.test.d.ts +1 -0
  217. package/lib/molecules/DeckInfoLabel/index.d.ts +19 -0
  218. package/lib/molecules/DeckLabel/__tests__/DeckLabel.test.d.ts +1 -0
  219. package/lib/molecules/DeckLabel/index.d.ts +10 -0
  220. package/lib/molecules/DropdownMenu/__tests__/DropdownMenu.test.d.ts +1 -0
  221. package/lib/molecules/DropdownMenu/index.d.ts +41 -0
  222. package/lib/molecules/InfoScreen/__tests__/InfoScreen.test.d.ts +1 -0
  223. package/lib/molecules/InfoScreen/index.d.ts +6 -0
  224. package/lib/molecules/LiquidIcon/__tests__/LiquidIcon.test.d.ts +1 -0
  225. package/lib/molecules/LiquidIcon/index.d.ts +9 -0
  226. package/lib/molecules/ParametersTable/__tests__/ParametersTable.test.d.ts +1 -0
  227. package/lib/molecules/ParametersTable/index.d.ts +10 -0
  228. package/lib/molecules/Tabs/__tests__/Tabs.test.d.ts +1 -0
  229. package/lib/molecules/Tabs/index.d.ts +10 -0
  230. package/lib/molecules/index.d.ts +8 -2
  231. package/lib/nav/SidePanel.d.ts +1 -1
  232. package/lib/organisms/DeckLabelSet/__tests__/DeckLabelSet.test.d.ts +1 -0
  233. package/lib/organisms/DeckLabelSet/index.d.ts +11 -0
  234. package/lib/organisms/EndUserAgreementFooter/__tests__/EndUserAgreementFooter.test.d.ts +1 -0
  235. package/lib/organisms/EndUserAgreementFooter/index.d.ts +1 -0
  236. package/lib/organisms/Toolbox/__tests__/Toolbox.test.d.ts +1 -0
  237. package/lib/organisms/Toolbox/index.d.ts +20 -0
  238. package/lib/organisms/index.d.ts +3 -0
  239. package/lib/primitives/Btn.d.ts +11 -13
  240. package/lib/primitives/__tests__/Box.test.d.ts +1 -0
  241. package/lib/primitives/__tests__/Btn.test.d.ts +1 -0
  242. package/lib/primitives/__tests__/Flex.test.d.ts +1 -0
  243. package/lib/primitives/__tests__/Link.test.d.ts +1 -0
  244. package/lib/primitives/__tests__/Svg.test.d.ts +1 -0
  245. package/lib/primitives/__tests__/Text.test.d.ts +1 -0
  246. package/lib/primitives/__tests__/primitives.test.d.ts +1 -0
  247. package/lib/primitives/__tests__/style-props.test.d.ts +1 -0
  248. package/lib/primitives/types.d.ts +1 -2
  249. package/lib/slotmap/{SlotMap.d.ts → OT2SlotMap.d.ts} +1 -4
  250. package/lib/slotmap/__tests__/OT2SlotMap.test.d.ts +1 -0
  251. package/lib/slotmap/index.d.ts +1 -1
  252. package/lib/structure/Card.d.ts +1 -1
  253. package/lib/structure/LabeledValue.d.ts +1 -1
  254. package/lib/structure/Pill.d.ts +1 -1
  255. package/lib/structure/Splash.d.ts +0 -1
  256. package/lib/structure/TitleBar.d.ts +2 -2
  257. package/lib/structure/index.d.ts +0 -1
  258. package/lib/style.css +1 -0
  259. package/lib/styles/cursor.d.ts +10 -0
  260. package/lib/styles/flexbox.d.ts +6 -0
  261. package/lib/styles/index.d.ts +1 -0
  262. package/lib/styles/layout.d.ts +1 -0
  263. package/lib/testing/utils/matchers.d.ts +0 -3
  264. package/lib/testing/utils/renderWithProviders.d.ts +2 -3
  265. package/lib/tooltips/DeprecatedTooltip.d.ts +1 -1
  266. package/lib/tooltips/{Tooltip.d.ts → LegacyTooltip.d.ts} +2 -2
  267. package/lib/tooltips/__tests__/Tooltip.test.d.ts +1 -0
  268. package/lib/tooltips/__tests__/useHoverTooltip.test.d.ts +1 -0
  269. package/lib/tooltips/__tests__/usePopper.test.d.ts +1 -0
  270. package/lib/tooltips/__tests__/useTooltip.test.d.ts +1 -0
  271. package/lib/tooltips/index.d.ts +1 -1
  272. package/lib/ui-style-constants/index.d.ts +2 -2
  273. package/lib/ui-style-constants/responsiveness.d.ts +1 -0
  274. package/lib/ui-style-constants/spacing.d.ts +1 -0
  275. package/lib/ui-style-constants/typography.d.ts +1 -0
  276. package/lib/ui-style-constants/viewport.d.ts +15 -0
  277. package/package.json +10 -9
  278. package/tsconfig.json +2 -2
  279. package/typings/global.d.ts +0 -1
  280. package/vite.config.mts +65 -0
  281. package/lib/hardware-sim/Deck/getDeckDefinitions.d.ts +0 -2
  282. package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpaceWithDOMCoords.d.ts +0 -19
  283. package/lib/instrument/InfoItem.d.ts +0 -11
  284. package/lib/lists/ListItem.d.ts +0 -37
  285. package/lib/modals/BaseModal.d.ts +0 -26
  286. package/lib/modals/ModalPage.d.ts +0 -16
  287. package/lib/modals/__tests__/BaseModal.test.d.ts +0 -0
  288. package/lib/molecules/LocationIcon/index.d.ts +0 -16
  289. package/lib/molecules/RoundTab.d.ts +0 -8
  290. package/lib/opentrons-components.js +0 -16
  291. package/lib/slotmap/__tests__/SlotMap.test.d.ts +0 -0
  292. package/lib/structure/PageTabs.d.ts +0 -12
  293. package/lib/tabbedNav/NavTab.d.ts +0 -25
  294. package/lib/tabbedNav/OutsideLinkTab.d.ts +0 -24
  295. package/lib/tabbedNav/TabbedNavBar.d.ts +0 -7
  296. package/lib/tabbedNav/index.d.ts +0 -3
  297. package/lib/ui-style-constants/borders.d.ts +0 -18
  298. package/webpack.config.js +0 -38
  299. /package/lib/{molecules/LocationIcon/__tests__/LocationIcon.test.d.ts → atoms/Chip/__tests__/Chip.test.d.ts} +0 -0
@@ -0,0 +1,11 @@
1
+ import type * as React from 'react';
2
+ import type { UseTooltipResultTooltipProps } from '../../tooltips';
3
+ import type { StyleProps } from '../../primitives';
4
+ export interface TooltipProps extends StyleProps {
5
+ children: React.ReactNode;
6
+ tooltipProps: UseTooltipResultTooltipProps & {
7
+ visible: boolean;
8
+ };
9
+ key?: string;
10
+ }
11
+ export declare function Tooltip(props: TooltipProps): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare const AlertPrimaryButton: import("styled-components").StyledComponent<import("react").ComponentType<any> | keyof JSX.IntrinsicElements, any, import("../../primitives").StyleProps, any>;
1
+ export declare const AlertPrimaryButton: import("styled-components").StyledComponent<"button", any, import("../../primitives").StyleProps, any>;
@@ -0,0 +1 @@
1
+ export declare const AltPrimaryButton: import("styled-components").StyledComponent<"button", any, import("../..").StyleProps, any>;
@@ -0,0 +1,10 @@
1
+ import type { IconName } from '../../index';
2
+ interface EmptySelectorButtonProps {
3
+ onClick: () => void;
4
+ text: string;
5
+ textAlignment: 'left' | 'middle';
6
+ iconName?: IconName;
7
+ disabled?: boolean;
8
+ }
9
+ export declare function EmptySelectorButton(props: EmptySelectorButtonProps): JSX.Element;
10
+ export {};
@@ -0,0 +1,17 @@
1
+ import type * as React from 'react';
2
+ import type { StyleProps } from '../../primitives';
3
+ import type { IconName } from '../../icons';
4
+ type LargeButtonTypes = 'primary' | 'secondary' | 'alert' | 'alertStroke' | 'alertAlt' | 'stroke';
5
+ interface LargeButtonProps extends StyleProps {
6
+ /** used for form submission */
7
+ type?: 'submit';
8
+ onClick?: () => void;
9
+ buttonType?: LargeButtonTypes;
10
+ buttonText: React.ReactNode;
11
+ iconName?: IconName;
12
+ disabled?: boolean;
13
+ /** aria-disabled for displaying snack bar. */
14
+ ariaDisabled?: boolean;
15
+ }
16
+ export declare function LargeButton(props: LargeButtonProps): JSX.Element;
17
+ export {};
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
- export declare const PrimaryButton: import("styled-components").StyledComponent<import("react").ComponentType<any> | keyof JSX.IntrinsicElements, any, import("../../primitives").StyleProps, any>;
1
+ export declare const PrimaryButton: import("styled-components").StyledComponent<"button", any, import("../../primitives").StyleProps, any>;
@@ -0,0 +1,21 @@
1
+ import type * as React from 'react';
2
+ import type { IconName } from '../../icons';
3
+ import type { StyleProps } from '../../primitives';
4
+ interface RadioButtonProps extends StyleProps {
5
+ buttonLabel: string | React.ReactNode;
6
+ buttonValue: string | number;
7
+ onChange: React.ChangeEventHandler<HTMLInputElement>;
8
+ disabled?: boolean;
9
+ iconName?: IconName;
10
+ isSelected?: boolean;
11
+ largeDesktopBorderRadius?: boolean;
12
+ radioButtonType?: 'large' | 'small';
13
+ subButtonLabel?: string;
14
+ id?: string;
15
+ maxLines?: number;
16
+ setNoHover?: () => void;
17
+ setHovered?: () => void;
18
+ error?: string | null;
19
+ }
20
+ export declare function RadioButton(props: RadioButtonProps): JSX.Element;
21
+ export {};
@@ -1 +1 @@
1
- import 'jest-styled-components';
1
+ import '@testing-library/jest-dom/vitest';
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom/vitest';
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom/vitest';
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom/vitest';
@@ -1 +1 @@
1
- import 'jest-styled-components';
1
+ import '@testing-library/jest-dom/vitest';
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom/vitest';
@@ -1 +1 @@
1
- import 'jest-styled-components';
1
+ import '@testing-library/jest-dom/vitest';
@@ -1,3 +1,6 @@
1
1
  export * from './AlertPrimaryButton';
2
+ export * from './EmptySelectorButton';
3
+ export * from './LargeButton';
2
4
  export * from './PrimaryButton';
5
+ export * from './RadioButton';
3
6
  export * from './SecondaryButton';
@@ -1,3 +1,20 @@
1
+ export * from './buttons';
2
+ export * from './Checkbox';
1
3
  export * from './CheckboxField';
4
+ export * from './Chip';
5
+ export * from './Divider';
6
+ export * from './InputField';
7
+ export * from './ListButton';
8
+ export * from './ListItem';
9
+ export * from './ListItem/ListItemChildren//ListItemDescriptor';
10
+ export * from './MenuList';
11
+ export * from './MenuList/MenuItem';
12
+ export * from './MenuList/OverflowBtn';
13
+ export * from './Snackbar';
2
14
  export * from './StepMeter';
3
- export * from './buttons';
15
+ export * from './StepMeter';
16
+ export * from './StyledText';
17
+ export * from './Tag';
18
+ export * from './Toast';
19
+ export * from './ToggleGroup';
20
+ export * from './Tooltip';
@@ -1,5 +1,6 @@
1
- import * as React from 'react';
2
- import { BUTTON_TYPE_SUBMIT, BUTTON_TYPE_RESET, BUTTON_TYPE_BUTTON } from '../primitives';
1
+ import type * as React from 'react';
2
+ import { BUTTON_TYPE_BUTTON } from '../primitives';
3
+ import type { BUTTON_TYPE_SUBMIT, BUTTON_TYPE_RESET } from '../primitives';
3
4
  import type { IconName } from '../icons';
4
5
  import type { UseHoverTooltipTargetProps } from '../tooltips';
5
6
  export interface ButtonProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ButtonProps } from './Button';
3
2
  /**
4
3
  * Primary application button. Fills its container and has a dark
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ButtonProps } from './Button';
3
2
  /**
4
3
  * Flat-styled button with a default width of `9rem` and no background fill
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps } from '../icons';
3
2
  import type { ButtonProps } from './Button';
4
3
  interface Props extends ButtonProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ButtonProps } from './Button';
3
2
  /**
4
3
  * Button with no background fill and a dark border.
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  export interface ControlInfoProps {
3
3
  children: React.ReactNode;
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import type { ButtonProps } from '../buttons';
3
3
  export interface LabeledButtonProps {
4
4
  label: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  export interface LabeledCheckboxProps {
3
3
  label: string;
4
4
  name: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  export interface LabeledControlProps {
3
3
  label: string;
4
4
  control: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import type { RadioGroupProps } from '../forms';
3
3
  export interface LabeledRadioGroupProps extends RadioGroupProps {
4
4
  label: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import type { DropdownFieldProps } from '../forms';
3
3
  export interface LabeledSelectProps extends DropdownFieldProps {
4
4
  label: string;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  export interface LabeledToggleProps {
3
3
  label: string;
4
4
  toggledOn: boolean;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  export interface StackedLabeledControlProps {
3
3
  label: string;
4
4
  control: React.ReactNode;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ButtonProps } from '../buttons';
3
2
  export interface ToggleButtonProps extends ButtonProps {
4
3
  toggledOn: boolean;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  /**
3
3
  * Checkbox Field Properties.
4
4
  */
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- export interface DropdownOption {
1
+ import type * as React from 'react';
2
+ export interface LegacyDropdownOption {
3
3
  name: string;
4
4
  value: string;
5
5
  disabled?: boolean;
6
6
  }
7
- export type Options = DropdownOption[];
7
+ export type Options = LegacyDropdownOption[];
8
8
  export interface DropdownFieldProps {
9
9
  /** change handler */
10
10
  onChange: React.ChangeEventHandler<HTMLSelectElement>;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import type { HoverTooltipHandlers } from '../tooltips';
3
3
  export interface FormGroupProps {
4
4
  /** text label */
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  export declare const INPUT_TYPE_TEXT: 'text';
3
3
  export declare const INPUT_TYPE_PASSWORD: 'password';
4
- export interface InputFieldProps {
4
+ export interface LegacyInputFieldProps {
5
5
  /** field is disabled if value is true */
6
6
  disabled?: boolean;
7
7
  /** change handler */
@@ -46,6 +46,6 @@ export interface InputFieldProps {
46
46
  isIndeterminate?: boolean;
47
47
  }
48
48
  /**
49
- * @deprecated Use `InputField` in App/atoms instead
49
+ * @deprecated Use `InputField`
50
50
  */
51
- export declare function InputField(props: InputFieldProps): JSX.Element;
51
+ export declare function LegacyInputField(props: LegacyInputFieldProps): JSX.Element;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  export interface RadioOption {
3
3
  name: string;
4
4
  value: string;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { components as reactSelectComponents } from 'react-select';
3
- import { POSITION_ABSOLUTE, POSITION_FIXED } from '../styles';
4
2
  import type { Props as ReactSelectProps } from 'react-select';
3
+ import type { POSITION_ABSOLUTE, POSITION_FIXED } from '../styles';
5
4
  export { reactSelectComponents };
6
5
  export declare const PLACEMENT_AUTO: 'auto';
7
6
  export declare const PLACEMENT_BOTTOM: 'bottom';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import type { SelectProps } from './Select';
3
3
  import type { ActionMeta } from 'react-select';
4
4
  import type { SelectOption } from '.';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  export interface ToggleFieldProps {
3
3
  /** change handler */
4
4
  onChange: (event: React.ChangeEvent<HTMLInputElement>) => unknown;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,7 +1,7 @@
1
1
  export * from './DeprecatedCheckboxField';
2
2
  export * from './DropdownField';
3
3
  export * from './FormGroup';
4
- export * from './InputField';
4
+ export * from './LegacyInputField';
5
5
  export * from './RadioGroup';
6
6
  export * from './Select';
7
7
  export * from './SelectField';
@@ -1,15 +1,19 @@
1
1
  import * as React from 'react';
2
2
  import { Module } from '../Module';
3
- import { Svg } from '../../primitives';
3
+ import type { Svg } from '../../primitives';
4
4
  import type { DeckConfiguration, LabwareDefinition2, LabwareLocation, ModuleLocation, ModuleModel, RobotType } from '@opentrons/shared-data';
5
- import type { WellFill } from '../Labware';
5
+ import type { WellFill, WellGroup } from '../Labware';
6
6
  export interface LabwareOnDeck {
7
7
  labwareLocation: LabwareLocation;
8
8
  definition: LabwareDefinition2;
9
9
  wellFill?: WellFill;
10
+ missingTips?: WellGroup;
10
11
  /** generic prop to render self-positioned children for each labware */
11
12
  labwareChildren?: React.ReactNode;
12
13
  onLabwareClick?: () => void;
14
+ highlight?: boolean;
15
+ highlightShadow?: boolean;
16
+ stacked?: boolean;
13
17
  }
14
18
  export interface ModuleOnDeck {
15
19
  moduleModel: ModuleModel;
@@ -20,6 +24,9 @@ export interface ModuleOnDeck {
20
24
  /** generic prop to render self-positioned children for each module */
21
25
  moduleChildren?: React.ReactNode;
22
26
  onLabwareClick?: () => void;
27
+ highlightLabware?: boolean;
28
+ highlightShadowLabware?: boolean;
29
+ stacked?: boolean;
23
30
  }
24
31
  interface BaseDeckProps {
25
32
  deckConfig: DeckConfiguration;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import type { CutoutId, DeckDefinition, ModuleType } from '@opentrons/shared-data';
3
3
  interface SingleSlotFixtureProps extends React.SVGProps<SVGGElement> {
4
4
  cutoutId: CutoutId;
@@ -1,2 +1,2 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  export declare function SlotBase(props: React.SVGProps<SVGPathElement>): JSX.Element;
@@ -1,2 +1,2 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  export declare function SlotClip(props: React.SVGProps<SVGPathElement>): JSX.Element;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import type { DeckDefinition, ModuleType } from '@opentrons/shared-data';
3
3
  export type StagingAreaLocation = 'cutoutA3' | 'cutoutB3' | 'cutoutC3' | 'cutoutD3';
4
4
  interface StagingAreaFixtureProps extends React.SVGProps<SVGGElement> {
@@ -1,6 +1,5 @@
1
- import * as React from 'react';
2
- import { WASTE_CHUTE_CUTOUT } from '@opentrons/shared-data';
3
- import type { DeckDefinition, ModuleType } from '@opentrons/shared-data';
1
+ import type * as React from 'react';
2
+ import type { WASTE_CHUTE_CUTOUT, DeckDefinition, ModuleType } from '@opentrons/shared-data';
4
3
  interface WasteChuteFixtureProps extends React.SVGProps<SVGGElement> {
5
4
  cutoutId: typeof WASTE_CHUTE_CUTOUT;
6
5
  deckDefinition: DeckDefinition;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import { WASTE_CHUTE_CUTOUT } from '@opentrons/shared-data';
3
3
  import type { DeckDefinition, ModuleType } from '@opentrons/shared-data';
4
4
  interface WasteChuteStagingAreaFixtureProps extends React.SVGProps<SVGGElement> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { RobotType } from '@opentrons/shared-data';
3
2
  export interface DeckFromLayersProps {
4
3
  robotType: RobotType;
@@ -1,6 +1,5 @@
1
1
  import * as React from 'react';
2
- import { LoadedModule, LoadedLabware } from '@opentrons/shared-data';
3
- import type { LabwareDefinition2, LabwareLocation, RobotType, DeckConfiguration } from '@opentrons/shared-data';
2
+ import type { LoadedLabware, LoadedModule, LabwareDefinition2, LabwareLocation, RobotType, DeckConfiguration } from '@opentrons/shared-data';
4
3
  import type { StyleProps } from '../../primitives';
5
4
  interface MoveLabwareOnDeckProps extends StyleProps {
6
5
  robotType: RobotType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare function FixedBase(): JSX.Element;
3
2
  export declare function FixedTrash(): JSX.Element;
4
3
  export declare function DoorStops(): JSX.Element;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import { Box } from '../../primitives';
3
3
  export interface RobotCoordsForeignDivProps {
4
4
  width?: string | number;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import { Flex, ForeignObject } from '../../primitives';
3
3
  export interface RobotCoordsForeignObjectProps {
4
4
  width: string | number;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  export interface RobotCoordsTextProps extends React.ComponentProps<'text'> {
3
3
  x: number;
4
4
  y: number;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { StyleProps } from '../../primitives';
2
+ import type { StyleProps } from '../../primitives';
3
3
  import type { DeckDefinition, DeckSlot } from '@opentrons/shared-data';
4
4
  export interface RobotWorkSpaceRenderProps {
5
5
  deckSlotsById: {
@@ -1,2 +1 @@
1
- /// <reference types="jest" />
2
- export declare const getDeckDefinitions: jest.Mock<{}, []>;
1
+ export declare const getDeckDefinitions: import("@vitest/spy").Mock<[], {}>;
@@ -1,6 +1,5 @@
1
1
  export * from './DeckFromLayers';
2
2
  export * from './FlexTrash';
3
- export * from './getDeckDefinitions';
4
3
  export * from './MoveLabwareOnDeck';
5
4
  export * from './RobotCoordsForeignDiv';
6
5
  export * from './RobotCoordsForeignObject';
@@ -0,0 +1,10 @@
1
+ import type { CutoutFixtureId, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
+ interface AbsorbanceReaderFixtureProps {
3
+ deckDefinition: DeckDefinition;
4
+ fixtureLocation: CutoutId;
5
+ cutoutFixtureId: CutoutFixtureId;
6
+ handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureId) => void;
7
+ selected?: boolean;
8
+ }
9
+ export declare function AbsorbanceReaderFixture(props: AbsorbanceReaderFixtureProps): JSX.Element;
10
+ export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { CutoutId, DeckDefinition } from '@opentrons/shared-data';
3
2
  interface EmptyConfigFixtureProps {
4
3
  deckDefinition: DeckDefinition;
@@ -0,0 +1,10 @@
1
+ import type { CutoutFixtureId, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
+ interface HeaterShakerFixtureProps {
3
+ deckDefinition: DeckDefinition;
4
+ fixtureLocation: CutoutId;
5
+ cutoutFixtureId: CutoutFixtureId;
6
+ handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureId) => void;
7
+ selected?: boolean;
8
+ }
9
+ export declare function HeaterShakerFixture(props: HeaterShakerFixtureProps): JSX.Element;
10
+ export {};
@@ -0,0 +1,11 @@
1
+ import type { CutoutFixtureId, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
+ interface MagneticBlockFixtureProps {
3
+ deckDefinition: DeckDefinition;
4
+ fixtureLocation: CutoutId;
5
+ cutoutFixtureId: CutoutFixtureId;
6
+ handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureId) => void;
7
+ hasStagingArea?: boolean;
8
+ selected?: boolean;
9
+ }
10
+ export declare function MagneticBlockFixture(props: MagneticBlockFixtureProps): JSX.Element;
11
+ export {};
@@ -1,9 +1,10 @@
1
- /// <reference types="react" />
2
- import type { CutoutId, DeckDefinition } from '@opentrons/shared-data';
1
+ import type { CutoutFixtureId, CutoutId, DeckDefinition } from '@opentrons/shared-data';
3
2
  interface StagingAreaConfigFixtureProps {
4
3
  deckDefinition: DeckDefinition;
5
4
  fixtureLocation: CutoutId;
6
- handleClickRemove?: (fixtureLocation: CutoutId) => void;
5
+ cutoutFixtureId: CutoutFixtureId;
6
+ handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureId) => void;
7
+ selected?: boolean;
7
8
  }
8
9
  export declare function StagingAreaConfigFixture(props: StagingAreaConfigFixtureProps): JSX.Element;
9
10
  export {};
@@ -0,0 +1,12 @@
1
+ import type { CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
+ interface StaticFixtureProps {
3
+ deckDefinition: DeckDefinition;
4
+ fixtureLocation: CutoutId;
5
+ label: string;
6
+ }
7
+ /**
8
+ * this component allows us to add static labeled fixtures to the center column of a deck
9
+ * config map
10
+ */
11
+ export declare function StaticFixture(props: StaticFixtureProps): JSX.Element;
12
+ export {};
@@ -0,0 +1,10 @@
1
+ import type { CutoutFixtureId, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
+ interface TemperatureModuleFixtureProps {
3
+ deckDefinition: DeckDefinition;
4
+ fixtureLocation: CutoutId;
5
+ cutoutFixtureId: CutoutFixtureId;
6
+ handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureId) => void;
7
+ selected?: boolean;
8
+ }
9
+ export declare function TemperatureModuleFixture(props: TemperatureModuleFixtureProps): JSX.Element;
10
+ export {};
@@ -0,0 +1,10 @@
1
+ import type { CutoutFixtureId, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
+ interface ThermocyclerFixtureProps {
3
+ deckDefinition: DeckDefinition;
4
+ fixtureLocation: CutoutId;
5
+ cutoutFixtureId: CutoutFixtureId;
6
+ handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureId) => void;
7
+ selected?: boolean;
8
+ }
9
+ export declare function ThermocyclerFixture(props: ThermocyclerFixtureProps): JSX.Element;
10
+ export {};
@@ -1,9 +1,10 @@
1
- /// <reference types="react" />
2
- import type { CutoutId, DeckDefinition } from '@opentrons/shared-data';
1
+ import type { CutoutFixtureId, CutoutId, DeckDefinition } from '@opentrons/shared-data';
3
2
  interface TrashBinConfigFixtureProps {
4
3
  deckDefinition: DeckDefinition;
5
4
  fixtureLocation: CutoutId;
6
- handleClickRemove?: (fixtureLocation: CutoutId) => void;
5
+ cutoutFixtureId: CutoutFixtureId;
6
+ handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureId) => void;
7
+ selected?: boolean;
7
8
  }
8
9
  export declare function TrashBinConfigFixture(props: TrashBinConfigFixtureProps): JSX.Element;
9
10
  export {};
@@ -1,10 +1,11 @@
1
- /// <reference types="react" />
2
- import type { CutoutId, DeckDefinition } from '@opentrons/shared-data';
1
+ import type { CutoutFixtureId, CutoutId, DeckDefinition } from '@opentrons/shared-data';
3
2
  interface WasteChuteConfigFixtureProps {
4
3
  deckDefinition: DeckDefinition;
5
4
  fixtureLocation: CutoutId;
6
- handleClickRemove?: (fixtureLocation: CutoutId) => void;
5
+ cutoutFixtureId: CutoutFixtureId;
6
+ handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureId) => void;
7
7
  hasStagingAreas?: boolean;
8
+ selected?: boolean;
8
9
  }
9
10
  export declare function WasteChuteConfigFixture(props: WasteChuteConfigFixtureProps): JSX.Element;
10
11
  export {};