@opentrons/components 0.2.0-alpha.4 → 0.3.0-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 (219) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +12 -48
  3. package/lib/assets/index.d.ts +1 -0
  4. package/lib/assets/localization/en/index.d.ts +191 -16
  5. package/lib/assets/localization/index.d.ts +292 -13
  6. package/lib/assets/localization/zh/index.d.ts +110 -8
  7. package/lib/atoms/Checkbox/index.d.ts +3 -3
  8. package/lib/atoms/CheckboxField/index.d.ts +2 -0
  9. package/lib/atoms/FixedTrashText/index.d.ts +1 -0
  10. package/lib/atoms/InlineNotification/index.d.ts +1 -1
  11. package/lib/atoms/ListButton/index.d.ts +2 -2
  12. package/lib/atoms/MenuList/OverflowBtn.d.ts +2 -2
  13. package/lib/atoms/Slider/index.d.ts +14 -0
  14. package/lib/atoms/StepMeter/__tests__/StepMeter.test.d.ts +1 -1
  15. package/lib/atoms/StepMeter/index.d.ts +1 -2
  16. package/lib/atoms/StyledText/LegacyStyledText.d.ts +3 -1
  17. package/lib/atoms/StyledText/PlaceholderStyledText.d.ts +14 -0
  18. package/lib/atoms/StyledText/StyledText.d.ts +1 -0
  19. package/lib/atoms/StyledText/index.d.ts +1 -0
  20. package/lib/atoms/Tag/index.d.ts +1 -1
  21. package/lib/atoms/buttons/AlertPrimaryButton.d.ts +3 -1
  22. package/lib/atoms/buttons/AltPrimaryButton.d.ts +3 -1
  23. package/lib/atoms/buttons/PrimaryButton.d.ts +2 -1
  24. package/lib/atoms/buttons/TertiaryButton.d.ts +8 -3
  25. package/lib/atoms/index.d.ts +2 -1
  26. package/lib/buttons/Button.d.ts +3 -3
  27. package/lib/controls/ToggleButton.d.ts +1 -1
  28. package/lib/forms/DeprecatedCheckboxField.d.ts +2 -2
  29. package/lib/forms/FormGroup.d.ts +4 -4
  30. package/lib/forms/LegacyInputField.d.ts +5 -5
  31. package/lib/forms/RadioGroup.d.ts +2 -2
  32. package/lib/forms/ToggleField.d.ts +1 -1
  33. package/lib/hardware-sim/BaseDeck/BaseDeck.d.ts +19 -11
  34. package/lib/hardware-sim/BaseDeck/SingleSlotFixture.d.ts +2 -0
  35. package/lib/hardware-sim/BaseDeck/StackedBadge.d.ts +1 -0
  36. package/lib/hardware-sim/BaseDeck/StagingAreaFixture.d.ts +1 -0
  37. package/lib/hardware-sim/BaseDeck/WasteChuteStagingAreaFixture.d.ts +1 -0
  38. package/lib/hardware-sim/Deck/MoveLabwareOnDeck.d.ts +3 -2
  39. package/lib/hardware-sim/Deck/RobotCoordsForeignDiv.d.ts +6 -5
  40. package/lib/hardware-sim/Deck/RobotCoordsForeignObject.d.ts +8 -5
  41. package/lib/hardware-sim/Deck/RobotWorkSpace.d.ts +2 -3
  42. package/lib/hardware-sim/DeckConfigurator/VacuumModuleItem.d.ts +11 -0
  43. package/lib/hardware-sim/DeckConfigurator/constants.d.ts +5 -0
  44. package/lib/hardware-sim/Labware/Labware.d.ts +3 -3
  45. package/lib/hardware-sim/Labware/LabwareAdapter/GenericLid.d.ts +9 -0
  46. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapterTypeB.d.ts +1 -0
  47. package/lib/hardware-sim/Labware/LabwareAdapter/index.d.ts +11 -3
  48. package/lib/hardware-sim/Labware/LabwareRender.d.ts +9 -9
  49. package/lib/hardware-sim/Labware/index.d.ts +1 -1
  50. package/lib/hardware-sim/Labware/labwareInternals/LabwareOutline.d.ts +1 -1
  51. package/lib/hardware-sim/Labware/labwareInternals/LabwareWellLabels.d.ts +1 -1
  52. package/lib/hardware-sim/Labware/labwareInternals/StaticLabware.d.ts +7 -2
  53. package/lib/hardware-sim/Labware/labwareInternals/Tips/InaccessibleTip.d.ts +3 -0
  54. package/lib/hardware-sim/Labware/labwareInternals/Tips/NewTip.d.ts +4 -0
  55. package/lib/hardware-sim/Labware/labwareInternals/Tips/TipStatus.d.ts +11 -0
  56. package/lib/hardware-sim/Labware/labwareInternals/Tips/UsedTip.d.ts +4 -0
  57. package/lib/hardware-sim/Labware/labwareInternals/Tips/__tests__/TipStatus.test.d.ts +1 -0
  58. package/lib/hardware-sim/Labware/labwareInternals/Tips/constants.d.ts +11 -0
  59. package/lib/hardware-sim/Labware/labwareInternals/Tips/index.d.ts +2 -0
  60. package/lib/hardware-sim/Labware/labwareInternals/Wells/EmptyWell.d.ts +10 -0
  61. package/lib/hardware-sim/Labware/labwareInternals/{FilledWells.d.ts → Wells/FilledWells.d.ts} +3 -3
  62. package/lib/hardware-sim/Labware/labwareInternals/Wells/SelectedWell.d.ts +13 -0
  63. package/lib/hardware-sim/Labware/labwareInternals/{StrokedWells.d.ts → Wells/StrokedWells.d.ts} +2 -2
  64. package/lib/hardware-sim/Labware/labwareInternals/{StyledWells.d.ts → Wells/StyledWells.d.ts} +1 -1
  65. package/lib/hardware-sim/Labware/labwareInternals/{Well.d.ts → Wells/Well.d.ts} +2 -3
  66. package/lib/hardware-sim/Labware/labwareInternals/{WellLabels.d.ts → Wells/WellLabels.d.ts} +2 -2
  67. package/lib/hardware-sim/Labware/labwareInternals/Wells/WellStatus.d.ts +12 -0
  68. package/lib/hardware-sim/Labware/labwareInternals/Wells/constants.d.ts +21 -0
  69. package/lib/hardware-sim/Labware/labwareInternals/Wells/index.d.ts +9 -0
  70. package/lib/hardware-sim/Labware/labwareInternals/Wells/utils.d.ts +2 -0
  71. package/lib/hardware-sim/Labware/labwareInternals/index.d.ts +2 -5
  72. package/lib/hardware-sim/Labware/labwareInternals/types.d.ts +10 -12
  73. package/lib/hardware-sim/Module/Vacuum.d.ts +1 -0
  74. package/lib/hardware-sim/Module/index.d.ts +40 -5
  75. package/lib/hardware-sim/Pipette/StrokedNozzles.d.ts +10 -0
  76. package/lib/hardware-sim/Pipette/constants.d.ts +3 -0
  77. package/lib/hardware-sim/Pipette/index.d.ts +1 -0
  78. package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpace.d.ts +5 -3
  79. package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpaceWithRef.d.ts +5 -4
  80. package/lib/hardware-sim/alignment/AlignToModuleChildSlot.d.ts +25 -0
  81. package/lib/hardware-sim/alignment/CenterLabwareInModuleChildSlot.d.ts +33 -0
  82. package/lib/hardware-sim/alignment/CenterLabwareInSlot.d.ts +11 -0
  83. package/lib/hardware-sim/alignment/index.d.ts +4 -0
  84. package/lib/hardware-sim/index.d.ts +1 -0
  85. package/lib/helix-design-system/colors.d.ts +1 -0
  86. package/lib/hocs/withStyleProps.d.ts +1 -1
  87. package/lib/hooks/__tests__/useCommandTypeSummaries.test.d.ts +1 -0
  88. package/lib/hooks/index.d.ts +2 -1
  89. package/lib/hooks/testHelpers/index.d.ts +2 -0
  90. package/lib/hooks/useCommandTypeSummaries.d.ts +2 -0
  91. package/lib/hooks/useConditionalConfirm.d.ts +5 -9
  92. package/lib/i18n.d.ts +4 -0
  93. package/lib/icons/ModuleIcon.d.ts +5 -4
  94. package/lib/icons/icon-data.d.ts +702 -4
  95. package/lib/index.d.ts +2 -1
  96. package/lib/index.js +557 -0
  97. package/lib/index.mjs +30576 -28609
  98. package/lib/interaction-enhancers/HandleKeypress.d.ts +2 -2
  99. package/lib/legacy-hardware-sim/LabwareNameOverlay.d.ts +1 -1
  100. package/lib/legacy-hardware-sim/index.d.ts +0 -1
  101. package/lib/modals/AlertModal.d.ts +1 -1
  102. package/lib/molecules/CustomizeExpandButton/index.d.ts +2 -2
  103. package/lib/molecules/DeckInfoLabel/index.d.ts +8 -20
  104. package/lib/molecules/DeckLabel/index.d.ts +9 -2
  105. package/lib/molecules/DropdownMenu/index.d.ts +5 -4
  106. package/lib/molecules/IconButton/index.d.ts +45 -0
  107. package/lib/molecules/InfoScreen/index.d.ts +3 -1
  108. package/lib/molecules/InputField/__tests__/InputField.test.d.ts +1 -0
  109. package/lib/{atoms → molecules}/InputField/index.d.ts +13 -12
  110. package/lib/molecules/LiquidIcon/index.d.ts +2 -1
  111. package/lib/molecules/RobotInfoLabel/__tests__/RobotInfoLabel.test.d.ts +1 -0
  112. package/lib/molecules/RobotInfoLabel/index.d.ts +12 -0
  113. package/lib/molecules/StepGroup/__tests__/StepGroup.test.d.ts +1 -0
  114. package/lib/molecules/StepGroup/index.d.ts +11 -0
  115. package/lib/molecules/TextAreaField/__tests__/TextAreaField.test.d.ts +1 -0
  116. package/lib/molecules/TextAreaField/index.d.ts +34 -0
  117. package/lib/molecules/TimelineScrubber/TrackSlider.d.ts +10 -0
  118. package/lib/molecules/TimelineScrubber/index.d.ts +6 -0
  119. package/lib/molecules/TouchInputField/__tests__/TouchInputField.test.d.ts +1 -0
  120. package/lib/molecules/TouchInputField/index.d.ts +56 -0
  121. package/lib/molecules/WizardHeader/__tests__/WizardHeader.test.d.ts +1 -0
  122. package/lib/molecules/WizardHeader/index.d.ts +11 -0
  123. package/lib/molecules/index.d.ts +8 -1
  124. package/lib/organisms/CommandText/getCommandData.d.ts +3 -0
  125. package/lib/organisms/CommandText/index.d.ts +2 -1
  126. package/lib/organisms/CommandText/useCommandTextString/index.d.ts +8 -3
  127. package/lib/organisms/CommandText/useCommandTextString/utils/commandText/__tests__/getTipStateCommandText.test.d.ts +1 -0
  128. package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getConcurrentCommandText.d.ts +3 -0
  129. package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getHSConcurrentShakeSpeedCommandTex.d.ts +3 -0
  130. package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getRobotDevicesCommandText.d.ts +3 -0
  131. package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getTCStartRunExtendedProfileCommandText.d.ts +4 -0
  132. package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getTipStateCommandText.d.ts +3 -0
  133. package/lib/organisms/CommandText/useCommandTextString/utils/commandText/index.d.ts +5 -0
  134. package/lib/organisms/CommandText/useCommandTextString/utils/getLabwareDisplayLocation.d.ts +2 -0
  135. package/lib/organisms/CommandText/useCommandTextString/utils/getLiquidDisplayName.d.ts +2 -1
  136. package/lib/organisms/CommandText/useCommandTextString/utils/types.d.ts +2 -1
  137. package/lib/organisms/DeckLabelSet/index.d.ts +1 -0
  138. package/lib/organisms/FixtureOption/index.d.ts +0 -1
  139. package/lib/organisms/LabwareDetailsWithCount/__tests__/LabwareDetailsWithCount.test.d.ts +1 -0
  140. package/lib/organisms/LabwareDetailsWithCount/index.d.ts +7 -0
  141. package/lib/organisms/LabwareInfoOverlay/__tests__/LabwareInfoOverlay.test.d.ts +1 -0
  142. package/lib/organisms/LabwareInfoOverlay/index.d.ts +12 -0
  143. package/lib/organisms/ProtocolDeck/index.d.ts +1 -0
  144. package/lib/organisms/Toolbox/index.d.ts +2 -0
  145. package/lib/organisms/index.d.ts +4 -3
  146. package/lib/primitives/Box.d.ts +3 -7
  147. package/lib/primitives/Btn.d.ts +2 -55
  148. package/lib/primitives/Buttons/NewPrimaryBtn.d.ts +8 -0
  149. package/lib/primitives/Buttons/NewSecondaryBtn.d.ts +8 -0
  150. package/lib/primitives/Flex.d.ts +3 -7
  151. package/lib/primitives/ForeignObject.d.ts +8 -18
  152. package/lib/primitives/Link.d.ts +3 -7
  153. package/lib/primitives/Svg.d.ts +4 -13
  154. package/lib/primitives/Text.d.ts +5 -7
  155. package/lib/primitives/index.d.ts +2 -0
  156. package/lib/primitives/style-props.d.ts +3 -3
  157. package/lib/primitives/types.d.ts +10 -3
  158. package/lib/src/alerts/alerts.module.css +103 -0
  159. package/lib/src/atoms/StyledText/placeholderstyledtext.module.css +26 -0
  160. package/lib/src/buttons/buttons.module.css +428 -0
  161. package/lib/src/controls/styles.module.css +103 -0
  162. package/lib/src/forms/Select.module.css +118 -0
  163. package/lib/src/forms/SelectField.module.css +16 -0
  164. package/lib/src/forms/forms.module.css +240 -0
  165. package/lib/src/hardware-sim/BaseDeck/basedeck.module.css +20 -0
  166. package/lib/src/hardware-sim/Deck/deck.module.css +54 -0
  167. package/lib/src/hardware-sim/Labware/labware.module.css +8 -0
  168. package/lib/src/hardware-sim/RobotCoordinateSpace/robotcoordinatespace.module.css +3 -0
  169. package/lib/src/icons/icon.module.css +10 -0
  170. package/lib/src/index.module.css +9 -0
  171. package/lib/src/instrument/PipetteSelect.module.css +14 -0
  172. package/lib/src/legacy-hardware-sim/LabwareNameOverlay.module.css +20 -0
  173. package/lib/src/legacy-hardware-sim/ModuleItem.module.css +98 -0
  174. package/lib/src/lists/lists.module.css +171 -0
  175. package/lib/src/modals/modals.module.css +275 -0
  176. package/lib/src/molecules/DeckInfoLabel/deckinfolabel.module.css +42 -0
  177. package/lib/src/molecules/ReleaseNotes/styles.module.css +66 -0
  178. package/lib/src/nav/SidePanel.module.css +34 -0
  179. package/lib/src/slotmap/styles.module.css +18 -0
  180. package/lib/src/structure/Pill.module.css +16 -0
  181. package/lib/src/structure/Splash.module.css +16 -0
  182. package/lib/src/structure/structure.module.css +114 -0
  183. package/lib/src/styles/borders.module.css +20 -0
  184. package/lib/src/styles/colors.module.css +58 -0
  185. package/lib/src/styles/global.css +179 -0
  186. package/lib/src/styles/index.module.css +8 -0
  187. package/lib/src/styles/typography.module.css +23 -0
  188. package/lib/src/tooltips/tooltips.module.css +72 -0
  189. package/lib/structure/Pill.d.ts +3 -3
  190. package/lib/style.css +1 -1
  191. package/lib/testing/utils/matchers.d.ts +0 -1
  192. package/lib/utils/__tests__/setRefs.test.d.ts +1 -0
  193. package/lib/utils/__tests__/truncateString.test.d.ts +1 -0
  194. package/lib/utils/humanizeLabwareType.d.ts +1 -0
  195. package/lib/utils/index.d.ts +4 -0
  196. package/lib/utils/setRefs.d.ts +2 -0
  197. package/lib/{utils.d.ts → utils/truncateString.d.ts} +0 -2
  198. package/lib/utils/wellNameSplit.d.ts +1 -0
  199. package/package.json +21 -26
  200. package/src/index.module.css +9 -0
  201. package/src/styles/borders.module.css +20 -0
  202. package/src/styles/borders.ts +16 -0
  203. package/src/styles/colors.module.css +52 -0
  204. package/src/styles/colors.ts +58 -0
  205. package/src/styles/cursor.ts +12 -0
  206. package/src/styles/flexbox.ts +39 -0
  207. package/src/styles/global.css +180 -0
  208. package/src/styles/index.module.css +8 -0
  209. package/src/styles/index.ts +8 -0
  210. package/src/styles/layout.ts +31 -0
  211. package/src/styles/position.ts +5 -0
  212. package/src/styles/spacing.ts +11 -0
  213. package/src/styles/typography.module.css +23 -0
  214. package/src/styles/typography.ts +90 -0
  215. package/lib/legacy-hardware-sim/ModuleItem.d.ts +0 -17
  216. /package/lib/{__tests__/utils.test.d.ts → atoms/Slider/__tests__/Slider.test.d.ts} +0 -0
  217. /package/lib/{atoms/InputField/__tests__/InputField.test.d.ts → hardware-sim/DeckConfigurator/__tests__/VacuumModuleItem.test.d.ts} +0 -0
  218. /package/lib/hardware-sim/Labware/labwareInternals/{__tests__ → Wells/__tests__}/StrokedWells.test.d.ts +0 -0
  219. /package/lib/hardware-sim/Labware/labwareInternals/{__tests__ → Wells/__tests__}/WellLabels.test.d.ts +0 -0
