@opentrons/components 0.3.0-alpha.1 → 0.3.2-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 (100) hide show
  1. package/README.md +1 -1
  2. package/lib/assets/localization/en/index.d.ts +7 -3
  3. package/lib/assets/localization/index.d.ts +7 -3
  4. package/lib/atoms/Chip/index.d.ts +1 -0
  5. package/lib/atoms/FixedTrashText/index.d.ts +1 -0
  6. package/lib/atoms/ListItem/ListItemChildren/ListItemCustomize.d.ts +1 -0
  7. package/lib/atoms/ListItem/ListItemChildren/ListItemDescriptor.d.ts +1 -0
  8. package/lib/atoms/Slider/index.d.ts +1 -0
  9. package/lib/atoms/Snackbar/index.d.ts +1 -0
  10. package/lib/atoms/Tag/index.d.ts +1 -0
  11. package/lib/atoms/Toast/index.d.ts +1 -0
  12. package/lib/atoms/buttons/EmptySelectorButton.d.ts +1 -0
  13. package/lib/atoms/buttons/LargeButton.d.ts +1 -1
  14. package/lib/buttons/DeprecatedPrimaryButton.d.ts +1 -0
  15. package/lib/buttons/FlatButton.d.ts +1 -0
  16. package/lib/buttons/IconButton.d.ts +1 -0
  17. package/lib/buttons/OutlineButton.d.ts +1 -0
  18. package/lib/forms/Select.d.ts +1 -0
  19. package/lib/hardware-sim/BaseDeck/MiddleSlot.d.ts +8 -0
  20. package/lib/hardware-sim/BaseDeck/StackedBadge.d.ts +1 -0
  21. package/lib/hardware-sim/BaseDeck/__tests__/MiddleSlot.test.d.ts +1 -0
  22. package/lib/hardware-sim/Deck/DeckFromLayers.d.ts +1 -0
  23. package/lib/hardware-sim/Deck/MoveLabwareOnDeck.d.ts +1 -0
  24. package/lib/hardware-sim/Deck/OT2Layers.d.ts +1 -0
  25. package/lib/hardware-sim/Deck/__mocks__/getDeckDefinitions.d.ts +3 -1
  26. package/lib/hardware-sim/DeckConfigurator/AbsorbanceReaderItem.d.ts +1 -0
  27. package/lib/hardware-sim/DeckConfigurator/EmptyConfigItem.d.ts +1 -0
  28. package/lib/hardware-sim/DeckConfigurator/FlexStackerItem.d.ts +1 -0
  29. package/lib/hardware-sim/DeckConfigurator/HeaterShakerItem.d.ts +1 -0
  30. package/lib/hardware-sim/DeckConfigurator/MagneticBlockItem.d.ts +1 -0
  31. package/lib/hardware-sim/DeckConfigurator/StagingAreaConfigItem.d.ts +1 -0
  32. package/lib/hardware-sim/DeckConfigurator/StaticItem.d.ts +1 -0
  33. package/lib/hardware-sim/DeckConfigurator/TemperatureModuleItem.d.ts +1 -0
  34. package/lib/hardware-sim/DeckConfigurator/ThermocyclerItem.d.ts +1 -0
  35. package/lib/hardware-sim/DeckConfigurator/TrashBinConfigItem.d.ts +1 -0
  36. package/lib/hardware-sim/DeckConfigurator/VacuumModuleItem.d.ts +1 -0
  37. package/lib/hardware-sim/DeckConfigurator/WasteChuteConfigItem.d.ts +1 -0
  38. package/lib/hardware-sim/Labware/CalibrationBlockRender.d.ts +1 -0
  39. package/lib/hardware-sim/Labware/LabwareAdapter/GenericLid.d.ts +1 -0
  40. package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96DeepWellAdapter.d.ts +1 -0
  41. package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96FlatBottomAdapter.d.ts +1 -0
  42. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAluminumFlatBottomPlate.d.ts +1 -0
  43. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAutoclavableDeckRiser.d.ts +1 -0
  44. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsFlex96TiprackAdapter.d.ts +1 -0
  45. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsToughPCRAutoSealingLid.d.ts +1 -0
  46. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapter.d.ts +1 -0
  47. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapterTypeB.d.ts +1 -0
  48. package/lib/hardware-sim/Labware/labwareInternals/Tips/InaccessibleTip.d.ts +1 -0
  49. package/lib/hardware-sim/Labware/labwareInternals/Tips/NewTip.d.ts +1 -0
  50. package/lib/hardware-sim/Labware/labwareInternals/Tips/TipStatus.d.ts +2 -1
  51. package/lib/hardware-sim/Labware/labwareInternals/Tips/UsedTip.d.ts +1 -0
  52. package/lib/hardware-sim/Labware/labwareInternals/Wells/EmptyWell.d.ts +3 -2
  53. package/lib/hardware-sim/Labware/labwareInternals/Wells/SelectedWell.d.ts +2 -1
  54. package/lib/hardware-sim/Labware/labwareInternals/Wells/WellStatus.d.ts +2 -1
  55. package/lib/hardware-sim/Module/FlexStacker.d.ts +1 -0
  56. package/lib/hardware-sim/Module/HeaterShaker.d.ts +1 -0
  57. package/lib/hardware-sim/Module/MagneticBlock.d.ts +1 -0
  58. package/lib/hardware-sim/Module/MagneticModule.d.ts +1 -0
  59. package/lib/hardware-sim/Module/PlateReader.d.ts +1 -0
  60. package/lib/hardware-sim/Module/Temperature.d.ts +1 -0
  61. package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN1.d.ts +1 -0
  62. package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN2.d.ts +1 -0
  63. package/lib/hardware-sim/Module/Thermocycler/index.d.ts +1 -0
  64. package/lib/hardware-sim/Module/Vacuum.d.ts +1 -0
  65. package/lib/helix-design-system/borders.d.ts +4 -0
  66. package/lib/hooks/useSelectDeckLocation/index.d.ts +1 -0
  67. package/lib/icons/NotificationIcon.d.ts +1 -0
  68. package/lib/icons/icon-data.d.ts +8 -0
  69. package/lib/index.js +273 -342
  70. package/lib/index.mjs +14382 -14622
  71. package/lib/instrument/InstrumentDiagram.d.ts +1 -0
  72. package/lib/legacy-hardware-sim/LabwareNameOverlay.d.ts +1 -0
  73. package/lib/modals/ContinueModal.d.ts +1 -0
  74. package/lib/modals/SpinnerModal.d.ts +1 -0
  75. package/lib/molecules/DeckLabel/index.d.ts +1 -0
  76. package/lib/molecules/IconButton/index.d.ts +1 -0
  77. package/lib/molecules/InfoScreen/index.d.ts +1 -0
  78. package/lib/molecules/ParametersTable/index.d.ts +1 -0
  79. package/lib/molecules/ReleaseNotes/index.d.ts +1 -0
  80. package/lib/molecules/RobotInfoLabel/index.d.ts +1 -0
  81. package/lib/molecules/StepGroup/index.d.ts +7 -0
  82. package/lib/molecules/Tabs/index.d.ts +1 -0
  83. package/lib/molecules/TimelineScrubber/TrackSlider.d.ts +1 -0
  84. package/lib/molecules/TimelineScrubber/index.d.ts +1 -0
  85. package/lib/organisms/CommandText/useCommandTextString/utils/__tests__/getWellRange.test.d.ts +1 -0
  86. package/lib/organisms/LabwareDetailsWithCount/index.d.ts +1 -0
  87. package/lib/primitives/Box.d.ts +11 -0
  88. package/lib/primitives/Btn.d.ts +11 -0
  89. package/lib/primitives/Buttons/NewPrimaryBtn.d.ts +6 -0
  90. package/lib/primitives/Flex.d.ts +11 -0
  91. package/lib/primitives/ForeignObject.d.ts +7 -0
  92. package/lib/primitives/Link.d.ts +9 -0
  93. package/lib/primitives/Svg.d.ts +6 -0
  94. package/lib/primitives/Text.d.ts +11 -0
  95. package/lib/primitives/index.d.ts +0 -1
  96. package/lib/slotmap/OT2SlotMap.d.ts +1 -0
  97. package/lib/structure/Splash.d.ts +1 -0
  98. package/lib/style.css +1 -1
  99. package/package.json +8 -7
  100. package/src/styles/global.css +5 -1
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ## Version
10
10
 
