@opentrons/components 0.3.0-alpha.1 → 0.3.1-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.
- package/README.md +1 -1
- package/lib/assets/localization/en/index.d.ts +5 -3
- package/lib/assets/localization/index.d.ts +5 -3
- package/lib/atoms/Chip/index.d.ts +1 -0
- package/lib/atoms/FixedTrashText/index.d.ts +1 -0
- package/lib/atoms/ListItem/ListItemChildren/ListItemCustomize.d.ts +1 -0
- package/lib/atoms/ListItem/ListItemChildren/ListItemDescriptor.d.ts +1 -0
- package/lib/atoms/Slider/index.d.ts +1 -0
- package/lib/atoms/Snackbar/index.d.ts +1 -0
- package/lib/atoms/Tag/index.d.ts +1 -0
- package/lib/atoms/Toast/index.d.ts +1 -0
- package/lib/atoms/buttons/EmptySelectorButton.d.ts +1 -0
- package/lib/buttons/DeprecatedPrimaryButton.d.ts +1 -0
- package/lib/buttons/FlatButton.d.ts +1 -0
- package/lib/buttons/IconButton.d.ts +1 -0
- package/lib/buttons/OutlineButton.d.ts +1 -0
- package/lib/forms/Select.d.ts +1 -0
- package/lib/hardware-sim/BaseDeck/StackedBadge.d.ts +1 -0
- package/lib/hardware-sim/Deck/DeckFromLayers.d.ts +1 -0
- package/lib/hardware-sim/Deck/MoveLabwareOnDeck.d.ts +1 -0
- package/lib/hardware-sim/Deck/OT2Layers.d.ts +1 -0
- package/lib/hardware-sim/Deck/__mocks__/getDeckDefinitions.d.ts +3 -1
- package/lib/hardware-sim/DeckConfigurator/AbsorbanceReaderItem.d.ts +1 -0
- package/lib/hardware-sim/DeckConfigurator/EmptyConfigItem.d.ts +1 -0
- package/lib/hardware-sim/DeckConfigurator/FlexStackerItem.d.ts +1 -0
- package/lib/hardware-sim/DeckConfigurator/HeaterShakerItem.d.ts +1 -0
- package/lib/hardware-sim/DeckConfigurator/MagneticBlockItem.d.ts +1 -0
- package/lib/hardware-sim/DeckConfigurator/StagingAreaConfigItem.d.ts +1 -0
- package/lib/hardware-sim/DeckConfigurator/StaticItem.d.ts +1 -0
- package/lib/hardware-sim/DeckConfigurator/TemperatureModuleItem.d.ts +1 -0
- package/lib/hardware-sim/DeckConfigurator/ThermocyclerItem.d.ts +1 -0
- package/lib/hardware-sim/DeckConfigurator/TrashBinConfigItem.d.ts +1 -0
- package/lib/hardware-sim/DeckConfigurator/VacuumModuleItem.d.ts +1 -0
- package/lib/hardware-sim/DeckConfigurator/WasteChuteConfigItem.d.ts +1 -0
- package/lib/hardware-sim/Labware/CalibrationBlockRender.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/GenericLid.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96DeepWellAdapter.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96FlatBottomAdapter.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAluminumFlatBottomPlate.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAutoclavableDeckRiser.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsFlex96TiprackAdapter.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsToughPCRAutoSealingLid.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapter.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapterTypeB.d.ts +1 -0
- package/lib/hardware-sim/Labware/labwareInternals/Tips/InaccessibleTip.d.ts +1 -0
- package/lib/hardware-sim/Labware/labwareInternals/Tips/NewTip.d.ts +1 -0
- package/lib/hardware-sim/Labware/labwareInternals/Tips/TipStatus.d.ts +2 -1
- package/lib/hardware-sim/Labware/labwareInternals/Tips/UsedTip.d.ts +1 -0
- package/lib/hardware-sim/Labware/labwareInternals/Wells/EmptyWell.d.ts +3 -2
- package/lib/hardware-sim/Labware/labwareInternals/Wells/SelectedWell.d.ts +2 -1
- package/lib/hardware-sim/Labware/labwareInternals/Wells/WellStatus.d.ts +2 -1
- package/lib/hardware-sim/Module/FlexStacker.d.ts +1 -0
- package/lib/hardware-sim/Module/HeaterShaker.d.ts +1 -0
- package/lib/hardware-sim/Module/MagneticBlock.d.ts +1 -0
- package/lib/hardware-sim/Module/MagneticModule.d.ts +1 -0
- package/lib/hardware-sim/Module/PlateReader.d.ts +1 -0
- package/lib/hardware-sim/Module/Temperature.d.ts +1 -0
- package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN1.d.ts +1 -0
- package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN2.d.ts +1 -0
- package/lib/hardware-sim/Module/Thermocycler/index.d.ts +1 -0
- package/lib/hardware-sim/Module/Vacuum.d.ts +1 -0
- package/lib/hooks/useSelectDeckLocation/index.d.ts +1 -0
- package/lib/icons/NotificationIcon.d.ts +1 -0
- package/lib/icons/icon-data.d.ts +4 -0
- package/lib/index.js +280 -349
- package/lib/index.mjs +13246 -13460
- package/lib/instrument/InstrumentDiagram.d.ts +1 -0
- package/lib/legacy-hardware-sim/LabwareNameOverlay.d.ts +1 -0
- package/lib/modals/ContinueModal.d.ts +1 -0
- package/lib/modals/SpinnerModal.d.ts +1 -0
- package/lib/molecules/DeckLabel/index.d.ts +1 -0
- package/lib/molecules/IconButton/index.d.ts +1 -0
- package/lib/molecules/InfoScreen/index.d.ts +1 -0
- package/lib/molecules/ParametersTable/index.d.ts +1 -0
- package/lib/molecules/ReleaseNotes/index.d.ts +1 -0
- package/lib/molecules/RobotInfoLabel/index.d.ts +1 -0
- package/lib/molecules/Tabs/index.d.ts +1 -0
- package/lib/molecules/TimelineScrubber/TrackSlider.d.ts +1 -0
- package/lib/molecules/TimelineScrubber/index.d.ts +1 -0
- package/lib/organisms/LabwareDetailsWithCount/index.d.ts +1 -0
- package/lib/primitives/Box.d.ts +11 -0
- package/lib/primitives/Btn.d.ts +11 -0
- package/lib/primitives/Buttons/NewPrimaryBtn.d.ts +6 -0
- package/lib/primitives/Flex.d.ts +11 -0
- package/lib/primitives/ForeignObject.d.ts +7 -0
- package/lib/primitives/Link.d.ts +9 -0
- package/lib/primitives/Svg.d.ts +6 -0
- package/lib/primitives/Text.d.ts +11 -0
- package/lib/primitives/index.d.ts +0 -1
- package/lib/slotmap/OT2SlotMap.d.ts +1 -0
- package/lib/structure/Splash.d.ts +1 -0
- package/lib/style.css +1 -1
- package/package.json +4 -3
- package/src/styles/global.css +1 -0
package/README.md
CHANGED
|
@@ -111,9 +111,11 @@ export declare const shared_en_resources: {
|
|
|
111
111
|
"unsafe/ungripLabware": string;
|
|
112
112
|
"unsafe/updatePositionEstimators": string;
|
|
113
113
|
unsealPipetteFromTip: string;
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
114
|
+
"vacuumModule/startSetVacuumPressure": string;
|
|
115
|
+
"vacuumModule/stopVacuum": string;
|
|
116
|
+
"vacuumModule/startSetVacuumPower": string;
|
|
117
|
+
"vacuumModule/openVent": string;
|
|
118
|
+
"vacuumModule/closeVent": string;
|
|
117
119
|
verifyTipPresence: string;
|
|
118
120
|
waitForDuration: string;
|
|
119
121
|
waitForResume: string;
|
|
@@ -114,9 +114,11 @@ export declare const resources: {
|
|
|
114
114
|
"unsafe/ungripLabware": string;
|
|
115
115
|
"unsafe/updatePositionEstimators": string;
|
|
116
116
|
unsealPipetteFromTip: string;
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
117
|
+
"vacuumModule/startSetVacuumPressure": string;
|
|
118
|
+
"vacuumModule/stopVacuum": string;
|
|
119
|
+
"vacuumModule/startSetVacuumPower": string;
|
|
120
|
+
"vacuumModule/openVent": string;
|
|
121
|
+
"vacuumModule/closeVent": string;
|
|
120
122
|
verifyTipPresence: string;
|
|
121
123
|
waitForDuration: string;
|
|
122
124
|
waitForResume: string;
|
package/lib/atoms/Tag/index.d.ts
CHANGED
package/lib/forms/Select.d.ts
CHANGED
|
@@ -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,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
|
|
8
|
+
size: string;
|
|
8
9
|
text?: string;
|
|
9
10
|
}
|
|
10
11
|
export declare function TipStatus(props: TipStatusProps): JSX.Element;
|
|
@@ -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
|
|
8
|
+
size: string;
|
|
8
9
|
}
|
|
9
|
-
export declare function EmptyWell(
|
|
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
|
|
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,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): {
|
package/lib/icons/icon-data.d.ts
CHANGED
|
@@ -675,6 +675,10 @@ export declare const ICON_DATA_BY_NAME: {
|
|
|
675
675
|
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
676
|
readonly viewBox: "0 0 20 20";
|
|
677
677
|
};
|
|
678
|
+
readonly verified: {
|
|
679
|
+
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";
|
|
680
|
+
readonly viewBox: "0 0 32 40";
|
|
681
|
+
};
|
|
678
682
|
readonly 'vertical-plane': {
|
|
679
683
|
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
684
|
readonly viewBox: "0 0 24 24";
|