@@ -1,11 +1,11 @@
1
- import type { MouseEventHandler } from 'react';
1
+ import type { ChangeEventHandler } from 'react';
2
2
  export interface CheckboxProps {
3
3
  /** checkbox is checked if value is true */
4
4
  isChecked: boolean;
5
5
  /** label text that describes the option */
6
6
  labelText: string;
7
- /** callback click/tap handler */
8
- onClick: MouseEventHandler;
7
+ /** callback change handler */
8
+ onChange: ChangeEventHandler<HTMLInputElement>;
9
9
  /** html tabindex property */
10
10
  tabIndex?: number;
11
11
  /** if disabled is true, mouse events will not trigger onClick callback */
@@ -16,5 +16,7 @@ export interface CheckboxFieldProps {
16
16
  labelProps?: ComponentProps<'div'>;
17
17
  /** if true, render indeterminate icon */
18
18
  isIndeterminate?: boolean;
19
+ /** optional padding */
20
+ padding?: string;
19
21
  }
20
22
  export declare function CheckboxField(props: CheckboxFieldProps): JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function FixedTrashText(): JSX.Element;
@@ -12,7 +12,7 @@ export interface InlineNotificationProps extends StyleProps {
12
12
  /** optional handler to show close button/clear alert */
13
13
  onCloseClick?: (() => void) | MouseEventHandler<HTMLButtonElement>;
14
14
  linkText?: string;
15
- onLinkClick?: (() => void) | MouseEventHandler<HTMLButtonElement>;
15
+ onLinkClick?: (() => void) | MouseEventHandler<HTMLAnchorElement>;
16
16
  }
17
17
  export declare function InlineNotification(props: InlineNotificationProps): JSX.Element;
18
18
  export {};
@@ -1,7 +1,7 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import type { StyleProps } from '../../primitives';
3
3
  export * from './ListButtonChildren/index';
4
- type ListButtonType = 'noActive' | 'connected' | 'notConnected' | 'onColor';
4
+ type ListButtonType = 'noActive' | 'connected' | 'notConnected' | 'onColor' | 'error';
5
5
  interface ListButtonProps extends StyleProps {
6
6
  /** ListButton type */
7
7
  type: ListButtonType;
@@ -11,7 +11,7 @@ interface ListButtonProps extends StyleProps {
11
11
  disabled?: boolean;
12
12
  /** ListButton onClick event */
13
13
  onClick?: () => void;
14
- /** optional data-testid value for Cypress testing */
14
+ /** optional data-testid value for testing */
15
15
  testId?: string;
16
16
  }
17
17
  export declare function ListButton(props: ListButtonProps): JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import { Btn } from '../../primitives';
2
- import type { ComponentProps, ForwardedRef, ReactNode } from 'react';
2
+ import type { ComponentProps } from 'react';
3
3
  interface OverflowBtnProps extends ComponentProps<typeof Btn> {
4
4
  fillColor?: string;
5
5
  }
6
- export declare const OverflowBtn: (props: OverflowBtnProps, ref: ForwardedRef<HTMLInputElement>) => ReactNode;
6
+ export declare const OverflowBtn: import("react").ForwardRefExoticComponent<Omit<OverflowBtnProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
7
7
  export {};
@@ -0,0 +1,14 @@
1
+ interface SliderProps {
2
+ /** Value of slider as percentage */
3
+ value: number;
4
+ /** Function to do something with the value of the slider */
5
+ adjustValue: (value: number) => void;
6
+ /** Optional label for the slider */
7
+ label?: string;
8
+ /** Optional color for the unfilled (right) track. Defaults to blue-20. */
9
+ backgroundColor?: string;
10
+ /** Gap between label and slider: "large" (8px) or "small" (4px). Defaults to "large". */
11
+ type?: 'small' | 'large';
12
+ }
13
+ export declare function Slider({ value, label, adjustValue, backgroundColor, type, }: SliderProps): JSX.Element;
14
+ export {};
@@ -1 +1 @@
1
- export {};
1
+ import '@testing-library/jest-dom/vitest';
@@ -1,5 +1,4 @@
1
- import type { StyleProps } from '../../primitives';
2
- interface StepMeterProps extends StyleProps {
1
+ interface StepMeterProps {
3
2
  totalSteps: number;
4
3
  currentStep: number | null;
5
4
  }
@@ -1,6 +1,8 @@
1
1
  import { Text } from '../../primitives';
2
2
  import type { ComponentProps, ReactNode } from 'react';
3
- export interface LegacyProps extends ComponentProps<typeof Text> {
3
+ export interface LegacyProps extends Omit<ComponentProps<typeof Text>, 'as'> {
4
4
  children?: ReactNode;
5
+ as?: keyof JSX.IntrinsicElements | React.ComponentType<any>;
6
+ forwardedAs?: keyof JSX.IntrinsicElements | React.ComponentType<any>;
5
7
  }
6
8
  export declare const LegacyStyledText: (props: LegacyProps) => JSX.Element;
@@ -0,0 +1,14 @@
1
+ import type { ReactNode } from 'react';
2
+ interface PlaceholderStyledTextProps {
3
+ children: ReactNode;
4
+ color?: string;
5
+ desktopStyle?: string;
6
+ oddStyle?: string;
7
+ }
8
+ /**
9
+ * @deprecated: NOTE: YOU SHOULD NOT BE USING THIS - THIS IS A TEMP COMPONENT
10
+ * USED FOR PROTOCOL LIBRARY TO NOT USE STYLED-COMPONENTS. USE THIS
11
+ * UNTIL WE MIGRATE STYLEDTEXT PROPERLY
12
+ */
13
+ export declare const PlaceholderStyledText: (props: PlaceholderStyledTextProps) => JSX.Element;
14
+ export {};
@@ -149,6 +149,7 @@ export interface Props extends ComponentProps<typeof Text> {
149
149
  oddStyle?: ODDStyles;
150
150
  desktopStyle?: HelixStyles;
151
151
  children?: ReactNode;
152
+ htmlFor?: string;
152
153
  }
153
154
  export declare const ODD_STYLES: string[];
154
155
  export declare const HELIX_STYLES: string[];
@@ -1,2 +1,3 @@
1
1
  export * from './StyledText';
2
2
  export * from './LegacyStyledText';
3
+ export * from './PlaceholderStyledText';
@@ -1,6 +1,6 @@
1
1
  import type { IconName } from '../../icons';
2
2
  import type { LiquidIconProps } from '../../molecules/LiquidIcon';
3
- export type TagType = 'default' | 'interactive' | 'branded' | 'onColor';
3
+ export type TagType = 'default' | 'interactive' | 'branded' | 'onColor' | 'flex';
4
4
  export interface TagProps {
5
5
  /** Tag content */
6
6
  text: string;
@@ -1 +1,3 @@
1
- export declare const AlertPrimaryButton: import("styled-components").StyledComponent<"button", any, import("../../primitives").StyleProps, any>;
1
+ import type { ComponentProps, FC } from 'react';
2
+ import type { StyleProps } from '../../primitives/types';
3
+ export declare const AlertPrimaryButton: FC<ComponentProps<'button'> & StyleProps>;
@@ -1 +1,3 @@
1
- export declare const AltPrimaryButton: import("styled-components").StyledComponent<"button", any, import("../..").StyleProps, any>;
1
+ import type { ComponentProps, FC } from 'react';
2
+ import type { StyleProps } from '../../primitives/types';
3
+ export declare const AltPrimaryButton: FC<ComponentProps<'button'> & StyleProps>;
@@ -1 +1,2 @@
1
- export declare const PrimaryButton: import("styled-components").StyledComponent<"button", any, import("../../primitives").StyleProps, any>;
1
+ import type { StyledComponent } from 'styled-components';
2
+ export declare const PrimaryButton: StyledComponent<any, any>;
@@ -1,3 +1,8 @@
1
- export declare const TertiaryButton: import("styled-components").StyledComponent<"button", any, import("../../primitives").StyleProps & {
2
- buttonType: 'primary' | 'secondary' | 'white';
3
- }, any>;
1
+ import { Btn } from '../../primitives';
2
+ import type { ComponentProps } from 'react';
3
+ type ButtonType = 'primary' | 'secondary' | 'white';
4
+ type TertiaryButtonProps = Omit<ComponentProps<typeof Btn>, 'ref'> & {
5
+ buttonType: ButtonType;
6
+ };
7
+ export declare function TertiaryButton({ buttonType, ...props }: TertiaryButtonProps): JSX.Element;
8
+ export {};
@@ -4,8 +4,8 @@ export * from './Checkbox';
4
4
  export * from './CheckboxField';
5
5
  export * from './Chip';
6
6
  export * from './Divider';
7
+ export * from './FixedTrashText';
7
8
  export * from './InlineNotification';
8
- export * from './InputField';
9
9
  export * from './ListButton';
10
10
  export * from './ListItem';
11
11
  export * from './ListItem/ListItemChildren//ListItemDescriptor';
@@ -13,6 +13,7 @@ export * from './ListTable';
13
13
  export * from './MenuList';
14
14
  export * from './MenuList/MenuItem';
15
15
  export * from './MenuList/OverflowBtn';
16
+ export * from './Slider';
16
17
  export * from './Snackbar';
17
18
  export * from './StepMeter';
18
19
  export * from './StepMeter';
@@ -13,9 +13,9 @@ export interface ButtonProps {
13
13
  /** title attribute */
14
14
  title?: string;
15
15
  /** disabled attribute (setting disabled removes onClick) */
16
- disabled?: boolean | null | undefined;
16
+ disabled?: boolean | null;
17
17
  /** use hover style even when not hovered */
18
- hover?: boolean | null | undefined;
18
+ hover?: boolean | null;
19
19
  /** optional Icon name */
20
20
  iconName?: IconName;
21
21
  /** classes to apply */
@@ -31,7 +31,7 @@ export interface ButtonProps {
31
31
  /** custom element or component to use instead of `<button>` */
32
32
  Component?: ComponentType<any> | keyof JSX.IntrinsicElements;
33
33
  /** handlers for HoverTooltipComponent */
34
- hoverTooltipHandlers?: UseHoverTooltipTargetProps | null | undefined;
34
+ hoverTooltipHandlers?: UseHoverTooltipTargetProps | null;
35
35
  /** html tabindex property */
36
36
  tabIndex?: number;
37
37
  /** catch all prop for pass-through props */
@@ -2,7 +2,7 @@ import type { MouseEvent } from 'react';
2
2
  import type { StyleProps } from '../primitives';
3
3
  interface ToggleButtonProps extends StyleProps {
4
4
  toggledOn: boolean;
5
- label?: string | null;
5
+ label?: string;
6
6
  disabled?: boolean | null;
7
7
  id?: string;
8
8
  onClick?: (e: MouseEvent) => void;
@@ -10,13 +10,13 @@ export interface DeprecatedCheckboxFieldProps {
10
10
  /** classes to apply */
11
11
  className?: string;
12
12
  /** classes to apply to inner label text div. Deprecated. use labelProps.className */
13
- labelTextClassName?: string | null | undefined;
13
+ labelTextClassName?: string | null;
14
14
  /** name of field in form */
15
15
  name?: string;
16
16
  /** label text for checkbox */
17
17
  label?: string;
18
18
  /** if is included, checkbox will use error style. The content of the string is ignored. */
19
- error?: string | null | undefined;
19
+ error?: string | null;
20
20
  /** checkbox is disabled if value is true */
21
21
  disabled?: boolean;
22
22
  /** html tabindex property */
@@ -6,13 +6,13 @@ export interface FormGroupProps {
6
6
  /** form content */
7
7
  children?: ReactNode;
8
8
  /** classes to apply */
9
- className?: string | null | undefined;
9
+ className?: string | null;
10
10
  /** if is included, FormGroup title will use error style. The content of the string is ignored. */
11
- error?: string | null | undefined;
11
+ error?: string | null;
12
12
  /** enable disabled style. Overridden by truthy `error` */
13
- disabled?: boolean | null | undefined;
13
+ disabled?: boolean | null;
14
14
  /** handlers for HoverTooltipComponent */
15
- hoverTooltipHandlers?: HoverTooltipHandlers | null | undefined;
15
+ hoverTooltipHandlers?: HoverTooltipHandlers | null;
16
16
  /** boolean indicating formGroup used in pipette Settings slideout */
17
17
  isPipetteSettingsSlideout?: boolean;
18
18
  }
@@ -11,7 +11,7 @@ export interface LegacyInputFieldProps {
11
11
  /** inline label text. DEPRECATED */
12
12
  label?: string;
13
13
  /** classes to apply to inner label text div */
14
- labelTextClassName?: string | null | undefined;
14
+ labelTextClassName?: string | null;
15
15
  /** name of field in form */
16
16
  name?: string;
17
17
  /** optional ID of <input> element */
@@ -21,13 +21,13 @@ export interface LegacyInputFieldProps {
21
21
  /** optional suffix component, appears to the right of input text */
22
22
  units?: ReactNode;
23
23
  /** current value of text in box, defaults to '' */
24
- value?: string | null | undefined;
24
+ value?: string | null;
25
25
  /** if included, InputField will use error style and display error instead of caption */
26
- error?: string | null | undefined;
26
+ error?: string | null;
27
27
  /** optional caption. hidden when `error` is given */
28
- caption?: string | null | undefined;
28
+ caption?: string | null;
29
29
  /** appears to the right of the caption. Used for character limits, eg '0/45' */
30
- secondaryCaption?: string | null | undefined;
30
+ secondaryCaption?: string | null;
31
31
  /** optional input type (default "text") */
32
32
  type?: typeof INPUT_TYPE_TEXT | typeof INPUT_TYPE_PASSWORD;
33
33
  /** mouse click handler */
@@ -18,9 +18,9 @@ export interface RadioGroupProps {
18
18
  /** classes to apply to outer div */
19
19
  className?: string;
20
20
  /** classes to apply to inner label text div */
21
- labelTextClassName?: string | null | undefined;
21
+ labelTextClassName?: string | null;
22
22
  /** if is included, RadioGroup will use error style. The content of the string is ignored. */
23
- error?: string | null | undefined;
23
+ error?: string | null;
24
24
  /** 'name' attr of input */
25
25
  name?: string;
26
26
  /** optional prop to turn radio field blue when checked */
@@ -7,7 +7,7 @@ export interface ToggleFieldProps {
7
7
  /** classes to apply */
8
8
  className?: string;
9
9
  /** classes to apply to inner label text div */
10
- labelTextClassName?: string | null | undefined;
10
+ labelTextClassName?: string | null;
11
11
  /** name of field in form */
12
12
  name?: string;
13
13
  /** label text for toggled off */
@@ -1,14 +1,17 @@
1
1
  import { Module } from '../Module';
2
2
  import type { ComponentProps, ReactNode } from 'react';
3
3
  import type { DeckConfiguration, LabwareDefinition, LabwareLocation, ModuleLocation, ModuleModel, RobotType } from '@opentrons/shared-data';
4
- import type { Svg } from '../../primitives';
5
- import type { WellFill, WellGroup } from '../Labware';
4
+ import type { WellFillByName, WellGroup } from '../Labware';
6
5
  export interface LabwareOnDeck {
7
6
  labwareLocation: LabwareLocation;
8
7
  definition: LabwareDefinition;
9
- wellFill?: WellFill;
8
+ wellFill?: WellFillByName;
10
9
  missingTips?: WellGroup;
11
- /** generic prop to render self-positioned children for each labware */
10
+ /**
11
+ * Additional children to render alongside this labware.
12
+ * The SVG origin of these children is the front-left (-x,-y) corner of
13
+ * the slot that the labware is in.
14
+ */
12
15
  labwareChildren?: ReactNode;
13
16
  onLabwareClick?: () => void;
14
17
  highlight?: boolean;
@@ -18,10 +21,14 @@ export interface LabwareOnDeck {
18
21
  export interface ModuleOnDeck {
19
22
  moduleModel: ModuleModel;
20
23
  moduleLocation: ModuleLocation;
21
- nestedLabwareDef?: LabwareDefinition | null;
22
- nestedLabwareWellFill?: WellFill;
24
+ nestedLabwareDefsBottomToTop: LabwareDefinition[];
25
+ nestedLabwareWellFill?: WellFillByName;
23
26
  innerProps?: ComponentProps<typeof Module>['innerProps'];
24
- /** generic prop to render self-positioned children for each module */
27
+ /**
28
+ * Additional children to render atop this module, after `nestedLabwareDef`.
29
+ * The SVG origin of these children is the front-left (-x,-y) corner of the slot that
30
+ * the module is in.
31
+ */
25
32
  moduleChildren?: ReactNode;
26
33
  onLabwareClick?: () => void;
27
34
  highlightLabware?: boolean;
@@ -31,14 +38,12 @@ export interface ModuleOnDeck {
31
38
  }
32
39
  export interface HopperLabwareProps {
33
40
  hopperLabwareDef: LabwareDefinition | null;
34
- hopperLabwareWellFill: WellFill;
41
+ hopperLabwareWellFill: WellFillByName;
35
42
  hopperOnLabwareClick: () => void;
36
43
  hopperHighlightLabware: boolean;
37
44
  hopperStacked: boolean;
38
45
  }
39
- export declare const STACKER_MODULE_Y_OFFSET = -6;
40
46
  export declare const STACKER_HOPPER_LABWARE_X_OFFSET = 17.5;
41
- export declare const STACKER_HOPPER_LABWARE_Y_OFFSET = 6;
42
47
  export declare const STACKER_DECK_VIEW_BOX_EXPANSION = 220;
43
48
  interface BaseDeckProps {
44
49
  deckConfig: DeckConfiguration;
@@ -55,7 +60,10 @@ interface BaseDeckProps {
55
60
  /** whether to make wrapping svg tag animatable via @react-spring/web, defaults to false */
56
61
  animatedSVG?: boolean;
57
62
  /** extra props to pass to svg tag */
58
- svgProps?: ComponentProps<typeof Svg>;
63
+ /** NOTE: typing as any because running into some TS issues with React-spring,
64
+ * CSS Modules & Styled-components not playing together nicely
65
+ */
66
+ svgProps?: any;
59
67
  }
60
68
  export declare function BaseDeck(props: BaseDeckProps): JSX.Element;
61
69
  export {};
@@ -7,6 +7,8 @@ interface SingleSlotFixtureProps extends SVGProps<SVGGElement> {
7
7
  fixtureBaseColor?: SVGProps<SVGPathElement>['fill'];
8
8
  slotClipColor?: SVGProps<SVGPathElement>['stroke'];
9
9
  showExpansion?: boolean;
10
+ stroke?: string;
11
+ showSlotClips?: boolean;
10
12
  }
11
13
  export declare function SingleSlotFixture(props: SingleSlotFixtureProps): JSX.Element | null;
12
14
  export {};
@@ -0,0 +1 @@
1
+ export declare function StackedBadge(): JSX.Element;
@@ -8,6 +8,7 @@ interface StagingAreaFixtureProps extends SVGProps<SVGGElement> {
8
8
  fixtureBaseColor?: SVGProps<SVGPathElement>['fill'];
9
9
  slotClipColor?: SVGProps<SVGPathElement>['stroke'];
10
10
  showExtensions?: boolean;
11
+ showSlotClips?: boolean;
11
12
  }
12
13
  export declare function StagingAreaFixture(props: StagingAreaFixtureProps): JSX.Element | null;
13
14
  export {};
@@ -12,6 +12,7 @@ interface WasteChuteStagingAreaFixtureProps extends SVGProps<SVGGElement> {
12
12
  showExtensions?: boolean;
13
13
  showHighlight?: boolean;
14
14
  tagInfo?: DeckLabelProps[];
15
+ showSlotClips?: boolean;
15
16
  }
16
17
  export declare function WasteChuteStagingAreaFixture(props: WasteChuteStagingAreaFixtureProps): JSX.Element | null;
17
18
  export {};
@@ -1,5 +1,5 @@
1
- import type { ReactNode } from 'react';
2
1
  import type { DeckConfiguration, LabwareDefinition, LabwareLocation, LoadedLabware, LoadedModule, RobotType } from '@opentrons/shared-data';
2
+ import type { LabwareOnDeck, ModuleOnDeck } from '../../hardware-sim/BaseDeck';
3
3
  import type { StyleProps } from '../../primitives';
4
4
  interface MoveLabwareOnDeckProps extends StyleProps {
5
5
  robotType: RobotType;
@@ -8,9 +8,10 @@ interface MoveLabwareOnDeckProps extends StyleProps {
8
8
  finalLabwareLocation: LabwareLocation;
9
9
  loadedModules: LoadedModule[];
10
10
  loadedLabware: LoadedLabware[];
11
+ modulesOnDeck?: ModuleOnDeck[];
12
+ labwareOnDeck?: LabwareOnDeck[];
11
13
  labwareDefinitions: LabwareDefinition[];
12
14
  deckConfig: DeckConfiguration;
13
- backgroundItems?: ReactNode;
14
15
  deckFill?: string;
15
16
  }
16
17
  export declare function MoveLabwareOnDeck(props: MoveLabwareOnDeckProps): JSX.Element | null;
@@ -1,5 +1,6 @@
1
- import { Box } from '../../primitives';
2
- import type { ComponentProps, ReactNode } from 'react';
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
+ import type { StyleProps } from '../../primitives';
3
+ export type PositionType = 'absolute' | 'relative' | 'fixed';
3
4
  export interface RobotCoordsForeignDivProps {
4
5
  width?: string | number;
5
6
  height?: string | number;
@@ -7,10 +8,10 @@ export interface RobotCoordsForeignDivProps {
7
8
  y?: string | number;
8
9
  children?: ReactNode;
9
10
  outerProps?: any;
10
- innerDivProps?: ComponentProps<typeof Box>;
11
+ innerDivProps?: StyleProps;
12
+ innerDivEvents?: HTMLAttributes<HTMLDivElement>;
11
13
  transformWithSVG?: boolean;
12
14
  extraTransform?: string;
13
- /** optional data-testid to test foreignObjects in cypress */
14
15
  dataTestId?: string;
15
16
  }
16
- export declare const RobotCoordsForeignDiv: (props: RobotCoordsForeignDivProps) => JSX.Element;
17
+ export declare const RobotCoordsForeignDiv: ({ children, x, y, height, width, outerProps, innerDivProps, transformWithSVG, extraTransform, dataTestId, innerDivEvents, }: RobotCoordsForeignDivProps) => JSX.Element;
@@ -1,12 +1,15 @@
1
- import { Flex, ForeignObject } from '../../primitives';
2
- import type { ComponentProps, ReactNode } from 'react';
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
+ import type { StyleProps } from '../../primitives/types';
3
+ export type FlexDirection = 'column' | 'row';
3
4
  export interface RobotCoordsForeignObjectProps {
4
5
  width: string | number;
5
6
  height: string | number;
6
7
  x: string | number;
7
8
  y: string | number;
8
9
  children?: ReactNode;
9
- foreignObjectProps?: ComponentProps<typeof ForeignObject>;
10
- flexProps?: ComponentProps<typeof Flex>;
10
+ foreignObjectProps?: StyleProps;
11
+ foreignObjectEvents?: HTMLAttributes<HTMLDivElement>;
12
+ flexProps?: StyleProps;
13
+ flexEvents?: HTMLAttributes<HTMLDivElement>;
11
14
  }
12
- export declare const RobotCoordsForeignObject: (props: RobotCoordsForeignObjectProps) => JSX.Element;
15
+ export declare const RobotCoordsForeignObject: ({ children, x, y, height, width, foreignObjectEvents, foreignObjectProps, flexProps, flexEvents, }: RobotCoordsForeignObjectProps) => JSX.Element;
@@ -1,6 +1,5 @@
1
- import type { ReactNode } from 'react';
1
+ import type { CSSProperties, ReactNode } from 'react';
2
2
  import type { AddressableArea, DeckDefinition } from '@opentrons/shared-data';
3
- import type { StyleProps } from '../../primitives';
4
3
  export interface RobotWorkSpaceRenderProps {
5
4
  addressableAreasById: {
6
5
  [addressableAreaId: string]: AddressableArea;
@@ -25,7 +24,7 @@ type BaseProps = {
25
24
  */
26
25
  viewBox: string;
27
26
  });
28
- export type RobotWorkSpaceProps = BaseProps & StyleProps;
27
+ export type RobotWorkSpaceProps = BaseProps & CSSProperties;
29
28
  /**
30
29
  * A wrapper for rendering the robot deck, labware, etc. from a top-down perspective.
31
30
  *
@@ -0,0 +1,11 @@
1
+ import type { AddressableAreaNamesWithFakes, CutoutFixtureIdsWithFakes, CutoutId, DeckDefinition } from '@opentrons/shared-data';
2
+ interface VacuumModuleItemProps {
3
+ deckDefinition: DeckDefinition;
4
+ fixtureLocation: CutoutId;
5
+ cutoutFixtureId: CutoutFixtureIdsWithFakes;
6
+ addressableAreaId: AddressableAreaNamesWithFakes;
7
+ handleClickRemove?: (fixtureLocation: CutoutId, cutoutFixtureId: CutoutFixtureIdsWithFakes, addressableAreaId: AddressableAreaNamesWithFakes) => void;
8
+ selected?: boolean;
9
+ }
10
+ export declare function VacuumModuleItem(props: VacuumModuleItemProps): JSX.Element;
11
+ export {};
@@ -8,6 +8,7 @@ export declare const COLUMN_1_SINGLE_SLOT_FIXTURE_WIDTH = 243.5;
8
8
  export declare const COLUMN_DEFAULT_SINGLE_SLOT_FIXTURE_WIDTH = 159;
9
9
  export declare const LARGE_SINGLE_ITEM_SLOT_WIDTH = 250;
10
10
  export declare const THERMOCYCLER_FIXTURE_WIDTH = 243.5;
11
+ export declare const VACUUM_MODULE_V1_FIXTURE_WIDTH = 322;
11
12
  export declare const COLUMN_1_X_ADJUSTMENT = -100;
12
13
  export declare const COLUMN_DEFAULT_X_ADJUSTMENT = -15.5;
13
14
  export declare const STACKER_X_ADJUSTMENT = -12.5;
@@ -15,3 +16,7 @@ export declare const Y_ADJUSTMENT = -8;
15
16
  export declare const CONFIG_STYLE_READ_ONLY: import("styled-components").FlattenSimpleInterpolation;
16
17
  export declare const CONFIG_STYLE_EDITABLE: import("styled-components").FlattenSimpleInterpolation;
17
18
  export declare const CONFIG_STYLE_SELECTED: import("styled-components").FlattenSimpleInterpolation;
19
+ export declare const WASTE_CHUTE_WIDTH = 130;
20
+ export declare const WASTE_CHUTE_HEIGHT = 138;
21
+ export declare const WASTE_CHUTE_X = 322;
22
+ export declare const WASTE_CHUTE_Y = -51;
@@ -1,6 +1,6 @@
1
1
  import type { RefObject } from 'react';
2
2
  import type { LabwareDefinition } from '@opentrons/shared-data';
3
- import type { HighlightedWellLabels, WellFill, WellMouseEvent, WellStroke } from './labwareInternals/types';
3
+ import type { HighlightedWellLabels, WellFillByName, WellMouseEvent, WellStrokeByName } from './labwareInternals/Wells';
4
4
  export interface LabwareProps {
5
5
  /** Labware definition to render */
6
6
  definition: LabwareDefinition;
@@ -14,9 +14,9 @@ export interface LabwareProps {
14
14
  /** option to highlight well labels with specified color */
15
15
  highlightedWellLabels?: HighlightedWellLabels;
16
16
  /** CSS color to fill specified wells */
17
- wellFill?: WellFill;
17
+ wellFill?: WellFillByName;
18
18
  /** CSS color to stroke specified wells */
19
- wellStroke?: WellStroke;
19
+ wellStroke?: WellStrokeByName;
20
20
  /** adds thicker blue border with blur to labware */
21
21
  highlight?: boolean;
22
22
  /** Optional callback, called with WellMouseEvent args onMouseEnter */
@@ -0,0 +1,9 @@
1
+ interface GenericLidProps {
2
+ lidDimensions: {
3
+ xDimension: number;
4
+ yDimension: number;
5
+ zDimension: number;
6
+ } | null;
7
+ }
8
+ export declare function GenericLid(props: GenericLidProps): JSX.Element;
9
+ export {};
@@ -0,0 +1 @@
1
+ export declare function OpentronsUniversalFlatAdapterTypeB(): JSX.Element;
@@ -5,23 +5,31 @@ import { OpentronsAutoclavableDeckRiser } from './OpentronsAutoclavableDeckRiser
5
5
  import { OpentronsFlex96TiprackAdapter } from './OpentronsFlex96TiprackAdapter';
6
6
  import { OpentronsToughPCRAutoSealingLid } from './OpentronsToughPCRAutoSealingLid';
7
7
  import { OpentronsUniversalFlatAdapter } from './OpentronsUniversalFlatAdapter';
8
+ import { OpentronsUniversalFlatAdapterTypeB } from './OpentronsUniversalFlatAdapterTypeB';
8
9
  import type { LabwareDefinition } from '@opentrons/shared-data';
9
- declare const LABWARE_ADAPTER_LOADNAME_PATHS: {
10
+ declare const CUSTOM_SVG_LOADNAME_PATHS: {
10
11
  opentrons_96_deep_well_adapter: typeof Opentrons96DeepWellAdapter;
11
12
  opentrons_96_flat_bottom_adapter: typeof Opentrons96FlatBottomAdapter;
12
13
  opentrons_aluminum_flat_bottom_plate: typeof OpentronsAluminumFlatBottomPlate;
13
14
  opentrons_flex_96_tiprack_adapter: typeof OpentronsFlex96TiprackAdapter;
14
15
  opentrons_universal_flat_adapter: typeof OpentronsUniversalFlatAdapter;
16
+ opentrons_universal_flat_adapter_type_b: typeof OpentronsUniversalFlatAdapterTypeB;
15
17
  opentrons_tough_pcr_auto_sealing_lid: typeof OpentronsToughPCRAutoSealingLid;
16
18
  opentrons_flex_deck_riser: typeof OpentronsAutoclavableDeckRiser;
17
19
  };
18
- export type LabwareAdapterLoadName = keyof typeof LABWARE_ADAPTER_LOADNAME_PATHS;
19
- export declare const labwareAdapterLoadNames: string[];
20
+ export type LabwareAdapterLoadName = keyof typeof CUSTOM_SVG_LOADNAME_PATHS;
21
+ export declare const customSVGLoadNames: string[];
20
22
  export interface LabwareAdapterProps {
21
23
  labwareLoadName: LabwareAdapterLoadName;
24
+ lidDimensions: {
25
+ xDimension: number;
26
+ yDimension: number;
27
+ zDimension: number;
28
+ } | null;
22
29
  definition?: LabwareDefinition;
23
30
  highlight?: boolean;
24
31
  highlightShadow?: boolean;
32
+ isLid?: boolean;
25
33
  }
26
34
  export declare const LabwareAdapter: (props: LabwareAdapterProps) => JSX.Element | null;
27
35
  export {};