11
- `0.3.0-alpha.1`
11
+ `0.3.2-alpha.0`
12
12
 
13
13
  ## License
14
14
 
@@ -111,9 +111,12 @@ export declare const shared_en_resources: {
111
111
  "unsafe/ungripLabware": string;
112
112
  "unsafe/updatePositionEstimators": string;
113
113
  unsealPipetteFromTip: string;
114
- "vacuum_module/startSetVacuumPressure": string;
115
- "vacuum_module/stopVacuum": string;
116
- "vacuum_module/startSetVacuumPump": string;
114
+ "vacuumModule/startSetVacuumPressure": string;
115
+ "vacuumModule/stopVacuum": string;
116
+ "vacuumModule/startSetVacuumPower": string;
117
+ "vacuumModule/openVent": string;
118
+ "vacuumModule/closeVent": string;
119
+ "vacuumModule/startRunProfile": string;
117
120
  verifyTipPresence: string;
118
121
  waitForDuration: string;
119
122
  waitForResume: string;
@@ -244,6 +247,7 @@ export declare const shared_en_resources: {
244
247
  on_location: string;
245
248
  opening_tc_lid: string;
246
249
  partial_layout: string;
250
+ partial_nozzles: string;
247
251
  pause: string;
248
252
  pause_on: string;
249
253
  pickup_tip: string;
@@ -114,9 +114,12 @@ export declare const resources: {
114
114
  "unsafe/ungripLabware": string;
115
115
  "unsafe/updatePositionEstimators": string;
116
116
  unsealPipetteFromTip: string;
117
- "vacuum_module/startSetVacuumPressure": string;
118
- "vacuum_module/stopVacuum": string;
119
- "vacuum_module/startSetVacuumPump": string;
117
+ "vacuumModule/startSetVacuumPressure": string;
118
+ "vacuumModule/stopVacuum": string;
119
+ "vacuumModule/startSetVacuumPower": string;
120
+ "vacuumModule/openVent": string;
121
+ "vacuumModule/closeVent": string;
122
+ "vacuumModule/startRunProfile": string;
120
123
  verifyTipPresence: string;
121
124
  waitForDuration: string;
122
125
  waitForResume: string;
@@ -247,6 +250,7 @@ export declare const resources: {
247
250
  on_location: string;
248
251
  opening_tc_lid: string;
249
252
  partial_layout: string;
253
+ partial_nozzles: string;
250
254
  pause: string;
251
255
  pause_on: string;
252
256
  pickup_tip: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { IconName } from '../../icons';
2
3
  import type { StyleProps } from '../../primitives';
3
4
  export type ChipType = 'error' | 'info' | 'neutral' | 'success' | 'warning';
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function FixedTrashText(): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { DropdownMenuProps } from '../../../molecules/DropdownMenu';
2
3
  import type { TagProps } from '../../Tag/index';
3
4
  interface ListItemCustomizeProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface ListItemDescriptorProps {
2
3
  /** ListItemDescriptor size type */
3
4
  type: 'default' | 'large';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface SliderProps {
2
3
  /** Value of slider as percentage */
3
4
  value: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { StyleProps } from '../../primitives';
2
3
  export interface SnackbarProps extends StyleProps {
3
4
  message: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { IconName } from '../../icons';
2
3
  import type { LiquidIconProps } from '../../molecules/LiquidIcon';
3
4
  export type TagType = 'default' | 'interactive' | 'branded' | 'onColor' | 'flex';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { IconProps } from '../../icons';
2
3
  import type { StyleProps } from '../../primitives';
3
4
  export declare const SUCCESS_TOAST: 'success';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { IconName } from '../../index';
2
3
  interface EmptySelectorButtonProps {
3
4
  onClick: () => void;
@@ -1,7 +1,7 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import type { IconName } from '../../icons';
3
3
  import type { StyleProps } from '../../primitives';
4
- type LargeButtonTypes = 'primary' | 'secondary' | 'alert' | 'alertStroke' | 'alertAlt' | 'stroke';
4
+ type LargeButtonTypes = 'primary' | 'secondary' | 'alert' | 'alertStroke' | 'alertAlt' | 'stroke' | 'blueStroke';
5
5
  interface LargeButtonProps extends StyleProps {
6
6
  /** used for form submission */
7
7
  type?: 'submit';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { ButtonProps } from './Button';
2
3
  /**
3
4
  * Primary application button. Fills its container and has a dark
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { ButtonProps } from './Button';
2
3
  /**
3
4
  * Flat-styled button with a default width of `9rem` and no background fill
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { IconProps } from '../icons';
2
3
  import type { ButtonProps } from './Button';
3
4
  interface Props extends ButtonProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { ButtonProps } from './Button';
2
3
  /**
3
4
  * Button with no background fill and a dark border.
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { components as reactSelectComponents } from 'react-select';
2
3
  import type { Props as ReactSelectProps } from 'react-select';
3
4
  import type { POSITION_ABSOLUTE, POSITION_FIXED } from '../styles';
@@ -0,0 +1,8 @@
1
+ import type { SVGProps } from 'react';
2
+ export interface MiddleSlotProps {
3
+ showSlotClips: boolean;
4
+ fixtureBaseColor: SVGProps<SVGPathElement>['fill'];
5
+ slotClipColor: SVGProps<SVGPathElement>['stroke'];
6
+ stroke?: string;
7
+ }
8
+ export declare function MiddleSlot(props: MiddleSlotProps): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function StackedBadge(): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { RobotType } from '@opentrons/shared-data';
2
3
  export * from './OT2Layers';
3
4
  export interface DeckFromLayersProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { DeckConfiguration, LabwareDefinition, LabwareLocation, LoadedLabware, LoadedModule, RobotType } from '@opentrons/shared-data';
2
3
  import type { LabwareOnDeck, ModuleOnDeck } from '../../hardware-sim/BaseDeck';
3
4
  import type { StyleProps } from '../../primitives';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function FixedBase(): JSX.Element;
2
3
  interface FixedTrashProps {
3
4
  highlight?: boolean;
@@ -1 +1,3 @@
1
- export declare const getDeckDefinitions: import("@vitest/spy").Mock<() => {}>;
1
+ import type { Mock } from 'vitest';
2
+ import type { DeckDefinition } from '@opentrons/shared-data';
3
+ export declare const getDeckDefinitions: Mock<() => Record<string, DeckDefinition>>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface AbsorbanceReaderItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { AddressableAreaNamesWithFakes, CutoutId, DeckDefinition, ModuleModel } from '@opentrons/shared-data';
2
3
  interface EmptyConfigItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface FlexStackerItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface HeaterShakerItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface MagneticBlockItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface StagingAreaConfigItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface StaticFixtureProps {
3
4
  deckDefinition: DeckDefinition;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface TemperatureModuleFixtureProps {
3
4
  deckDefinition: DeckDefinition;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface ThermocyclerItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface TrashBinConfigItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface VacuumModuleItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
3
  interface WasteChuteConfigItemProps {
3
4
  deckDefinition: DeckDefinition;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { LabwareDefinition } from '@opentrons/shared-data';
2
3
  interface CalibrationBlockRenderProps {
3
4
  /**
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface GenericLidProps {
2
3
  lidDimensions: {
3
4
  xDimension: number;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function Opentrons96DeepWellAdapter(): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function Opentrons96FlatBottomAdapter(): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function OpentronsAluminumFlatBottomPlate(): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function OpentronsAutoclavableDeckRiser(): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function OpentronsFlex96TiprackAdapter(): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function OpentronsToughPCRAutoSealingLid(): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function OpentronsUniversalFlatAdapter(): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function OpentronsUniversalFlatAdapterTypeB(): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function InaccessibleTip(props: {
2
3
  size?: string;
3
4
  }): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function NewTip(props: {
2
3
  wellName: string;
3
4
  size?: string;
@@ -1,10 +1,11 @@
1
+ /// <reference types="react" />
1
2
  import type { LabwareWellMap } from '@opentrons/shared-data';
2
3
  import type { TipType } from '../types';
3
4
  interface TipStatusProps {
4
5
  type: TipType;
5
6
  wellMap: LabwareWellMap;
6
7
  wellName: string;
7
- size?: string;
8
+ size: string;
8
9
  text?: string;
9
10
  }
10
11
  export declare function TipStatus(props: TipStatusProps): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function UsedTip(props: {
2
3
  wellName: string;
3
4
  size?: string;
@@ -1,10 +1,11 @@
1
+ /// <reference types="react" />
1
2
  import type { LabwareWellMap } from '@opentrons/shared-data';
2
3
  import type { ParentType } from '../types';
3
4
  interface EmptyWellProps {
4
5
  wellMap: LabwareWellMap;
5
6
  parentType: ParentType;
6
7
  wellName: string;
7
- size?: string;
8
+ size: string;
8
9
  }
9
- export declare function EmptyWell(props: EmptyWellProps): JSX.Element;
10
+ export declare function EmptyWell({ size, wellMap, wellName, parentType, }: EmptyWellProps): JSX.Element;
10
11
  export {};
@@ -1,8 +1,9 @@
1
+ /// <reference types="react" />
1
2
  import type { LabwareWellMap } from '@opentrons/shared-data';
2
3
  interface SelectedWellProps {
3
4
  wellMap: LabwareWellMap;
4
5
  wellName: string;
5
- size?: string;
6
+ size: string;
6
7
  textInsideTip?: string;
7
8
  isUsed?: boolean;
8
9
  isError?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { LabwareWellMap } from '@opentrons/shared-data';
2
3
  import type { ParentType, WellType } from '../types';
3
4
  interface WellStatusProps {
@@ -5,8 +6,8 @@ interface WellStatusProps {
5
6
  wellName: string;
6
7
  type: WellType;
7
8
  parentType: ParentType;
9
+ size: string;
8
10
  showStroke?: boolean;
9
- size?: string;
10
11
  }
11
12
  export declare function WellStatus(props: WellStatusProps): JSX.Element;
12
13
  export {};
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function FlexStacker(): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface HeaterShakerVizProps {
2
3
  targetTemp: number | null;
3
4
  }
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function MagneticBlock(): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function MagneticModule(): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function PlateReader(): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface TemperatureVizProps {
2
3
  targetTemperature: number | null;
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface ThermocyclerGEN1Props {
2
3
  lidMotorState: 'open' | 'closed';
3
4
  ledLightColor: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface ThermocyclerGEN2Props {
2
3
  lidMotorState: 'open' | 'closed';
3
4
  ledLightColor: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { ThermocyclerModuleModel } from '@opentrons/shared-data';
2
3
  export interface ThermocyclerVizProps {
3
4
  lidMotorState: 'open' | 'closed' | 'unknown';
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function Vacuum(): JSX.Element;
@@ -7,6 +7,10 @@ export declare const borderRadius8 = "8px";
7
7
  export declare const borderRadius12 = "12px";
8
8
  export declare const borderRadius16 = "16px";
9
9
  export declare const borderRadius40 = "40px";
10
+ /**
11
+ * Round to a pill or full circle. The exact value here is arbitrary and might change.
12
+ * It just needs to be greater than the element's width and height.
13
+ */
10
14
  export declare const borderRadiusFull = "200px";
11
15
  /**
12
16
  * Styles
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { CutoutConfig, DeckDefinition, ModuleLocation, RobotType } from '@opentrons/shared-data';
2
3
  export type DeckLocationSelectThemes = 'default' | 'grey';
3
4
  export declare function useDeckLocationSelect(robotType: RobotType, theme?: DeckLocationSelectThemes): {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { IconName, IconProps } from './Icon';
2
3
  export interface NotificationIconProps extends IconProps {
3
4
  /** name constant of the optional notifcation icon to display */
@@ -535,6 +535,10 @@ export declare const ICON_DATA_BY_NAME: {
535
535
  readonly path: "M13.6285 0.571881C14.631 0.366889 15.7813 0.567501 16.8661 1.60287C17.925 2.61359 18.2194 3.61427 18.1005 4.49366C17.9856 5.3437 17.4948 6.00222 17.1397 6.38056L17.1301 6.39082L7.58533 15.3938L7.58316 15.3958L7.58099 15.3978C6.57189 16.3257 5.6847 16.5258 4.98887 16.3952C4.65608 16.3327 4.40035 16.1999 4.22772 16.0828C4.14114 16.024 4.07388 15.9682 4.02635 15.9249C4.00254 15.9033 3.98345 15.8845 3.96916 15.8699C3.96201 15.8626 3.95602 15.8563 3.95123 15.8511L3.95119 15.8511C3.94661 15.8463 3.94094 15.8403 3.93432 15.8332C3.92111 15.8188 3.90404 15.7997 3.88422 15.7758C3.84466 15.7282 3.79344 15.6612 3.73969 15.5765C3.63289 15.4082 3.51117 15.1622 3.45732 14.8541C3.34373 14.2042 3.55116 13.397 4.4988 12.5767L4.55524 12.5274C5.8055 11.4279 11.1288 6.26922 13.7049 3.7891L13.7225 3.77288C13.9086 3.61099 14.1971 3.6152 14.3779 3.78631C14.5646 3.96295 14.5659 4.25056 14.3808 4.42873L13.8621 4.92859C11.1621 7.53142 6.38993 12.1496 5.1959 13.1994L5.13831 13.2497C4.39332 13.8946 4.34372 14.4041 4.39624 14.7046C4.42544 14.8717 4.49254 15.0092 4.55383 15.1058C4.58412 15.1535 4.61173 15.1892 4.63001 15.2112C4.63909 15.2221 4.64569 15.2295 4.64891 15.233C4.64932 15.2334 4.64968 15.2338 4.64997 15.2341L4.65829 15.2423L4.66489 15.2498C4.66496 15.2499 4.66504 15.25 4.66511 15.25C4.66766 15.2526 4.67372 15.2588 4.68326 15.2674C4.70248 15.2849 4.73478 15.3121 4.77923 15.3422C4.86865 15.4029 5.00104 15.4715 5.17253 15.5037C5.48497 15.5623 6.07015 15.5246 6.91824 14.7456L16.4392 5.76514C16.732 5.45088 17.0774 4.9624 17.1565 4.37743C17.2324 3.81614 17.0741 3.08626 16.193 2.24528C15.3377 1.42895 14.5163 1.31951 13.828 1.46027C13.1036 1.60841 12.4764 2.04703 12.105 2.39819L12.1047 2.39857C10.4698 3.94099 8.11634 6.25209 6.16909 8.18007C5.196 9.14353 4.32526 10.0104 3.69781 10.6364C3.3841 10.9494 3.13123 11.2022 2.9568 11.3767C2.8696 11.4639 2.80201 11.5316 2.75623 11.5774C2.73335 11.6004 2.71588 11.6178 2.70418 11.6295C2.69832 11.6354 2.6939 11.6398 2.69094 11.6428C2.68947 11.6443 2.68836 11.6454 2.68762 11.6461C2.68725 11.6465 2.68696 11.6468 2.68678 11.647C2.68669 11.6471 2.68665 11.6472 2.6866 11.6472L2.34182 11.334L2.68651 11.6472L2.67319 11.6606L2.6588 11.6729L2.65876 11.6728C2.6587 11.6729 2.65866 11.673 2.65858 11.6731C2.65762 11.6739 2.65577 11.6755 2.65309 11.6778C2.64775 11.6825 2.63907 11.6902 2.62738 11.7008C2.60397 11.722 2.56861 11.7547 2.52384 11.7982C2.43418 11.8851 2.30753 12.0144 2.16449 12.1793C1.87667 12.5113 1.53133 12.9775 1.28276 13.5261C1.03455 14.0739 0.889933 14.6875 0.977764 15.3269C1.06468 15.9596 1.38438 16.6569 2.13425 17.3726C3.32437 18.5086 4.56119 18.725 5.67548 18.5258C6.81529 18.3221 7.8603 17.6745 8.58582 17.0247L18.1794 7.40821L18.1967 7.39169C18.3793 7.22624 18.6679 7.22488 18.8523 7.39249C19.0426 7.5655 19.05 7.85304 18.8687 8.03473L9.2565 17.67L9.24707 17.6784C8.43889 18.4048 7.23164 19.172 5.85068 19.4188C4.43968 19.671 2.88193 19.3711 1.46115 18.0151C0.579206 17.1733 0.150996 16.2968 0.033972 15.445C-0.0821326 14.5999 0.11326 13.8182 0.409037 13.1655C0.704436 12.5135 1.10704 11.9739 1.43118 11.6001C1.59412 11.4121 1.7395 11.2636 1.84533 11.1609C1.8983 11.1095 1.94155 11.0695 1.97233 11.0416C1.98757 11.0278 1.99974 11.017 2.00858 11.0092C2.01046 11.0073 2.01259 11.0053 2.01491 11.0029C2.02668 10.9911 2.0442 10.9736 2.06715 10.9506C2.11305 10.9047 2.18077 10.8368 2.26811 10.7495C2.4428 10.5747 2.69598 10.3217 3.01001 10.0084C3.63806 9.38174 4.50963 8.51398 5.48376 7.54949C7.43096 5.62156 9.7916 3.30339 11.4355 1.75243C11.8801 1.33209 12.6625 0.769445 13.6285 0.571881ZM4.64882 15.233C4.6486 15.2327 4.64837 15.2325 4.64811 15.2323L4.64771 15.2319L4.64882 15.233Z";
536
536
  readonly viewBox: "0 0 20 20";
537
537
  };
538
+ readonly 'power-off': {
539
+ readonly path: "M20 4C28.8366 4 36 11.1634 36 20C36 28.8366 28.8366 36 20 36C11.1634 36 4 28.8366 4 20C4 11.1634 11.1634 4 20 4ZM20 6.5C12.5442 6.5 6.5 12.5442 6.5 20C6.5 27.4558 12.5442 33.5 20 33.5C27.4558 33.5 33.5 27.4558 33.5 20C33.5 12.5442 27.4558 6.5 20 6.5Z M14.627 14.7686C13.3111 16.1198 12.5 17.9659 12.5 20.001C12.5005 24.1427 15.8582 27.501 20 27.501C24.1418 27.501 27.4995 24.1427 27.5 20.001C27.5 18.038 26.7441 16.2518 25.5098 14.915L27.2773 13.1475C28.9636 14.9376 30 17.3476 30 20.001C29.9995 25.5234 25.5225 30.001 20 30.001C14.4775 30.001 10.0005 25.5234 10 20.001C10 17.2756 11.0912 14.8047 12.8594 13.001L14.627 14.7686Z M21.25 20H18.75V11H21.25V20Z";
540
+ readonly viewBox: "0 0 40 40";
541
+ };
538
542
  readonly plus: {
539
543
  readonly path: "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
540
544
  readonly viewBox: "0 0 24 24";
@@ -675,6 +679,10 @@ export declare const ICON_DATA_BY_NAME: {
675
679
  readonly path: "M10 2.29297L11.8536 4.14652C12.0488 4.34178 12.0488 4.65837 11.8536 4.85363C11.6583 5.04889 11.3417 5.04889 11.1464 4.85363L10.5 4.20718L10.5 9.50008H12C12.8284 9.50008 13.5 8.8285 13.5 8.00008V7.50008H13.25C12.8358 7.50008 12.5 7.16429 12.5 6.75008V5.25008C12.5 4.83586 12.8358 4.50008 13.25 4.50008H14.75C15.1642 4.50008 15.5 4.83586 15.5 5.25008V6.75008C15.5 7.16429 15.1642 7.50008 14.75 7.50008H14.5V8.00008C14.5 9.38079 13.3807 10.5001 12 10.5001H10.5V13.5854C11.0826 13.7913 11.5 14.347 11.5 15.0001C11.5 15.8285 10.8284 16.5001 10 16.5001C9.17157 16.5001 8.5 15.8285 8.5 15.0001C8.5 14.347 8.9174 13.7913 9.5 13.5854V12.5001H8C6.61929 12.5001 5.5 11.3808 5.5 10.0001V9.41472C4.9174 9.2088 4.5 8.65318 4.5 8.00008C4.5 7.17165 5.17157 6.50008 6 6.50008C6.82843 6.50008 7.5 7.17165 7.5 8.00008C7.5 8.65318 7.0826 9.2088 6.5 9.41472V10.0001C6.5 10.8285 7.17157 11.5001 8 11.5001H9.5L9.5 4.20718L8.85355 4.85363C8.65829 5.04889 8.34171 5.04889 8.14645 4.85363C7.95118 4.65837 7.95118 4.34178 8.14645 4.14652L10 2.29297ZM6 7.50008C5.72386 7.50008 5.5 7.72393 5.5 8.00008C5.5 8.27622 5.72386 8.50008 6 8.50008C6.27614 8.50008 6.5 8.27622 6.5 8.00008C6.5 7.72393 6.27614 7.50008 6 7.50008ZM10 14.5001C9.72386 14.5001 9.5 14.7239 9.5 15.0001C9.5 15.2762 9.72386 15.5001 10 15.5001C10.2761 15.5001 10.5 15.2762 10.5 15.0001C10.5 14.7239 10.2761 14.5001 10 14.5001ZM13.5 6.50008V5.50008H14.5V6.50008H13.5Z";
676
680
  readonly viewBox: "0 0 20 20";
677
681
  };
682
+ readonly verified: {
683
+ readonly path: "M13.8 26.25L25.2 14.85L23.1 12.8L13.95 21.95L8.9 16.9L6.7 19.1L13.8 26.25ZM16 40C11.3333 38.8333 7.5 36.125 4.5 31.875C1.5 27.625 0 22.9667 0 17.9V6L16 0L32 6V17.9C32 22.9667 30.5 27.625 27.5 31.875C24.5 36.125 20.6667 38.8333 16 40Z";
684
+ readonly viewBox: "0 0 32 40";
685
+ };
678
686
  readonly 'vertical-plane': {
679
687
  readonly path: "M14.7072 4.64652L14.0001 5.35363L12.8537 4.20722V11.0851C13.3601 11.326 13.7101 11.8424 13.7101 12.4404C13.7101 13.0385 13.3601 13.5548 12.8537 13.7957V20.2931L14.0002 19.1466L14.7073 19.8537L12.3537 22.2073L10.0002 19.8537L10.7073 19.1466L11.8537 20.293V13.8978C11.1973 13.7379 10.7101 13.1461 10.7101 12.4404C10.7101 11.7348 11.1973 11.143 11.8537 10.983V4.20714L10.7072 5.35363L10.0001 4.64652L12.3537 2.29297L14.7072 4.64652ZM5.40956 9.00038L7.23413 9.81951L6.82456 10.7318L5 9.91266L5.40956 9.00038ZM10.4271 11.253L8.60255 10.4339L8.19298 11.3461L10.0175 12.1653L10.4271 11.253ZM14.5324 13.096L16.3569 13.9152L15.9474 14.8274L14.1228 14.0083L14.5324 13.096ZM17.7254 14.5295L19.5499 15.3486L19.1404 16.2609L17.3158 15.4418L17.7254 14.5295ZM17.3159 9.81951L19.1405 9.00038L19.55 9.91266L17.7255 10.7318L17.3159 9.81951ZM15.9475 10.4339L14.1229 11.253L14.5325 12.1653L16.3571 11.3461L15.9475 10.4339ZM8.1931 13.9152L10.0177 13.096L10.4272 14.0083L8.60266 14.8274L8.1931 13.9152ZM5.00012 15.3486L6.82468 14.5295L7.23424 15.4418L5.40968 16.2609L5.00012 15.3486Z";
680
688
  readonly viewBox: "0 0 24 24";