@opentrons/components 0.1.6-alpha.18 → 0.1.6-alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/hardware-sim/BaseDeck/something.test.tsx +7 -0
- package/src/hardware-sim/Deck/SlotLabels.tsx +1 -1
- package/src/hardware-sim/ProtocolDeck/LabwareInfo.tsx +1 -1
- package/src/hardware-sim/ProtocolDeck/index.tsx +2 -2
- package/src/index.ts +2 -41
- package/src/molecules/DeckInfoLabel/index.tsx +1 -1
- package/src/molecules/DeckLabel/index.tsx +3 -3
- package/lib/__tests__/utils.test.d.ts +0 -1
- package/lib/alerts/AlertItem.d.ts +0 -21
- package/lib/alerts/index.d.ts +0 -1
- package/lib/atoms/Checkbox/__tests__/Checkbox.test.d.ts +0 -1
- package/lib/atoms/Checkbox/index.d.ts +0 -25
- package/lib/atoms/CheckboxField/__tests__/CheckboxField.test.d.ts +0 -1
- package/lib/atoms/CheckboxField/index.d.ts +0 -20
- package/lib/atoms/Chip/__tests__/Chip.test.d.ts +0 -1
- package/lib/atoms/Chip/index.d.ts +0 -20
- package/lib/atoms/Divider/index.d.ts +0 -5
- package/lib/atoms/InputField/__tests__/InputField.test.d.ts +0 -1
- package/lib/atoms/InputField/index.d.ts +0 -68
- package/lib/atoms/ListButton/ListButtonChildren/ListButtonAccordion.d.ts +0 -10
- package/lib/atoms/ListButton/ListButtonChildren/ListButtonAccordionContainer.d.ts +0 -7
- package/lib/atoms/ListButton/ListButtonChildren/ListButtonRadioButton.d.ts +0 -14
- package/lib/atoms/ListButton/ListButtonChildren/index.d.ts +0 -3
- package/lib/atoms/ListButton/__tests__/ListButton.test.d.ts +0 -1
- package/lib/atoms/ListButton/__tests__/ListButtonAccordion.test.d.ts +0 -1
- package/lib/atoms/ListButton/__tests__/ListButtonRadioButton.test.d.ts +0 -1
- package/lib/atoms/ListButton/index.d.ts +0 -11
- package/lib/atoms/ListItem/ListItemChildren/ListItemCustomize.d.ts +0 -15
- package/lib/atoms/ListItem/ListItemChildren/ListItemDescriptor.d.ts +0 -8
- package/lib/atoms/ListItem/ListItemChildren/index.d.ts +0 -2
- package/lib/atoms/ListItem/__tests__/ListItem.test.d.ts +0 -1
- package/lib/atoms/ListItem/index.d.ts +0 -14
- package/lib/atoms/MenuList/MenuItem.d.ts +0 -7
- package/lib/atoms/MenuList/OverflowBtn.d.ts +0 -7
- package/lib/atoms/MenuList/__tests__/MenuItem.test.d.ts +0 -1
- package/lib/atoms/MenuList/__tests__/MenuList.test.d.ts +0 -1
- package/lib/atoms/MenuList/__tests__/OverflowBtn.test.d.ts +0 -1
- package/lib/atoms/MenuList/index.d.ts +0 -8
- package/lib/atoms/Snackbar/__tests__/Snackbar.test.d.ts +0 -1
- package/lib/atoms/Snackbar/index.d.ts +0 -7
- package/lib/atoms/StepMeter/index.d.ts +0 -7
- package/lib/atoms/StyledText/LegacyStyledText.d.ts +0 -6
- package/lib/atoms/StyledText/StyledText.d.ts +0 -154
- package/lib/atoms/StyledText/index.d.ts +0 -2
- package/lib/atoms/Tag/__tests__/Tag.test.d.ts +0 -1
- package/lib/atoms/Tag/index.d.ts +0 -14
- package/lib/atoms/Toast/__tests__/ODDToast.test.d.ts +0 -1
- package/lib/atoms/Toast/__tests__/Toast.test.d.ts +0 -1
- package/lib/atoms/Toast/index.d.ts +0 -25
- package/lib/atoms/ToggleGroup/__tests__/ToggleGroup.test.d.ts +0 -1
- package/lib/atoms/ToggleGroup/index.d.ts +0 -9
- package/lib/atoms/Tooltip/__tests__/Tooltip.test.d.ts +0 -1
- package/lib/atoms/Tooltip/index.d.ts +0 -11
- package/lib/atoms/buttons/AlertPrimaryButton.d.ts +0 -1
- package/lib/atoms/buttons/AltPrimaryButton.d.ts +0 -1
- package/lib/atoms/buttons/EmptySelectorButton.d.ts +0 -10
- package/lib/atoms/buttons/LargeButton.d.ts +0 -17
- package/lib/atoms/buttons/PrimaryButton.d.ts +0 -1
- package/lib/atoms/buttons/RadioButton.d.ts +0 -21
- package/lib/atoms/buttons/SecondaryButton.d.ts +0 -7
- package/lib/atoms/buttons/__tests__/AlertPrimaryButton.test.d.ts +0 -1
- package/lib/atoms/buttons/__tests__/AltPrimaryButton.test.d.ts +0 -1
- package/lib/atoms/buttons/__tests__/EmptySelectorButton.test.d.ts +0 -1
- package/lib/atoms/buttons/__tests__/LargeButton.test.d.ts +0 -1
- package/lib/atoms/buttons/__tests__/PrimaryButton.test.d.ts +0 -1
- package/lib/atoms/buttons/__tests__/RadioButton.test.d.ts +0 -1
- package/lib/atoms/buttons/__tests__/SecondaryButton.test.d.ts +0 -1
- package/lib/atoms/buttons/index.d.ts +0 -6
- package/lib/atoms/index.d.ts +0 -20
- package/lib/barrel.d.ts +0 -3
- package/lib/buttons/Button.d.ts +0 -50
- package/lib/buttons/DeprecatedPrimaryButton.d.ts +0 -8
- package/lib/buttons/FlatButton.d.ts +0 -5
- package/lib/buttons/IconButton.d.ts +0 -14
- package/lib/buttons/OutlineButton.d.ts +0 -8
- package/lib/buttons/index.d.ts +0 -5
- package/lib/controls/ControlInfo.d.ts +0 -6
- package/lib/controls/LabeledButton.d.ts +0 -8
- package/lib/controls/LabeledCheckbox.d.ts +0 -10
- package/lib/controls/LabeledControl.d.ts +0 -7
- package/lib/controls/LabeledRadioGroup.d.ts +0 -8
- package/lib/controls/LabeledSelect.d.ts +0 -9
- package/lib/controls/LabeledToggle.d.ts +0 -11
- package/lib/controls/StackedLabeledControl.d.ts +0 -7
- package/lib/controls/ToggleButton.d.ts +0 -5
- package/lib/controls/index.d.ts +0 -6
- package/lib/forms/DeprecatedCheckboxField.d.ts +0 -33
- package/lib/forms/DropdownField.d.ts +0 -38
- package/lib/forms/FormGroup.d.ts +0 -19
- package/lib/forms/LegacyInputField.d.ts +0 -51
- package/lib/forms/RadioGroup.d.ts +0 -29
- package/lib/forms/Select.d.ts +0 -26
- package/lib/forms/SelectField.d.ts +0 -33
- package/lib/forms/ToggleField.d.ts +0 -22
- package/lib/forms/__tests__/DeprecatedCheckboxField.test.d.ts +0 -1
- package/lib/forms/__tests__/DropdownField.test.d.ts +0 -1
- package/lib/forms/__tests__/InputField.test.d.ts +0 -1
- package/lib/forms/__tests__/Select.test.d.ts +0 -1
- package/lib/forms/__tests__/SelectField.test.d.ts +0 -1
- package/lib/forms/__tests__/ToggleField.test.d.ts +0 -1
- package/lib/forms/index.d.ts +0 -8
- package/lib/hardware-sim/BaseDeck/BaseDeck.d.ts +0 -49
- package/lib/hardware-sim/BaseDeck/SingleSlotFixture.d.ts +0 -12
- package/lib/hardware-sim/BaseDeck/SlotBase.d.ts +0 -2
- package/lib/hardware-sim/BaseDeck/SlotClip.d.ts +0 -2
- package/lib/hardware-sim/BaseDeck/StagingAreaFixture.d.ts +0 -13
- package/lib/hardware-sim/BaseDeck/WasteChuteFixture.d.ts +0 -20
- package/lib/hardware-sim/BaseDeck/WasteChuteStagingAreaFixture.d.ts +0 -14
- package/lib/hardware-sim/BaseDeck/__fixtures__/index.d.ts +0 -4
- package/lib/hardware-sim/BaseDeck/index.d.ts +0 -5
- package/lib/hardware-sim/Deck/DeckFromLayers.d.ts +0 -10
- package/lib/hardware-sim/Deck/FlexTrash.d.ts +0 -14
- package/lib/hardware-sim/Deck/MoveLabwareOnDeck.d.ts +0 -16
- package/lib/hardware-sim/Deck/OT2Layers.d.ts +0 -10
- package/lib/hardware-sim/Deck/RobotCoordsForeignDiv.d.ts +0 -14
- package/lib/hardware-sim/Deck/RobotCoordsForeignObject.d.ts +0 -12
- package/lib/hardware-sim/Deck/RobotCoordsText.d.ts +0 -9
- package/lib/hardware-sim/Deck/RobotWorkSpace.d.ts +0 -21
- package/lib/hardware-sim/Deck/SlotLabels.d.ts +0 -12
- package/lib/hardware-sim/Deck/__mocks__/getDeckDefinitions.d.ts +0 -1
- package/lib/hardware-sim/Deck/constants.d.ts +0 -1
- package/lib/hardware-sim/Deck/index.d.ts +0 -8
- package/lib/hardware-sim/DeckConfigurator/AbsorbanceReaderFixture.d.ts +0 -10
- package/lib/hardware-sim/DeckConfigurator/EmptyConfigFixture.d.ts +0 -8
- package/lib/hardware-sim/DeckConfigurator/HeaterShakerFixture.d.ts +0 -10
- package/lib/hardware-sim/DeckConfigurator/MagneticBlockFixture.d.ts +0 -11
- package/lib/hardware-sim/DeckConfigurator/StagingAreaConfigFixture.d.ts +0 -10
- package/lib/hardware-sim/DeckConfigurator/StaticFixture.d.ts +0 -12
- package/lib/hardware-sim/DeckConfigurator/TemperatureModuleFixture.d.ts +0 -10
- package/lib/hardware-sim/DeckConfigurator/ThermocyclerFixture.d.ts +0 -10
- package/lib/hardware-sim/DeckConfigurator/TrashBinConfigFixture.d.ts +0 -10
- package/lib/hardware-sim/DeckConfigurator/WasteChuteConfigFixture.d.ts +0 -11
- package/lib/hardware-sim/DeckConfigurator/constants.d.ts +0 -20
- package/lib/hardware-sim/DeckConfigurator/index.d.ts +0 -20
- package/lib/hardware-sim/DeckSlotLocation/index.d.ts +0 -15
- package/lib/hardware-sim/Labware/Labware.d.ts +0 -39
- package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96DeepWellAdapter.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96FlatBottomAdapter.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAluminumFlatBottomPlate.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAutoclavableDeckRiser.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsFlex96TiprackAdapter.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsToughPCRAutoSealingLid.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapter.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/index.d.ts +0 -27
- package/lib/hardware-sim/Labware/LabwareRender.d.ts +0 -46
- package/lib/hardware-sim/Labware/LabwareStackRender.d.ts +0 -20
- package/lib/hardware-sim/Labware/__tests__/Labware.test.d.ts +0 -1
- package/lib/hardware-sim/Labware/__tests__/LabwareRender.test.d.ts +0 -1
- package/lib/hardware-sim/Labware/index.d.ts +0 -5
- package/lib/hardware-sim/Labware/labwareInternals/FilledWells.d.ts +0 -11
- package/lib/hardware-sim/Labware/labwareInternals/LabwareOutline.d.ts +0 -21
- package/lib/hardware-sim/Labware/labwareInternals/LabwareWellLabels.d.ts +0 -15
- package/lib/hardware-sim/Labware/labwareInternals/StaticLabware.d.ts +0 -25
- package/lib/hardware-sim/Labware/labwareInternals/StrokedWells.d.ts +0 -9
- package/lib/hardware-sim/Labware/labwareInternals/StyledWells.d.ts +0 -19
- package/lib/hardware-sim/Labware/labwareInternals/Well.d.ts +0 -20
- package/lib/hardware-sim/Labware/labwareInternals/WellLabels.d.ts +0 -12
- package/lib/hardware-sim/Labware/labwareInternals/__tests__/LabwareWellLabels.test.d.ts +0 -1
- package/lib/hardware-sim/Labware/labwareInternals/__tests__/StrokedWells.test.d.ts +0 -1
- package/lib/hardware-sim/Labware/labwareInternals/__tests__/WellLabels.test.d.ts +0 -1
- package/lib/hardware-sim/Labware/labwareInternals/index.d.ts +0 -8
- package/lib/hardware-sim/Labware/labwareInternals/types.d.ts +0 -12
- package/lib/hardware-sim/Module/HeaterShaker.d.ts +0 -4
- package/lib/hardware-sim/Module/MagneticBlock.d.ts +0 -1
- package/lib/hardware-sim/Module/MagneticModule.d.ts +0 -1
- package/lib/hardware-sim/Module/ModuleTag.d.ts +0 -9
- package/lib/hardware-sim/Module/PlateReader.d.ts +0 -1
- package/lib/hardware-sim/Module/Temperature.d.ts +0 -4
- package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN1.d.ts +0 -6
- package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN2.d.ts +0 -6
- package/lib/hardware-sim/Module/Thermocycler/index.d.ts +0 -7
- package/lib/hardware-sim/Module/index.d.ts +0 -18
- package/lib/hardware-sim/Pipette/EightEmanatingNozzles.d.ts +0 -4
- package/lib/hardware-sim/Pipette/EmanatingNozzle.d.ts +0 -4
- package/lib/hardware-sim/Pipette/PipetteRender.d.ts +0 -8
- package/lib/hardware-sim/Pipette/__tests__/EightEmanatingNozzles.test.d.ts +0 -1
- package/lib/hardware-sim/Pipette/__tests__/EmanatingNozzle.test.d.ts +0 -1
- package/lib/hardware-sim/Pipette/__tests__/PipetteRender.test.d.ts +0 -1
- package/lib/hardware-sim/Pipette/constants.d.ts +0 -7
- package/lib/hardware-sim/Pipette/index.d.ts +0 -1
- package/lib/hardware-sim/ProtocolDeck/LabwareInfo.d.ts +0 -6
- package/lib/hardware-sim/ProtocolDeck/index.d.ts +0 -14
- package/lib/hardware-sim/ProtocolDeck/types.d.ts +0 -8
- package/lib/hardware-sim/ProtocolDeck/utils/__tests__/getLabwareInforByLiquidId.test.d.ts +0 -1
- package/lib/hardware-sim/ProtocolDeck/utils/getInitiallyLoadedLabwareByAdapter.d.ts +0 -5
- package/lib/hardware-sim/ProtocolDeck/utils/getLabwareInSlots.d.ts +0 -12
- package/lib/hardware-sim/ProtocolDeck/utils/getLabwareInfoByLiquidId.d.ts +0 -3
- package/lib/hardware-sim/ProtocolDeck/utils/getModulesInSlots.d.ts +0 -10
- package/lib/hardware-sim/ProtocolDeck/utils/getStandardDeckViewLayerBlockList.d.ts +0 -2
- package/lib/hardware-sim/ProtocolDeck/utils/getWellFillFromLabwareId.d.ts +0 -4
- package/lib/hardware-sim/ProtocolDeck/utils/index.d.ts +0 -3
- package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpace.d.ts +0 -7
- package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpaceWithRef.d.ts +0 -16
- package/lib/hardware-sim/RobotCoordinateSpace/index.d.ts +0 -2
- package/lib/hardware-sim/index.d.ts +0 -11
- package/lib/hardware-sim/utils.d.ts +0 -3
- package/lib/helix-design-system/borders.d.ts +0 -26
- package/lib/helix-design-system/colors.d.ts +0 -86
- package/lib/helix-design-system/index.d.ts +0 -4
- package/lib/helix-design-system/product/index.d.ts +0 -1
- package/lib/helix-design-system/product/typography.d.ts +0 -79
- package/lib/helix-design-system/style.d.ts +0 -1
- package/lib/hooks/__tests__/useConditionalConfirm.test.d.ts +0 -1
- package/lib/hooks/__tests__/useDrag.test.d.ts +0 -1
- package/lib/hooks/__tests__/useIdle.test.d.ts +0 -1
- package/lib/hooks/__tests__/useInterval.test.d.ts +0 -1
- package/lib/hooks/__tests__/useLongPress.test.d.ts +0 -1
- package/lib/hooks/__tests__/useMountEffect.test.d.ts +0 -1
- package/lib/hooks/__tests__/usePrevious.test.d.ts +0 -1
- package/lib/hooks/__tests__/useScrolling.test.d.ts +0 -1
- package/lib/hooks/__tests__/useSwipe.test.d.ts +0 -1
- package/lib/hooks/__tests__/useTimeout.test.d.ts +0 -1
- package/lib/hooks/__tests__/useToggle.test.d.ts +0 -1
- package/lib/hooks/index.d.ts +0 -13
- package/lib/hooks/useConditionalConfirm.d.ts +0 -41
- package/lib/hooks/useDrag.d.ts +0 -22
- package/lib/hooks/useIdle.d.ts +0 -11
- package/lib/hooks/useInterval.d.ts +0 -11
- package/lib/hooks/useLongPress.d.ts +0 -19
- package/lib/hooks/useMenuHandleClickOutside.d.ts +0 -9
- package/lib/hooks/useMountEffect.d.ts +0 -8
- package/lib/hooks/usePrevious.d.ts +0 -9
- package/lib/hooks/useScrolling.d.ts +0 -1
- package/lib/hooks/useSelectDeckLocation/index.d.ts +0 -18
- package/lib/hooks/useSwipe.d.ts +0 -12
- package/lib/hooks/useTimeout.d.ts +0 -9
- package/lib/hooks/useToggle.d.ts +0 -22
- package/lib/icons/Icon.d.ts +0 -34
- package/lib/icons/ModuleIcon.d.ts +0 -11
- package/lib/icons/NotificationIcon.d.ts +0 -12
- package/lib/icons/icon-data.d.ts +0 -4
- package/lib/icons/index.d.ts +0 -4
- package/lib/images/index.d.ts +0 -1
- package/lib/images/labware/index.d.ts +0 -1
- package/lib/images/labware/measurement-guide/index.d.ts +0 -13
- package/lib/index.d.ts +0 -26
- package/lib/instrument/InstrumentDiagram.d.ts +0 -11
- package/lib/instrument/InstrumentGroup.d.ts +0 -11
- package/lib/instrument/InstrumentInfo.d.ts +0 -18
- package/lib/instrument/PipetteSelect.d.ts +0 -20
- package/lib/instrument/__tests__/InstrumentInfo.test.d.ts +0 -1
- package/lib/instrument/__tests__/PipetteSelect.test.d.ts +0 -1
- package/lib/instrument/index.d.ts +0 -4
- package/lib/interaction-enhancers/ClickOutside.d.ts +0 -18
- package/lib/interaction-enhancers/HandleKeypress.d.ts +0 -27
- package/lib/interaction-enhancers/__tests__/useHover.test.d.ts +0 -1
- package/lib/interaction-enhancers/index.d.ts +0 -4
- package/lib/interaction-enhancers/useHover.d.ts +0 -33
- package/lib/interaction-enhancers/useOnClickOutside.d.ts +0 -5
- package/lib/legacy-hardware-sim/LabwareNameOverlay.d.ts +0 -7
- package/lib/legacy-hardware-sim/ModuleItem.d.ts +0 -17
- package/lib/legacy-hardware-sim/index.d.ts +0 -2
- package/lib/lists/SidePanelGroup.d.ts +0 -18
- package/lib/lists/TitledList.d.ts +0 -44
- package/lib/lists/index.d.ts +0 -2
- package/lib/modals/AlertModal.d.ts +0 -28
- package/lib/modals/ContinueModal.d.ts +0 -10
- package/lib/modals/LegacyModal.d.ts +0 -24
- package/lib/modals/Modal.d.ts +0 -24
- package/lib/modals/ModalHeader.d.ts +0 -13
- package/lib/modals/ModalShell.d.ts +0 -34
- package/lib/modals/Overlay.d.ts +0 -9
- package/lib/modals/SpinnerModal.d.ts +0 -13
- package/lib/modals/SpinnerModalPage.d.ts +0 -12
- package/lib/modals/__tests__/Modal.test.d.ts +0 -1
- package/lib/modals/__tests__/ModalHeader.test.d.ts +0 -1
- package/lib/modals/__tests__/ModalShell.test.d.ts +0 -1
- package/lib/modals/index.d.ts +0 -9
- package/lib/molecules/Banner/__tests__/Banner.test.d.ts +0 -1
- package/lib/molecules/Banner/index.d.ts +0 -23
- package/lib/molecules/DeckInfoLabel/__tests__/DeckInfoLabel.test.d.ts +0 -1
- package/lib/molecules/DeckInfoLabel/index.d.ts +0 -19
- package/lib/molecules/DeckLabel/__tests__/DeckLabel.test.d.ts +0 -1
- package/lib/molecules/DeckLabel/index.d.ts +0 -10
- package/lib/molecules/DropdownMenu/__tests__/DropdownMenu.test.d.ts +0 -1
- package/lib/molecules/DropdownMenu/index.d.ts +0 -41
- package/lib/molecules/InfoScreen/__tests__/InfoScreen.test.d.ts +0 -1
- package/lib/molecules/InfoScreen/index.d.ts +0 -8
- package/lib/molecules/LiquidIcon/__tests__/LiquidIcon.test.d.ts +0 -1
- package/lib/molecules/LiquidIcon/index.d.ts +0 -9
- package/lib/molecules/ParametersTable/__tests__/ParametersTable.test.d.ts +0 -1
- package/lib/molecules/ParametersTable/index.d.ts +0 -10
- package/lib/molecules/Tabs/__tests__/Tabs.test.d.ts +0 -1
- package/lib/molecules/Tabs/index.d.ts +0 -10
- package/lib/molecules/index.d.ts +0 -8
- package/lib/nav/SidePanel.d.ts +0 -6
- package/lib/nav/index.d.ts +0 -1
- package/lib/organisms/DeckLabelSet/__tests__/DeckLabelSet.test.d.ts +0 -1
- package/lib/organisms/DeckLabelSet/index.d.ts +0 -11
- package/lib/organisms/EndUserAgreementFooter/__tests__/EndUserAgreementFooter.test.d.ts +0 -1
- package/lib/organisms/EndUserAgreementFooter/index.d.ts +0 -1
- package/lib/organisms/Toolbox/__tests__/Toolbox.test.d.ts +0 -1
- package/lib/organisms/Toolbox/index.d.ts +0 -20
- package/lib/organisms/index.d.ts +0 -3
- package/lib/primitives/Box.d.ts +0 -7
- package/lib/primitives/Btn.d.ts +0 -59
- package/lib/primitives/Flex.d.ts +0 -7
- package/lib/primitives/ForeignObject.d.ts +0 -23
- package/lib/primitives/Link.d.ts +0 -11
- package/lib/primitives/Svg.d.ts +0 -23
- package/lib/primitives/Text.d.ts +0 -7
- package/lib/primitives/__tests__/Box.test.d.ts +0 -1
- package/lib/primitives/__tests__/Btn.test.d.ts +0 -1
- package/lib/primitives/__tests__/Flex.test.d.ts +0 -1
- package/lib/primitives/__tests__/Link.test.d.ts +0 -1
- package/lib/primitives/__tests__/Svg.test.d.ts +0 -1
- package/lib/primitives/__tests__/Text.test.d.ts +0 -1
- package/lib/primitives/__tests__/primitives.test.d.ts +0 -1
- package/lib/primitives/__tests__/style-props.test.d.ts +0 -1
- package/lib/primitives/index.d.ts +0 -9
- package/lib/primitives/style-props.d.ts +0 -4
- package/lib/primitives/types.d.ts +0 -95
- package/lib/robot-types.d.ts +0 -1
- package/lib/slotmap/OT2SlotMap.d.ts +0 -9
- package/lib/slotmap/__tests__/OT2SlotMap.test.d.ts +0 -1
- package/lib/slotmap/index.d.ts +0 -1
- package/lib/structure/Card.d.ts +0 -18
- package/lib/structure/LabeledValue.d.ts +0 -12
- package/lib/structure/Pill.d.ts +0 -18
- package/lib/structure/Splash.d.ts +0 -8
- package/lib/structure/TitleBar.d.ts +0 -17
- package/lib/structure/index.d.ts +0 -5
- package/lib/styles/borders.d.ts +0 -8
- package/lib/styles/colors.d.ts +0 -37
- package/lib/styles/cursor.d.ts +0 -10
- package/lib/styles/flexbox.d.ts +0 -34
- package/lib/styles/index.d.ts +0 -8
- package/lib/styles/layout.d.ts +0 -24
- package/lib/styles/position.d.ts +0 -5
- package/lib/styles/spacing.d.ts +0 -9
- package/lib/styles/typography.d.ts +0 -36
- package/lib/testing/utils/index.d.ts +0 -2
- package/lib/testing/utils/matchers.d.ts +0 -3
- package/lib/testing/utils/renderWithProviders.d.ts +0 -9
- package/lib/tooltips/DeprecatedTooltip.d.ts +0 -37
- package/lib/tooltips/HoverTooltip.d.ts +0 -36
- package/lib/tooltips/LegacyTooltip.d.ts +0 -35
- package/lib/tooltips/__tests__/Tooltip.test.d.ts +0 -1
- package/lib/tooltips/__tests__/useHoverTooltip.test.d.ts +0 -1
- package/lib/tooltips/__tests__/usePopper.test.d.ts +0 -1
- package/lib/tooltips/__tests__/useTooltip.test.d.ts +0 -1
- package/lib/tooltips/constants.d.ts +0 -17
- package/lib/tooltips/index.d.ts +0 -8
- package/lib/tooltips/styles.d.ts +0 -12
- package/lib/tooltips/types.d.ts +0 -52
- package/lib/tooltips/useHoverTooltip.d.ts +0 -24
- package/lib/tooltips/usePopper.d.ts +0 -2
- package/lib/tooltips/useTooltip.d.ts +0 -31
- package/lib/ui-style-constants/index.d.ts +0 -4
- package/lib/ui-style-constants/responsiveness.d.ts +0 -3
- package/lib/ui-style-constants/spacing.d.ts +0 -18
- package/lib/ui-style-constants/typography.d.ts +0 -71
- package/lib/ui-style-constants/viewport.d.ts +0 -15
- package/lib/utils.d.ts +0 -15
- package/src/__tests__/utils.test.ts +0 -27
- package/src/alerts/alerts.module.css +0 -103
- package/src/atoms/Checkbox/__tests__/Checkbox.test.tsx +0 -55
- package/src/atoms/CheckboxField/__tests__/CheckboxField.test.tsx +0 -141
- package/src/atoms/Chip/__tests__/Chip.test.tsx +0 -429
- package/src/atoms/InputField/__tests__/InputField.test.tsx +0 -63
- package/src/atoms/ListButton/__tests__/ListButton.test.tsx +0 -46
- package/src/atoms/ListButton/__tests__/ListButtonAccordion.test.tsx +0 -35
- package/src/atoms/ListButton/__tests__/ListButtonRadioButton.test.tsx +0 -27
- package/src/atoms/ListItem/__tests__/ListItem.test.tsx +0 -61
- package/src/atoms/MenuList/__tests__/MenuItem.test.tsx +0 -50
- package/src/atoms/MenuList/__tests__/MenuList.test.tsx +0 -36
- package/src/atoms/MenuList/__tests__/OverflowBtn.test.tsx +0 -33
- package/src/atoms/Snackbar/__tests__/Snackbar.test.tsx +0 -73
- package/src/atoms/Tag/__tests__/Tag.test.tsx +0 -55
- package/src/atoms/Toast/__tests__/ODDToast.test.tsx +0 -178
- package/src/atoms/Toast/__tests__/Toast.test.tsx +0 -174
- package/src/atoms/ToggleGroup/__tests__/ToggleGroup.test.tsx +0 -28
- package/src/atoms/Tooltip/__tests__/Tooltip.test.tsx +0 -78
- package/src/atoms/buttons/__tests__/AlertPrimaryButton.test.tsx +0 -47
- package/src/atoms/buttons/__tests__/AltPrimaryButton.test.tsx +0 -57
- package/src/atoms/buttons/__tests__/EmptySelectorButton.test.tsx +0 -42
- package/src/atoms/buttons/__tests__/LargeButton.test.tsx +0 -91
- package/src/atoms/buttons/__tests__/PrimaryButton.test.tsx +0 -64
- package/src/atoms/buttons/__tests__/RadioButton.test.tsx +0 -98
- package/src/atoms/buttons/__tests__/SecondaryButton.test.tsx +0 -54
- package/src/buttons/buttons.module.css +0 -428
- package/src/controls/styles.module.css +0 -103
- package/src/forms/Select.module.css +0 -118
- package/src/forms/SelectField.module.css +0 -16
- package/src/forms/__tests__/DeprecatedCheckboxField.test.tsx +0 -5
- package/src/forms/__tests__/DropdownField.test.tsx +0 -5
- package/src/forms/__tests__/InputField.test.tsx +0 -5
- package/src/forms/__tests__/Select.test.tsx +0 -5
- package/src/forms/__tests__/SelectField.test.tsx +0 -5
- package/src/forms/__tests__/ToggleField.test.tsx +0 -5
- package/src/forms/forms.module.css +0 -239
- package/src/hardware-sim/Labware/__tests__/Labware.test.tsx +0 -43
- package/src/hardware-sim/Labware/__tests__/LabwareRender.test.tsx +0 -54
- package/src/hardware-sim/Labware/labwareInternals/__tests__/LabwareWellLabels.test.tsx +0 -66
- package/src/hardware-sim/Labware/labwareInternals/__tests__/StrokedWells.test.tsx +0 -31
- package/src/hardware-sim/Labware/labwareInternals/__tests__/WellLabels.test.tsx +0 -91
- package/src/hardware-sim/Pipette/__tests__/EightEmanatingNozzles.test.tsx +0 -16
- package/src/hardware-sim/Pipette/__tests__/EmanatingNozzle.test.tsx +0 -67
- package/src/hardware-sim/Pipette/__tests__/PipetteRender.test.tsx +0 -99
- package/src/hardware-sim/ProtocolDeck/utils/__tests__/getLabwareInforByLiquidId.test.ts +0 -158
- package/src/hooks/__tests__/useConditionalConfirm.test.tsx +0 -5
- package/src/hooks/__tests__/useDrag.test.ts +0 -46
- package/src/hooks/__tests__/useIdle.test.ts +0 -68
- package/src/hooks/__tests__/useInterval.test.tsx +0 -5
- package/src/hooks/__tests__/useLongPress.test.ts +0 -25
- package/src/hooks/__tests__/useMountEffect.test.tsx +0 -5
- package/src/hooks/__tests__/usePrevious.test.tsx +0 -5
- package/src/hooks/__tests__/useScrolling.test.tsx +0 -46
- package/src/hooks/__tests__/useSwipe.test.tsx +0 -26
- package/src/hooks/__tests__/useTimeout.test.tsx +0 -5
- package/src/hooks/__tests__/useToggle.test.tsx +0 -5
- package/src/index.module.css +0 -9
- package/src/instrument/PipetteSelect.module.css +0 -14
- package/src/instrument/__tests__/InstrumentInfo.test.tsx +0 -55
- package/src/instrument/__tests__/PipetteSelect.test.tsx +0 -4
- package/src/instrument/instrument.module.css +0 -45
- package/src/interaction-enhancers/__tests__/useHover.test.tsx +0 -4
- package/src/legacy-hardware-sim/LabwareNameOverlay.module.css +0 -20
- package/src/legacy-hardware-sim/ModuleItem.module.css +0 -98
- package/src/lists/lists.module.css +0 -171
- package/src/modals/__tests__/Modal.test.tsx +0 -65
- package/src/modals/__tests__/ModalHeader.test.tsx +0 -73
- package/src/modals/__tests__/ModalShell.test.tsx +0 -45
- package/src/modals/modals.module.css +0 -275
- package/src/molecules/Banner/__tests__/Banner.test.tsx +0 -94
- package/src/molecules/DeckInfoLabel/__tests__/DeckInfoLabel.test.tsx +0 -49
- package/src/molecules/DeckLabel/__tests__/DeckLabel.test.tsx +0 -69
- package/src/molecules/DropdownMenu/__tests__/DropdownMenu.test.tsx +0 -85
- package/src/molecules/InfoScreen/__tests__/InfoScreen.test.tsx +0 -40
- package/src/molecules/LiquidIcon/__tests__/LiquidIcon.test.tsx +0 -50
- package/src/molecules/ParametersTable/__tests__/ParametersTable.test.tsx +0 -126
- package/src/molecules/Tabs/__tests__/Tabs.test.tsx +0 -90
- package/src/nav/SidePanel.module.css +0 -34
- package/src/organisms/DeckLabelSet/__tests__/DeckLabelSet.test.tsx +0 -49
- package/src/organisms/EndUserAgreementFooter/__tests__/EndUserAgreementFooter.test.tsx +0 -21
- package/src/organisms/Toolbox/__tests__/Toolbox.test.tsx +0 -35
- package/src/primitives/__tests__/Box.test.tsx +0 -4
- package/src/primitives/__tests__/Btn.test.tsx +0 -4
- package/src/primitives/__tests__/Flex.test.tsx +0 -4
- package/src/primitives/__tests__/Link.test.tsx +0 -4
- package/src/primitives/__tests__/Svg.test.tsx +0 -4
- package/src/primitives/__tests__/Text.test.tsx +0 -4
- package/src/primitives/__tests__/primitives.test.tsx +0 -4
- package/src/primitives/__tests__/style-props.test.tsx +0 -4
- package/src/slotmap/__tests__/OT2SlotMap.test.tsx +0 -4
- package/src/slotmap/styles.module.css +0 -18
- package/src/structure/Pill.module.css +0 -16
- package/src/structure/Splash.module.css +0 -16
- package/src/structure/structure.module.css +0 -114
- package/src/styles/borders.module.css +0 -20
- package/src/styles/colors.module.css +0 -57
- package/src/styles/index.module.css +0 -8
- package/src/styles/typography.module.css +0 -22
- package/src/tooltips/__tests__/Tooltip.test.tsx +0 -4
- package/src/tooltips/__tests__/useHoverTooltip.test.tsx +0 -4
- package/src/tooltips/__tests__/usePopper.test.tsx +0 -4
- package/src/tooltips/__tests__/useTooltip.test.tsx +0 -4
- package/src/tooltips/tooltips.module.css +0 -72
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
import type { CSSProperties } from 'styled-components';
|
|
3
|
-
import type { LabwareDefinition2 } from '@opentrons/shared-data';
|
|
4
|
-
import type { HighlightedWellLabels, WellMouseEvent, WellFill, WellStroke, WellGroup } from './labwareInternals/types';
|
|
5
|
-
export declare const WELL_LABEL_OPTIONS: {
|
|
6
|
-
readonly SHOW_LABEL_INSIDE: "SHOW_LABEL_INSIDE";
|
|
7
|
-
readonly SHOW_LABEL_OUTSIDE: "SHOW_LABEL_OUTSIDE";
|
|
8
|
-
};
|
|
9
|
-
export type WellLabelOption = keyof typeof WELL_LABEL_OPTIONS;
|
|
10
|
-
export interface LabwareRenderProps {
|
|
11
|
-
/** Labware definition to render */
|
|
12
|
-
definition: LabwareDefinition2;
|
|
13
|
-
/** Opional Prop for labware on heater shakers sitting on right side of the deck */
|
|
14
|
-
shouldRotateAdapterOrientation?: boolean;
|
|
15
|
-
/** option to show well labels inside or outside of labware outline */
|
|
16
|
-
wellLabelOption?: WellLabelOption;
|
|
17
|
-
/** wells to highlight */
|
|
18
|
-
highlightedWells?: WellGroup | null;
|
|
19
|
-
/** option for none highlighted wells to be disabled */
|
|
20
|
-
disabledWells?: WellGroup[];
|
|
21
|
-
missingTips?: WellGroup | null;
|
|
22
|
-
/** color to render well labels */
|
|
23
|
-
wellLabelColor?: string;
|
|
24
|
-
/** option to highlight well labels with specified color */
|
|
25
|
-
highlightedWellLabels?: HighlightedWellLabels;
|
|
26
|
-
selectedWells?: WellGroup | null;
|
|
27
|
-
/** CSS color to fill specified wells */
|
|
28
|
-
wellFill?: WellFill;
|
|
29
|
-
/** CSS color to stroke specified wells */
|
|
30
|
-
wellStroke?: WellStroke;
|
|
31
|
-
/** CSS color to stroke the labware outline */
|
|
32
|
-
labwareStroke?: CSSProperties['stroke'];
|
|
33
|
-
/** adds thicker blue border with blur to labware */
|
|
34
|
-
highlight?: boolean;
|
|
35
|
-
/** adds a drop shadow to the highlight border */
|
|
36
|
-
highlightShadow?: boolean;
|
|
37
|
-
/** Optional callback, called with WellMouseEvent args onMouseEnter */
|
|
38
|
-
onMouseEnterWell?: (e: WellMouseEvent) => unknown;
|
|
39
|
-
/** Optional callback, called with WellMouseEvent args onMouseLeave */
|
|
40
|
-
onMouseLeaveWell?: (e: WellMouseEvent) => unknown;
|
|
41
|
-
gRef?: React.RefObject<SVGGElement>;
|
|
42
|
-
onLabwareClick?: () => void;
|
|
43
|
-
showBorder?: boolean;
|
|
44
|
-
strokeColor?: string;
|
|
45
|
-
}
|
|
46
|
-
export declare const LabwareRender: (props: LabwareRenderProps) => JSX.Element;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
import type { LabwareDefinition2 } from '@opentrons/shared-data';
|
|
3
|
-
import type { HighlightedWellLabels } from './labwareInternals/types';
|
|
4
|
-
import type { WellLabelOption } from '../..';
|
|
5
|
-
export interface LabwareStackRenderProps {
|
|
6
|
-
/** Labware definitions in stack to render */
|
|
7
|
-
definitionTop: LabwareDefinition2;
|
|
8
|
-
/** option to highlight well labels with specified color */
|
|
9
|
-
highlightedWellLabels?: HighlightedWellLabels;
|
|
10
|
-
/** highlight top labware */
|
|
11
|
-
highlightTop: boolean;
|
|
12
|
-
/** highlight bottom labware if it exists */
|
|
13
|
-
highlightBottom: boolean;
|
|
14
|
-
gRef?: React.RefObject<SVGGElement>;
|
|
15
|
-
definitionBottom?: LabwareDefinition2 | null;
|
|
16
|
-
shouldRotateAdapterOrientation?: boolean;
|
|
17
|
-
/** option to show well labels inside or outside of labware outline */
|
|
18
|
-
wellLabelOption?: WellLabelOption;
|
|
19
|
-
}
|
|
20
|
-
export declare const LabwareStackRender: (props: LabwareStackRenderProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom/vitest';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom/vitest';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { LabwareDefinition2 } from '@opentrons/shared-data';
|
|
3
|
-
import type { CSSProperties } from 'styled-components';
|
|
4
|
-
export interface FilledWellsProps {
|
|
5
|
-
definition: LabwareDefinition2;
|
|
6
|
-
fillByWell: Record<string, CSSProperties['fill']>;
|
|
7
|
-
strokeColor?: string;
|
|
8
|
-
}
|
|
9
|
-
declare function FilledWellsComponent(props: FilledWellsProps): JSX.Element;
|
|
10
|
-
export declare const FilledWells: React.MemoExoticComponent<typeof FilledWellsComponent>;
|
|
11
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties } from 'styled-components';
|
|
2
|
-
import type { LabwareDefinition2 } from '@opentrons/shared-data';
|
|
3
|
-
export interface LabwareOutlineProps {
|
|
4
|
-
/** Labware definition to outline */
|
|
5
|
-
definition?: LabwareDefinition2;
|
|
6
|
-
/** x dimension in mm of this labware, used if definition doesn't supply dimensions, defaults to 127.76 */
|
|
7
|
-
width?: number;
|
|
8
|
-
/** y dimension in mm of this labware, used if definition doesn't supply dimensions, defaults to 85.48 */
|
|
9
|
-
height?: number;
|
|
10
|
-
/** 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 */
|
|
11
|
-
isTiprack?: boolean;
|
|
12
|
-
/** adds thicker blue border with blur to labware, defaults to false */
|
|
13
|
-
highlight?: boolean;
|
|
14
|
-
/** adds a drop shadow to the highlight border */
|
|
15
|
-
highlightShadow?: boolean;
|
|
16
|
-
/** [legacy] override the border color */
|
|
17
|
-
stroke?: CSSProperties['stroke'];
|
|
18
|
-
fill?: CSSProperties['fill'];
|
|
19
|
-
showRadius?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export declare function LabwareOutline(props: LabwareOutlineProps): JSX.Element;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { LabwareDefinition2 } from '@opentrons/shared-data';
|
|
3
|
-
import type { HighlightedWellLabels } from './types';
|
|
4
|
-
interface LabwareWellLabelsProps {
|
|
5
|
-
definition: LabwareDefinition2;
|
|
6
|
-
highlightedWellLabels?: HighlightedWellLabels;
|
|
7
|
-
wellLabelColor?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare function LabwareWellLabelsComponent(props: LabwareWellLabelsProps): JSX.Element;
|
|
10
|
-
/**
|
|
11
|
-
* for use in Labware.tsx component
|
|
12
|
-
* has ODD-specific styling
|
|
13
|
-
*/
|
|
14
|
-
export declare const LabwareWellLabels: React.MemoExoticComponent<typeof LabwareWellLabelsComponent>;
|
|
15
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { LabwareDefinition2 } from '@opentrons/shared-data';
|
|
3
|
-
import type { WellMouseEvent, WellStroke } from './types';
|
|
4
|
-
import type { CSSProperties } from 'styled-components';
|
|
5
|
-
export interface StaticLabwareProps {
|
|
6
|
-
/** Labware definition to render */
|
|
7
|
-
definition: LabwareDefinition2;
|
|
8
|
-
/** Add thicker blurred blue border to labware, defaults to false */
|
|
9
|
-
highlight?: boolean;
|
|
10
|
-
/** adds a drop shadow to the highlight border */
|
|
11
|
-
highlightShadow?: boolean;
|
|
12
|
-
/** Optional callback to be executed when entire labware element is clicked */
|
|
13
|
-
onLabwareClick?: () => void;
|
|
14
|
-
/** Optional callback to be executed when mouse enters a well element */
|
|
15
|
-
onMouseEnterWell?: (e: WellMouseEvent) => unknown;
|
|
16
|
-
/** Optional callback to be executed when mouse leaves a well element */
|
|
17
|
-
onMouseLeaveWell?: (e: WellMouseEvent) => unknown;
|
|
18
|
-
fill?: CSSProperties['fill'];
|
|
19
|
-
showRadius?: boolean;
|
|
20
|
-
wellStroke?: WellStroke;
|
|
21
|
-
/** optional show of labware border, defaulted to true */
|
|
22
|
-
showBorder?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export declare function StaticLabwareComponent(props: StaticLabwareProps): JSX.Element;
|
|
25
|
-
export declare const StaticLabware: React.MemoExoticComponent<typeof StaticLabwareComponent>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { LabwareDefinition2 } from '@opentrons/shared-data';
|
|
3
|
-
import type { CSSProperties } from 'styled-components';
|
|
4
|
-
export interface StrokedWellProps {
|
|
5
|
-
definition: LabwareDefinition2;
|
|
6
|
-
strokeByWell: Record<string, CSSProperties['stroke']>;
|
|
7
|
-
}
|
|
8
|
-
export declare function StrokedWellsComponent(props: StrokedWellProps): JSX.Element;
|
|
9
|
-
export declare const StrokedWells: React.MemoExoticComponent<typeof StrokedWellsComponent>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { LabwareDefinition2 } from '@opentrons/shared-data';
|
|
3
|
-
import type { WellGroup } from './types';
|
|
4
|
-
type WellContents = 'tipPresent' | 'tipMissing' | 'defaultWell' | 'disabledWell' | 'highlightedWell' | 'selectedWell';
|
|
5
|
-
export interface StyledWellProps {
|
|
6
|
-
wellContents: WellContents;
|
|
7
|
-
definition: LabwareDefinition2;
|
|
8
|
-
wells: WellGroup;
|
|
9
|
-
}
|
|
10
|
-
export declare const STYLE_BY_WELL_CONTENTS: {
|
|
11
|
-
[wellContents in WellContents]: {
|
|
12
|
-
stroke: React.CSSProperties['stroke'];
|
|
13
|
-
fill: React.CSSProperties['fill'];
|
|
14
|
-
strokeWidth: React.CSSProperties['strokeWidth'];
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
declare function StyledWellsComponent(props: StyledWellProps): JSX.Element;
|
|
18
|
-
export declare const StyledWells: React.MemoExoticComponent<typeof StyledWellsComponent>;
|
|
19
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { LabwareWell } from '@opentrons/shared-data';
|
|
3
|
-
import type { WellMouseEvent } from './types';
|
|
4
|
-
import type { StyleProps } from '../../../primitives';
|
|
5
|
-
export interface WellProps extends StyleProps {
|
|
6
|
-
/** Well Name (eg 'A1') */
|
|
7
|
-
wellName: string;
|
|
8
|
-
/** well object from labware definition */
|
|
9
|
-
well: LabwareWell;
|
|
10
|
-
stroke: React.CSSProperties['stroke'];
|
|
11
|
-
strokeWidth: React.CSSProperties['strokeWidth'];
|
|
12
|
-
fill: React.CSSProperties['fill'];
|
|
13
|
-
/** Optional callback, called with WellMouseEvent args onMouseOver */
|
|
14
|
-
onMouseEnterWell?: (e: WellMouseEvent) => unknown;
|
|
15
|
-
onMouseLeaveWell?: (e: WellMouseEvent) => unknown;
|
|
16
|
-
/** Provides well data attribute */
|
|
17
|
-
isInteractive?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export declare function WellComponent(props: WellProps): JSX.Element;
|
|
20
|
-
export declare const Well: React.MemoExoticComponent<typeof WellComponent>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { LabwareDefinition2 } from '@opentrons/shared-data';
|
|
3
|
-
import type { WellLabelOption } from '../LabwareRender';
|
|
4
|
-
import type { HighlightedWellLabels } from './types';
|
|
5
|
-
export interface WellLabelsProps {
|
|
6
|
-
definition: LabwareDefinition2;
|
|
7
|
-
wellLabelOption: WellLabelOption;
|
|
8
|
-
highlightedWellLabels?: HighlightedWellLabels;
|
|
9
|
-
wellLabelColor?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare function WellLabelsComponent(props: WellLabelsProps): JSX.Element;
|
|
12
|
-
export declare const WellLabels: React.MemoExoticComponent<typeof WellLabelsComponent>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom/vitest';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom/vitest';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom/vitest';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
export interface WellMouseEvent {
|
|
3
|
-
wellName: string;
|
|
4
|
-
event: React.MouseEvent;
|
|
5
|
-
}
|
|
6
|
-
export type WellFill = Record<string, string>;
|
|
7
|
-
export type WellStroke = WellFill;
|
|
8
|
-
export type WellGroup = Record<string, null>;
|
|
9
|
-
export interface HighlightedWellLabels {
|
|
10
|
-
wells: string[];
|
|
11
|
-
color?: string;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function MagneticBlock(): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function MagneticModule(): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function PlateReader(): JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ThermocyclerModuleModel } from '@opentrons/shared-data';
|
|
2
|
-
export interface ThermocyclerVizProps {
|
|
3
|
-
lidMotorState: 'open' | 'closed' | 'unknown';
|
|
4
|
-
blockTargetTemp?: number | null;
|
|
5
|
-
model: ThermocyclerModuleModel;
|
|
6
|
-
}
|
|
7
|
-
export declare function Thermocycler(props: ThermocyclerVizProps): JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
import { Thermocycler } from './Thermocycler';
|
|
3
|
-
import { HeaterShaker } from './HeaterShaker';
|
|
4
|
-
import { Temperature } from './Temperature';
|
|
5
|
-
import type { ModuleDefinition } from '@opentrons/shared-data';
|
|
6
|
-
export * from './Thermocycler';
|
|
7
|
-
interface Props {
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
def: ModuleDefinition;
|
|
11
|
-
orientation?: 'left' | 'right';
|
|
12
|
-
innerProps?: React.ComponentProps<typeof Thermocycler> | React.ComponentProps<typeof HeaterShaker> | React.ComponentProps<typeof Temperature> | {};
|
|
13
|
-
statusInfo?: React.ReactNode;
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
targetSlotId?: string;
|
|
16
|
-
targetDeckId?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare const Module: (props: Props) => JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { LabwareDefinition2, PipetteName } from '@opentrons/shared-data';
|
|
2
|
-
interface PipetteRenderProps {
|
|
3
|
-
labwareDef: LabwareDefinition2;
|
|
4
|
-
pipetteName: PipetteName;
|
|
5
|
-
usingMetalProbe?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const PipetteRender: (props: PipetteRenderProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const SINGLE_CHANNEL_PIPETTE_WIDTH = 18.7;
|
|
2
|
-
export declare const SINGLE_CHANNEL_PIPETTE_HEIGHT = 30.5;
|
|
3
|
-
export declare const MULTI_CHANNEL_PIPETTE_WIDTH = 18.7;
|
|
4
|
-
export declare const MULTI_CHANNEL_PIPETTE_HEIGHT = 90.3;
|
|
5
|
-
export declare const NINETY_SIX_CHANNEL_PIPETTE_WIDTH = 117.7;
|
|
6
|
-
export declare const MULTI_CHANNEL_CENTER_Y_NOZZLE = 13.3;
|
|
7
|
-
export declare const MULTI_CHANNEL_Y_OFFSET = -2.5;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './PipetteRender';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
import { BaseDeck } from '../BaseDeck';
|
|
3
|
-
import type { CompletedProtocolAnalysis, LabwareDefinition2, ProtocolAnalysisOutput } from '@opentrons/shared-data';
|
|
4
|
-
export * from './utils/getStandardDeckViewLayerBlockList';
|
|
5
|
-
interface ProtocolDeckProps {
|
|
6
|
-
protocolAnalysis: CompletedProtocolAnalysis | ProtocolAnalysisOutput | null;
|
|
7
|
-
/** defaults to false, when set labware nicknames will appear on top level labware. If no nickname specified in protocol, falls back to labware definition display name */
|
|
8
|
-
showLabwareInfo?: boolean;
|
|
9
|
-
/** optional labware click handler, highlights labware */
|
|
10
|
-
handleLabwareClick?: (labwareDef: LabwareDefinition2, labwareId: string) => void;
|
|
11
|
-
/** extra props to pass through to BaseDeck component */
|
|
12
|
-
baseDeckProps?: Partial<React.ComponentProps<typeof BaseDeck>>;
|
|
13
|
-
}
|
|
14
|
-
export declare function ProtocolDeck(props: ProtocolDeckProps): JSX.Element | null;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { LoadLabwareRunTimeCommand, RunTimeCommand } from '@opentrons/shared-data';
|
|
2
|
-
export interface LoadedLabwareByAdapter {
|
|
3
|
-
[labwareId: string]: LoadLabwareRunTimeCommand;
|
|
4
|
-
}
|
|
5
|
-
export declare function getInitialLoadedLabwareByAdapter(commands: RunTimeCommand[]): LoadedLabwareByAdapter;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { CompletedProtocolAnalysis, ProtocolAnalysisOutput, LabwareDefinition2 } from '@opentrons/shared-data';
|
|
2
|
-
interface LabwareInSlot {
|
|
3
|
-
labwareId: string;
|
|
4
|
-
labwareDef: LabwareDefinition2;
|
|
5
|
-
labwareNickName: string | null;
|
|
6
|
-
location: {
|
|
7
|
-
slotName: string;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export declare const getInitialAndMovedLabwareInSlots: (protocolAnalysis: CompletedProtocolAnalysis | ProtocolAnalysisOutput) => LabwareInSlot[];
|
|
11
|
-
export declare const getTopMostLabwareInSlots: (protocolAnalysis: CompletedProtocolAnalysis | ProtocolAnalysisOutput) => LabwareInSlot[];
|
|
12
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { CompletedProtocolAnalysis, ProtocolAnalysisOutput, ModuleLocation, ModuleModel, LabwareDefinition2 } from '@opentrons/shared-data';
|
|
2
|
-
interface ModuleInSlot {
|
|
3
|
-
moduleModel: ModuleModel;
|
|
4
|
-
moduleLocation: ModuleLocation;
|
|
5
|
-
nestedLabwareId: string | null;
|
|
6
|
-
nestedLabwareDef: LabwareDefinition2 | null;
|
|
7
|
-
nestedLabwareNickName: string | null;
|
|
8
|
-
}
|
|
9
|
-
export declare const getModulesInSlots: (protocolAnalysis: ProtocolAnalysisOutput | CompletedProtocolAnalysis) => ModuleInSlot[];
|
|
10
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { Liquid } from '@opentrons/shared-data';
|
|
2
|
-
import type { WellFill } from '../../Labware';
|
|
3
|
-
import type { LabwareByLiquidId } from '../types';
|
|
4
|
-
export declare function getWellFillFromLabwareId(labwareId: string, liquidsInLoadOrder: Liquid[], labwareByLiquidId: LabwareByLiquidId): WellFill;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
import { Svg } from '../../primitives';
|
|
3
|
-
interface RobotCoordinateSpaceProps extends React.ComponentProps<typeof Svg> {
|
|
4
|
-
animated?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare function RobotCoordinateSpace(props: RobotCoordinateSpaceProps): JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Svg } from '../../primitives';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
import type { DeckDefinition, DeckSlot } from '@opentrons/shared-data';
|
|
4
|
-
export interface RobotCoordinateSpaceWithRefRenderProps {
|
|
5
|
-
deckSlotsById: {
|
|
6
|
-
[slotId: string]: DeckSlot;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
interface RobotCoordinateSpaceWithRefProps extends React.ComponentProps<typeof Svg> {
|
|
10
|
-
viewBox?: string | null;
|
|
11
|
-
deckDef?: DeckDefinition;
|
|
12
|
-
zoomed?: boolean;
|
|
13
|
-
children?: (props: RobotCoordinateSpaceWithRefRenderProps) => ReactNode;
|
|
14
|
-
}
|
|
15
|
-
export declare function RobotCoordinateSpaceWithRef(props: RobotCoordinateSpaceWithRefProps): JSX.Element | null;
|
|
16
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './BaseDeck';
|
|
2
|
-
export * from './BaseDeck/__fixtures__';
|
|
3
|
-
export * from './ProtocolDeck';
|
|
4
|
-
export * from './ProtocolDeck/utils';
|
|
5
|
-
export * from './Deck';
|
|
6
|
-
export * from './DeckConfigurator';
|
|
7
|
-
export * from './DeckSlotLocation';
|
|
8
|
-
export * from './Labware';
|
|
9
|
-
export * from './Module';
|
|
10
|
-
export * from './Pipette';
|
|
11
|
-
export * from './RobotCoordinateSpace';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Constants
|
|
3
|
-
*/
|
|
4
|
-
export declare const borderRadius2 = "2px";
|
|
5
|
-
export declare const borderRadius4 = "4px";
|
|
6
|
-
export declare const borderRadius8 = "8px";
|
|
7
|
-
export declare const borderRadius12 = "12px";
|
|
8
|
-
export declare const borderRadius16 = "16px";
|
|
9
|
-
export declare const borderRadius40 = "40px";
|
|
10
|
-
export declare const borderRadiusFull = "200px";
|
|
11
|
-
/**
|
|
12
|
-
* Styles
|
|
13
|
-
*/
|
|
14
|
-
export declare const styleSolid = "solid";
|
|
15
|
-
/**
|
|
16
|
-
* Special-case borders
|
|
17
|
-
*/
|
|
18
|
-
export declare const activeLineBorder = "1px solid #006CFA";
|
|
19
|
-
export declare const lineBorder = "1px solid #DEDEDE";
|
|
20
|
-
/**
|
|
21
|
-
* Shadows
|
|
22
|
-
*/
|
|
23
|
-
export declare const smallDropShadow = "0px 3px 6px rgba(0, 0, 0, 0.23)";
|
|
24
|
-
export declare const tinyDropShadow = "0px 1px 3px 0px rgba(0, 0, 0, .33)";
|
|
25
|
-
export declare const shadowBig = "0px 3px 6px rgba(0,0,0,0.23)";
|
|
26
|
-
export declare const shadowSmall = "0px 0px 40px rgba(0,0,0,0.4)";
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* green
|
|
3
|
-
*/
|
|
4
|
-
export declare const green60 = "#03683E";
|
|
5
|
-
export declare const green50: string;
|
|
6
|
-
export declare const green40: string;
|
|
7
|
-
export declare const green35: string;
|
|
8
|
-
export declare const green30 = "#C4F6E0";
|
|
9
|
-
export declare const green20 = "#E8F7ED";
|
|
10
|
-
/**
|
|
11
|
-
* red
|
|
12
|
-
*/
|
|
13
|
-
export declare const red60 = "#941313";
|
|
14
|
-
export declare const red55 = "#C71A1B";
|
|
15
|
-
export declare const red50 = "#DE1B1B";
|
|
16
|
-
export declare const red40 = "#F5B2B3";
|
|
17
|
-
export declare const red35 = "#F8C8C9";
|
|
18
|
-
export declare const red30 = "#FAD6D6";
|
|
19
|
-
export declare const red20 = "#FCE9E9";
|
|
20
|
-
/**
|
|
21
|
-
* yellow
|
|
22
|
-
*/
|
|
23
|
-
export declare const yellow60 = "#825512";
|
|
24
|
-
export declare const yellow50 = "#F09D20";
|
|
25
|
-
export declare const yellow40 = "#FCD48B";
|
|
26
|
-
export declare const yellow35 = "#FFE1A4";
|
|
27
|
-
export declare const yellow30 = "#FFE9BE";
|
|
28
|
-
export declare const yellow20 = "#FDF3E2";
|
|
29
|
-
/**
|
|
30
|
-
* purple
|
|
31
|
-
*/
|
|
32
|
-
export declare const purple60: string;
|
|
33
|
-
export declare const purple55: string;
|
|
34
|
-
export declare const purple50: string;
|
|
35
|
-
export declare const purple40: string;
|
|
36
|
-
export declare const purple35: string;
|
|
37
|
-
export declare const purple30: string;
|
|
38
|
-
export declare const purple20: string;
|
|
39
|
-
/**
|
|
40
|
-
* blue
|
|
41
|
-
*/
|
|
42
|
-
export declare const blue60 = "#004196";
|
|
43
|
-
export declare const blue55 = "#0056C8";
|
|
44
|
-
export declare const blue40 = "#A9CEFD";
|
|
45
|
-
export declare const blue35 = "#BFDCFD";
|
|
46
|
-
export declare const blue30 = "#D0E6FE";
|
|
47
|
-
export declare const blue20 = "#E1EFFF";
|
|
48
|
-
export declare const blue10 = "#F1F8FF";
|
|
49
|
-
/**
|
|
50
|
-
* grey
|
|
51
|
-
*/
|
|
52
|
-
export declare const grey60 = "#4A4C4E";
|
|
53
|
-
export declare const grey55 = "#626467";
|
|
54
|
-
export declare const grey50 = "#737578";
|
|
55
|
-
export declare const grey40 = "#B7B8B9";
|
|
56
|
-
export declare const grey35 = "#CBCCCC";
|
|
57
|
-
export declare const grey30 = "#DEDEDE";
|
|
58
|
-
export declare const grey20 = "#E9E9E9";
|
|
59
|
-
export declare const grey10 = "#F3F3F3";
|
|
60
|
-
/**
|
|
61
|
-
* core
|
|
62
|
-
*/
|
|
63
|
-
export declare const black90 = "#16212D";
|
|
64
|
-
export declare const black80 = "#24313F";
|
|
65
|
-
export declare const black70 = "#39495B";
|
|
66
|
-
export declare const white = "#FFFFFF";
|
|
67
|
-
export declare const blue50 = "#006CFA";
|
|
68
|
-
/**
|
|
69
|
-
* Semi-opaques
|
|
70
|
-
* */
|
|
71
|
-
export declare const transparentWhite80 = "#FFFFFFCC";
|
|
72
|
-
export declare const transparentWhite50 = "#FFFFFF80";
|
|
73
|
-
export declare const transparentBlack80 = "#16212D80";
|
|
74
|
-
/**
|
|
75
|
-
* flex
|
|
76
|
-
*/
|
|
77
|
-
export declare const flex55 = "#0297CC";
|
|
78
|
-
export declare const flex50 = "#00BDFF";
|
|
79
|
-
/**
|
|
80
|
-
* extras
|
|
81
|
-
*/
|
|
82
|
-
export declare const transparent = "transparent";
|
|
83
|
-
export declare const opacity20HexCode = "33";
|
|
84
|
-
export declare const opacity40HexCode = "66";
|
|
85
|
-
export declare const opacity60HexCode = "99";
|
|
86
|
-
export declare const opacity90HexCode = "E6";
|