@opentrons/components 0.3.4-alpha.0 → 0.3.6-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 +50 -2
- package/lib/assets/localization/index.d.ts +52 -2
- package/lib/assets/localization/zh/index.d.ts +2 -0
- package/lib/atoms/CheckboxBasic/index.d.ts +16 -0
- package/lib/atoms/CodeBlock/CodeBlock.test.d.ts +1 -0
- package/lib/atoms/CodeBlock/index.d.ts +6 -0
- package/lib/atoms/StorageBar/__tests__/StorageBar.test.d.ts +1 -0
- package/lib/atoms/StorageBar/index.d.ts +8 -0
- package/lib/atoms/index.d.ts +3 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsVacuumManifoldCollar.d.ts +10 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsVacuumManifoldSpacer.d.ts +10 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/index.d.ts +6 -0
- package/lib/helix-design-system/colors.d.ts +1 -1
- package/lib/icons/icon-data.d.ts +17 -1
- package/lib/index.js +254 -254
- package/lib/index.mjs +14831 -14165
- package/lib/molecules/IconButton/index.d.ts +23 -17
- package/lib/molecules/ModelessModal/index.d.ts +12 -0
- package/lib/molecules/ResizableContainer/index.d.ts +10 -0
- package/lib/molecules/TextAreaField/index.d.ts +2 -0
- package/lib/organisms/CommandText/useCommandTextString/index.d.ts +7 -2
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/__tests__/getCalibrationCommandText.test.d.ts +1 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/__tests__/getIdentifyModuleCommandText.test.d.ts +1 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/__tests__/getSetStatusBarCommandText.test.d.ts +1 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/__tests__/getUnsafeCommandText.test.d.ts +1 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/__tests__/getVacuumModuleCommandText.test.d.ts +1 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/__tests__/getVacuumRunProfileCommandText.test.d.ts +1 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getCalibrationCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getFlexStackerCommandText.d.ts +2 -2
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getIdentifyModuleCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getPipettingCommandText.d.ts +3 -2
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getRetractAxisCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getSetStatusBarCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getUnsafeCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getVacuumModuleCommandText.d.ts +8 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getVacuumRunProfileCommandText.d.ts +13 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/index.d.ts +7 -0
- package/lib/style.css +1 -1
- package/lib/ui-style-constants/viewport.d.ts +3 -11
- package/package.json +3 -3
- package/src/styles/global.css +15 -4
package/README.md
CHANGED
|
@@ -8,8 +8,8 @@ export declare const shared_en_resources: {
|
|
|
8
8
|
aspirate: string;
|
|
9
9
|
aspirateInPlace: string;
|
|
10
10
|
aspirateWhileTracking: string;
|
|
11
|
-
blowout: string;
|
|
12
11
|
blowOutInPlace: string;
|
|
12
|
+
blowout: string;
|
|
13
13
|
"calibration/calibrateGripper": string;
|
|
14
14
|
"calibration/calibrateModule": string;
|
|
15
15
|
"calibration/calibratePipette": string;
|
|
@@ -62,10 +62,10 @@ export declare const shared_en_resources: {
|
|
|
62
62
|
moveRelative: string;
|
|
63
63
|
moveToAddressableArea: string;
|
|
64
64
|
moveToAddressableAreaForDropTip: string;
|
|
65
|
-
moveTocoordinates: string;
|
|
66
65
|
moveToCoordinates: string;
|
|
67
66
|
moveToSlot: string;
|
|
68
67
|
moveToWell: string;
|
|
68
|
+
moveTocoordinates: string;
|
|
69
69
|
pause: string;
|
|
70
70
|
pickUpTip: string;
|
|
71
71
|
prepareToAspirate: string;
|
|
@@ -159,6 +159,7 @@ export declare const shared_en_resources: {
|
|
|
159
159
|
waste_chute_with_staging_area_slot_and_cover: string;
|
|
160
160
|
};
|
|
161
161
|
protocol_command_text: {
|
|
162
|
+
absent: string;
|
|
162
163
|
absorbance_reader_close_lid: string;
|
|
163
164
|
absorbance_reader_initialize: string;
|
|
164
165
|
absorbance_reader_open_lid: string;
|
|
@@ -171,8 +172,13 @@ export declare const shared_en_resources: {
|
|
|
171
172
|
aspirate: string;
|
|
172
173
|
aspirate_in_place: string;
|
|
173
174
|
aspirate_while_tracking: string;
|
|
175
|
+
axis96ChannelCam: string;
|
|
174
176
|
blowout: string;
|
|
175
177
|
blowout_in_place: string;
|
|
178
|
+
blue: string;
|
|
179
|
+
calibrate_pipette: string;
|
|
180
|
+
calibrate_gripper: string;
|
|
181
|
+
calibrate_module: string;
|
|
176
182
|
capture_image_brightness: string;
|
|
177
183
|
capture_image_contrast: string;
|
|
178
184
|
capture_image_list_separator: string;
|
|
@@ -181,11 +187,14 @@ export declare const shared_en_resources: {
|
|
|
181
187
|
capture_image_simple: string;
|
|
182
188
|
capture_image_with_options: string;
|
|
183
189
|
capture_image_zoom: string;
|
|
190
|
+
close_latch: string;
|
|
184
191
|
closing_tc_lid: string;
|
|
192
|
+
closing_vacuum_module_vent: string;
|
|
185
193
|
column_layout: string;
|
|
186
194
|
comment: string;
|
|
187
195
|
configure_for_volume: string;
|
|
188
196
|
configure_nozzle_layout: string;
|
|
197
|
+
confirm: string;
|
|
189
198
|
confirm_and_resume: string;
|
|
190
199
|
create_timer: string;
|
|
191
200
|
deactivate_hs_shake: string;
|
|
@@ -195,6 +204,7 @@ export declare const shared_en_resources: {
|
|
|
195
204
|
deactivating_tc_lid: string;
|
|
196
205
|
degrees_c: string;
|
|
197
206
|
detect_liquid_presence: string;
|
|
207
|
+
disco: string;
|
|
198
208
|
disengaging_magnetic_module: string;
|
|
199
209
|
dispense: string;
|
|
200
210
|
dispense_in_place: string;
|
|
@@ -204,14 +214,20 @@ export declare const shared_en_resources: {
|
|
|
204
214
|
drop_tip_in_place: string;
|
|
205
215
|
dropping_tip_in_trash: string;
|
|
206
216
|
empty_stacker: string;
|
|
217
|
+
engage_axes: string;
|
|
207
218
|
engaging_magnetic_module: string;
|
|
208
219
|
extension_jaw: string;
|
|
209
220
|
extension_mount: string;
|
|
210
221
|
extension_z: string;
|
|
211
222
|
fill_stacker: string;
|
|
212
223
|
fixed_trash: string;
|
|
224
|
+
front: string;
|
|
213
225
|
get_next_tip: string;
|
|
226
|
+
get_tip_presence: string;
|
|
227
|
+
green: string;
|
|
214
228
|
home_gantry: string;
|
|
229
|
+
identify_module: string;
|
|
230
|
+
idle: string;
|
|
215
231
|
in_location: string;
|
|
216
232
|
latching_hs_latch: string;
|
|
217
233
|
left: string;
|
|
@@ -226,6 +242,7 @@ export declare const shared_en_resources: {
|
|
|
226
242
|
load_liquids_info_protocol_setup: string;
|
|
227
243
|
load_module_protocol_setup: string;
|
|
228
244
|
load_pipette_protocol_setup: string;
|
|
245
|
+
manual_retrieve: string;
|
|
229
246
|
module_in_slot: string;
|
|
230
247
|
module_in_slot_plural: string;
|
|
231
248
|
move_labware: string;
|
|
@@ -239,23 +256,33 @@ export declare const shared_en_resources: {
|
|
|
239
256
|
move_to_addressable_area_drop_tip: string;
|
|
240
257
|
move_to_coordinates: string;
|
|
241
258
|
move_to_slot: string;
|
|
259
|
+
move_to_maintenance_position: string;
|
|
242
260
|
move_to_well: string;
|
|
243
261
|
multiple: string;
|
|
244
262
|
ninety_six_channel_cam: string;
|
|
245
263
|
notes: string;
|
|
264
|
+
off: string;
|
|
246
265
|
off_deck: string;
|
|
247
266
|
offdeck: string;
|
|
267
|
+
open_latch: string;
|
|
248
268
|
on_location: string;
|
|
249
269
|
opening_tc_lid: string;
|
|
270
|
+
opening_vacuum_module_vent: string;
|
|
250
271
|
partial_layout: string;
|
|
251
272
|
partial_nozzles: string;
|
|
252
273
|
pause: string;
|
|
253
274
|
pause_on: string;
|
|
254
275
|
pickup_tip: string;
|
|
276
|
+
place_labware: string;
|
|
277
|
+
prepare_shuttle: string;
|
|
255
278
|
prepare_to_aspirate: string;
|
|
279
|
+
present: string;
|
|
256
280
|
pressurizing_to_dispense: string;
|
|
257
281
|
quantity: string;
|
|
282
|
+
rear: string;
|
|
283
|
+
red: string;
|
|
258
284
|
reloading_labware: string;
|
|
285
|
+
retract_axis: string;
|
|
259
286
|
return_tip: string;
|
|
260
287
|
right: string;
|
|
261
288
|
right_mount: string;
|
|
@@ -271,6 +298,7 @@ export declare const shared_en_resources: {
|
|
|
271
298
|
sealing_to_location: string;
|
|
272
299
|
set_and_await_hs_shake: string;
|
|
273
300
|
set_hs_shake: string;
|
|
301
|
+
set_status_bar: string;
|
|
274
302
|
set_tip_state: string;
|
|
275
303
|
setting_hs_temp: string;
|
|
276
304
|
setting_temperature_module_temp: string;
|
|
@@ -278,10 +306,22 @@ export declare const shared_en_resources: {
|
|
|
278
306
|
setting_thermocycler_block_temp_in_background: string;
|
|
279
307
|
setting_thermocycler_lid_temp: string;
|
|
280
308
|
setting_thermocycler_lid_temp_in_background: string;
|
|
309
|
+
setting_vacuum_module_power: string;
|
|
310
|
+
setting_vacuum_module_power_with_hold: string;
|
|
311
|
+
setting_vacuum_module_pressure: string;
|
|
312
|
+
setting_vacuum_module_pressure_with_hold: string;
|
|
281
313
|
single: string;
|
|
282
314
|
single_nozzle_layout: string;
|
|
283
315
|
slot: string;
|
|
284
316
|
stacker_hopper_display: string;
|
|
317
|
+
running_vacuum_module_profile: string;
|
|
318
|
+
running_vacuum_module_profile_generic: string;
|
|
319
|
+
vacuum_run_profile_cycle: string;
|
|
320
|
+
vacuum_run_profile_power_step: string;
|
|
321
|
+
vacuum_run_profile_pressure_step: string;
|
|
322
|
+
starting: string;
|
|
323
|
+
stopping: string;
|
|
324
|
+
stopping_vacuum_module: string;
|
|
285
325
|
target_temperature: string;
|
|
286
326
|
tc_awaiting_for_duration: string;
|
|
287
327
|
tc_run_profile_steps: string;
|
|
@@ -294,8 +334,12 @@ export declare const shared_en_resources: {
|
|
|
294
334
|
trash_bin_in_slot: string;
|
|
295
335
|
turning_rail_lights_off: string;
|
|
296
336
|
turning_rail_lights_on: string;
|
|
337
|
+
ungrip_labware: string;
|
|
297
338
|
unlatching_hs_latch: string;
|
|
298
339
|
unsealing_from_location: string;
|
|
340
|
+
update_position_estimators: string;
|
|
341
|
+
updating: string;
|
|
342
|
+
verifying_tip_presence: string;
|
|
299
343
|
wait_for_duration: string;
|
|
300
344
|
wait_for_resume: string;
|
|
301
345
|
wait_for_tasks: string;
|
|
@@ -304,7 +348,11 @@ export declare const shared_en_resources: {
|
|
|
304
348
|
waiting_for_tc_lid_to_reach: string;
|
|
305
349
|
waiting_to_reach_temp_module: string;
|
|
306
350
|
waste_chute: string;
|
|
351
|
+
white: string;
|
|
307
352
|
with_lid_name: string;
|
|
308
353
|
with_reference_of: string;
|
|
354
|
+
x: string;
|
|
355
|
+
y: string;
|
|
356
|
+
yellow: string;
|
|
309
357
|
};
|
|
310
358
|
};
|
|
@@ -11,8 +11,8 @@ export declare const resources: {
|
|
|
11
11
|
aspirate: string;
|
|
12
12
|
aspirateInPlace: string;
|
|
13
13
|
aspirateWhileTracking: string;
|
|
14
|
-
blowout: string;
|
|
15
14
|
blowOutInPlace: string;
|
|
15
|
+
blowout: string;
|
|
16
16
|
"calibration/calibrateGripper": string;
|
|
17
17
|
"calibration/calibrateModule": string;
|
|
18
18
|
"calibration/calibratePipette": string;
|
|
@@ -65,10 +65,10 @@ export declare const resources: {
|
|
|
65
65
|
moveRelative: string;
|
|
66
66
|
moveToAddressableArea: string;
|
|
67
67
|
moveToAddressableAreaForDropTip: string;
|
|
68
|
-
moveTocoordinates: string;
|
|
69
68
|
moveToCoordinates: string;
|
|
70
69
|
moveToSlot: string;
|
|
71
70
|
moveToWell: string;
|
|
71
|
+
moveTocoordinates: string;
|
|
72
72
|
pause: string;
|
|
73
73
|
pickUpTip: string;
|
|
74
74
|
prepareToAspirate: string;
|
|
@@ -162,6 +162,7 @@ export declare const resources: {
|
|
|
162
162
|
waste_chute_with_staging_area_slot_and_cover: string;
|
|
163
163
|
};
|
|
164
164
|
protocol_command_text: {
|
|
165
|
+
absent: string;
|
|
165
166
|
absorbance_reader_close_lid: string;
|
|
166
167
|
absorbance_reader_initialize: string;
|
|
167
168
|
absorbance_reader_open_lid: string;
|
|
@@ -174,8 +175,13 @@ export declare const resources: {
|
|
|
174
175
|
aspirate: string;
|
|
175
176
|
aspirate_in_place: string;
|
|
176
177
|
aspirate_while_tracking: string;
|
|
178
|
+
axis96ChannelCam: string;
|
|
177
179
|
blowout: string;
|
|
178
180
|
blowout_in_place: string;
|
|
181
|
+
blue: string;
|
|
182
|
+
calibrate_pipette: string;
|
|
183
|
+
calibrate_gripper: string;
|
|
184
|
+
calibrate_module: string;
|
|
179
185
|
capture_image_brightness: string;
|
|
180
186
|
capture_image_contrast: string;
|
|
181
187
|
capture_image_list_separator: string;
|
|
@@ -184,11 +190,14 @@ export declare const resources: {
|
|
|
184
190
|
capture_image_simple: string;
|
|
185
191
|
capture_image_with_options: string;
|
|
186
192
|
capture_image_zoom: string;
|
|
193
|
+
close_latch: string;
|
|
187
194
|
closing_tc_lid: string;
|
|
195
|
+
closing_vacuum_module_vent: string;
|
|
188
196
|
column_layout: string;
|
|
189
197
|
comment: string;
|
|
190
198
|
configure_for_volume: string;
|
|
191
199
|
configure_nozzle_layout: string;
|
|
200
|
+
confirm: string;
|
|
192
201
|
confirm_and_resume: string;
|
|
193
202
|
create_timer: string;
|
|
194
203
|
deactivate_hs_shake: string;
|
|
@@ -198,6 +207,7 @@ export declare const resources: {
|
|
|
198
207
|
deactivating_tc_lid: string;
|
|
199
208
|
degrees_c: string;
|
|
200
209
|
detect_liquid_presence: string;
|
|
210
|
+
disco: string;
|
|
201
211
|
disengaging_magnetic_module: string;
|
|
202
212
|
dispense: string;
|
|
203
213
|
dispense_in_place: string;
|
|
@@ -207,14 +217,20 @@ export declare const resources: {
|
|
|
207
217
|
drop_tip_in_place: string;
|
|
208
218
|
dropping_tip_in_trash: string;
|
|
209
219
|
empty_stacker: string;
|
|
220
|
+
engage_axes: string;
|
|
210
221
|
engaging_magnetic_module: string;
|
|
211
222
|
extension_jaw: string;
|
|
212
223
|
extension_mount: string;
|
|
213
224
|
extension_z: string;
|
|
214
225
|
fill_stacker: string;
|
|
215
226
|
fixed_trash: string;
|
|
227
|
+
front: string;
|
|
216
228
|
get_next_tip: string;
|
|
229
|
+
get_tip_presence: string;
|
|
230
|
+
green: string;
|
|
217
231
|
home_gantry: string;
|
|
232
|
+
identify_module: string;
|
|
233
|
+
idle: string;
|
|
218
234
|
in_location: string;
|
|
219
235
|
latching_hs_latch: string;
|
|
220
236
|
left: string;
|
|
@@ -229,6 +245,7 @@ export declare const resources: {
|
|
|
229
245
|
load_liquids_info_protocol_setup: string;
|
|
230
246
|
load_module_protocol_setup: string;
|
|
231
247
|
load_pipette_protocol_setup: string;
|
|
248
|
+
manual_retrieve: string;
|
|
232
249
|
module_in_slot: string;
|
|
233
250
|
module_in_slot_plural: string;
|
|
234
251
|
move_labware: string;
|
|
@@ -242,23 +259,33 @@ export declare const resources: {
|
|
|
242
259
|
move_to_addressable_area_drop_tip: string;
|
|
243
260
|
move_to_coordinates: string;
|
|
244
261
|
move_to_slot: string;
|
|
262
|
+
move_to_maintenance_position: string;
|
|
245
263
|
move_to_well: string;
|
|
246
264
|
multiple: string;
|
|
247
265
|
ninety_six_channel_cam: string;
|
|
248
266
|
notes: string;
|
|
267
|
+
off: string;
|
|
249
268
|
off_deck: string;
|
|
250
269
|
offdeck: string;
|
|
270
|
+
open_latch: string;
|
|
251
271
|
on_location: string;
|
|
252
272
|
opening_tc_lid: string;
|
|
273
|
+
opening_vacuum_module_vent: string;
|
|
253
274
|
partial_layout: string;
|
|
254
275
|
partial_nozzles: string;
|
|
255
276
|
pause: string;
|
|
256
277
|
pause_on: string;
|
|
257
278
|
pickup_tip: string;
|
|
279
|
+
place_labware: string;
|
|
280
|
+
prepare_shuttle: string;
|
|
258
281
|
prepare_to_aspirate: string;
|
|
282
|
+
present: string;
|
|
259
283
|
pressurizing_to_dispense: string;
|
|
260
284
|
quantity: string;
|
|
285
|
+
rear: string;
|
|
286
|
+
red: string;
|
|
261
287
|
reloading_labware: string;
|
|
288
|
+
retract_axis: string;
|
|
262
289
|
return_tip: string;
|
|
263
290
|
right: string;
|
|
264
291
|
right_mount: string;
|
|
@@ -274,6 +301,7 @@ export declare const resources: {
|
|
|
274
301
|
sealing_to_location: string;
|
|
275
302
|
set_and_await_hs_shake: string;
|
|
276
303
|
set_hs_shake: string;
|
|
304
|
+
set_status_bar: string;
|
|
277
305
|
set_tip_state: string;
|
|
278
306
|
setting_hs_temp: string;
|
|
279
307
|
setting_temperature_module_temp: string;
|
|
@@ -281,10 +309,22 @@ export declare const resources: {
|
|
|
281
309
|
setting_thermocycler_block_temp_in_background: string;
|
|
282
310
|
setting_thermocycler_lid_temp: string;
|
|
283
311
|
setting_thermocycler_lid_temp_in_background: string;
|
|
312
|
+
setting_vacuum_module_power: string;
|
|
313
|
+
setting_vacuum_module_power_with_hold: string;
|
|
314
|
+
setting_vacuum_module_pressure: string;
|
|
315
|
+
setting_vacuum_module_pressure_with_hold: string;
|
|
284
316
|
single: string;
|
|
285
317
|
single_nozzle_layout: string;
|
|
286
318
|
slot: string;
|
|
287
319
|
stacker_hopper_display: string;
|
|
320
|
+
running_vacuum_module_profile: string;
|
|
321
|
+
running_vacuum_module_profile_generic: string;
|
|
322
|
+
vacuum_run_profile_cycle: string;
|
|
323
|
+
vacuum_run_profile_power_step: string;
|
|
324
|
+
vacuum_run_profile_pressure_step: string;
|
|
325
|
+
starting: string;
|
|
326
|
+
stopping: string;
|
|
327
|
+
stopping_vacuum_module: string;
|
|
288
328
|
target_temperature: string;
|
|
289
329
|
tc_awaiting_for_duration: string;
|
|
290
330
|
tc_run_profile_steps: string;
|
|
@@ -297,8 +337,12 @@ export declare const resources: {
|
|
|
297
337
|
trash_bin_in_slot: string;
|
|
298
338
|
turning_rail_lights_off: string;
|
|
299
339
|
turning_rail_lights_on: string;
|
|
340
|
+
ungrip_labware: string;
|
|
300
341
|
unlatching_hs_latch: string;
|
|
301
342
|
unsealing_from_location: string;
|
|
343
|
+
update_position_estimators: string;
|
|
344
|
+
updating: string;
|
|
345
|
+
verifying_tip_presence: string;
|
|
302
346
|
wait_for_duration: string;
|
|
303
347
|
wait_for_resume: string;
|
|
304
348
|
wait_for_tasks: string;
|
|
@@ -307,8 +351,12 @@ export declare const resources: {
|
|
|
307
351
|
waiting_for_tc_lid_to_reach: string;
|
|
308
352
|
waiting_to_reach_temp_module: string;
|
|
309
353
|
waste_chute: string;
|
|
354
|
+
white: string;
|
|
310
355
|
with_lid_name: string;
|
|
311
356
|
with_reference_of: string;
|
|
357
|
+
x: string;
|
|
358
|
+
y: string;
|
|
359
|
+
yellow: string;
|
|
312
360
|
};
|
|
313
361
|
};
|
|
314
362
|
zh: {
|
|
@@ -340,6 +388,7 @@ export declare const resources: {
|
|
|
340
388
|
temperature: string;
|
|
341
389
|
thermocycler: string;
|
|
342
390
|
trash_bin: string;
|
|
391
|
+
vacuum: string;
|
|
343
392
|
waste: string;
|
|
344
393
|
waste_chute: string;
|
|
345
394
|
waste_chute_with_cover: string;
|
|
@@ -436,6 +485,7 @@ export declare const resources: {
|
|
|
436
485
|
on_location: string;
|
|
437
486
|
opening_tc_lid: string;
|
|
438
487
|
partial_layout: string;
|
|
488
|
+
partial_nozzles: string;
|
|
439
489
|
pause: string;
|
|
440
490
|
pause_on: string;
|
|
441
491
|
pickup_tip: string;
|
|
@@ -27,6 +27,7 @@ export declare const shared_zh_resources: {
|
|
|
27
27
|
temperature: string;
|
|
28
28
|
thermocycler: string;
|
|
29
29
|
trash_bin: string;
|
|
30
|
+
vacuum: string;
|
|
30
31
|
waste: string;
|
|
31
32
|
waste_chute: string;
|
|
32
33
|
waste_chute_with_cover: string;
|
|
@@ -123,6 +124,7 @@ export declare const shared_zh_resources: {
|
|
|
123
124
|
on_location: string;
|
|
124
125
|
opening_tc_lid: string;
|
|
125
126
|
partial_layout: string;
|
|
127
|
+
partial_nozzles: string;
|
|
126
128
|
pause: string;
|
|
127
129
|
pause_on: string;
|
|
128
130
|
pickup_tip: string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ChangeEventHandler } from 'react';
|
|
2
|
+
export interface CheckboxBasicProps {
|
|
3
|
+
/** false = unchecked, true = checked, 'indeterminate' = partial-select dash */
|
|
4
|
+
checked: boolean | 'indeterminate';
|
|
5
|
+
onChange: ChangeEventHandler<HTMLInputElement>;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/** Use "On Color" Figma variant — border/mark colors flip to white/blue for use on colored backgrounds */
|
|
8
|
+
onColor?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* When unchecked: fills the checkbox box background.
|
|
11
|
+
* When checked: fills the checkmark (shows through the ot-checkbox transparent hole).
|
|
12
|
+
* When indeterminate: fills the dash mark.
|
|
13
|
+
*/
|
|
14
|
+
backgroundColor?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare function CheckboxBasic(props: CheckboxBasicProps): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom/vitest';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface StorageBarProps {
|
|
3
|
+
percentUsed: number;
|
|
4
|
+
label: string;
|
|
5
|
+
t?: (key: string, opts?: Record<string, unknown>) => string;
|
|
6
|
+
}
|
|
7
|
+
export declare function StorageBar({ percentUsed, label, t, }: StorageBarProps): JSX.Element;
|
|
8
|
+
export {};
|
package/lib/atoms/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from './AnimationVideo';
|
|
2
2
|
export * from './buttons';
|
|
3
3
|
export * from './Checkbox';
|
|
4
|
+
export * from './CheckboxBasic';
|
|
4
5
|
export * from './CheckboxField';
|
|
5
6
|
export * from './Chip';
|
|
7
|
+
export * from './CodeBlock';
|
|
6
8
|
export * from './Divider';
|
|
7
9
|
export * from './FixedTrashText';
|
|
8
10
|
export * from './InlineNotification';
|
|
@@ -16,7 +18,7 @@ export * from './MenuList/OverflowBtn';
|
|
|
16
18
|
export * from './Slider';
|
|
17
19
|
export * from './Snackbar';
|
|
18
20
|
export * from './StepMeter';
|
|
19
|
-
export * from './
|
|
21
|
+
export * from './StorageBar';
|
|
20
22
|
export * from './StyledText';
|
|
21
23
|
export * from './SubListTable';
|
|
22
24
|
export * from './Tag';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface OpentronsVacuumManifoldCollarProps {
|
|
3
|
+
lidDimensions: {
|
|
4
|
+
xDimension: number;
|
|
5
|
+
yDimension: number;
|
|
6
|
+
zDimension: number;
|
|
7
|
+
} | null;
|
|
8
|
+
}
|
|
9
|
+
export declare function OpentronsVacuumManifoldCollar({ lidDimensions, }: OpentronsVacuumManifoldCollarProps): JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface OpentronsVacuumManifoldSpacerProps {
|
|
3
|
+
lidDimensions: {
|
|
4
|
+
xDimension: number;
|
|
5
|
+
yDimension: number;
|
|
6
|
+
zDimension: number;
|
|
7
|
+
} | null;
|
|
8
|
+
}
|
|
9
|
+
export declare function OpentronsVacuumManifoldSpacer({ lidDimensions, }: OpentronsVacuumManifoldSpacerProps): JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -6,6 +6,8 @@ import { OpentronsFlex96TiprackAdapter } from './OpentronsFlex96TiprackAdapter';
|
|
|
6
6
|
import { OpentronsToughPCRAutoSealingLid } from './OpentronsToughPCRAutoSealingLid';
|
|
7
7
|
import { OpentronsUniversalFlatAdapter } from './OpentronsUniversalFlatAdapter';
|
|
8
8
|
import { OpentronsUniversalFlatAdapterTypeB } from './OpentronsUniversalFlatAdapterTypeB';
|
|
9
|
+
import { OpentronsVacuumManifoldCollar } from './OpentronsVacuumManifoldCollar';
|
|
10
|
+
import { OpentronsVacuumManifoldSpacer } from './OpentronsVacuumManifoldSpacer';
|
|
9
11
|
import type { LabwareDefinition } from '@opentrons/shared-data';
|
|
10
12
|
declare const CUSTOM_SVG_LOADNAME_PATHS: {
|
|
11
13
|
opentrons_96_deep_well_adapter: typeof Opentrons96DeepWellAdapter;
|
|
@@ -16,6 +18,10 @@ declare const CUSTOM_SVG_LOADNAME_PATHS: {
|
|
|
16
18
|
opentrons_universal_flat_adapter_type_b: typeof OpentronsUniversalFlatAdapterTypeB;
|
|
17
19
|
opentrons_tough_pcr_auto_sealing_lid: typeof OpentronsToughPCRAutoSealingLid;
|
|
18
20
|
opentrons_flex_deck_riser: typeof OpentronsAutoclavableDeckRiser;
|
|
21
|
+
opentrons_vacuum_manifold_collar_short: typeof OpentronsVacuumManifoldCollar;
|
|
22
|
+
opentrons_vacuum_manifold_collar_tall: typeof OpentronsVacuumManifoldCollar;
|
|
23
|
+
opentrons_vacuum_manifold_spacer_short: typeof OpentronsVacuumManifoldSpacer;
|
|
24
|
+
opentrons_vacuum_manifold_spacer_tall: typeof OpentronsVacuumManifoldSpacer;
|
|
19
25
|
};
|
|
20
26
|
export type LabwareAdapterLoadName = keyof typeof CUSTOM_SVG_LOADNAME_PATHS;
|
|
21
27
|
export declare const customSVGLoadNames: string[];
|
|
@@ -75,7 +75,7 @@ export declare const transparentBlack90 = "#16212D90";
|
|
|
75
75
|
/**
|
|
76
76
|
* flex
|
|
77
77
|
*/
|
|
78
|
-
export declare const flex40 = "#
|
|
78
|
+
export declare const flex40 = "#99E4FF";
|
|
79
79
|
export declare const flex55 = "#0297CC";
|
|
80
80
|
export declare const flex50 = "#00BDFF";
|
|
81
81
|
/**
|
package/lib/icons/icon-data.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ export declare const ICON_DATA_BY_NAME: {
|
|
|
15
15
|
readonly path: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z";
|
|
16
16
|
readonly viewBox: "0 0 24 24";
|
|
17
17
|
};
|
|
18
|
+
readonly artifact: {
|
|
19
|
+
readonly path: "M3.33333 11.6667H9.16667V10H3.33333V11.6667ZM3.33333 8.33333H11.6667V6.66667H3.33333V8.33333ZM3.33333 5H11.6667V3.33333H3.33333V5ZM1.66667 15C1.20833 15 0.815972 14.8368 0.489583 14.5104C0.163194 14.184 0 13.7917 0 13.3333V1.66667C0 1.20833 0.163194 0.815972 0.489583 0.489583C0.815972 0.163194 1.20833 0 1.66667 0H13.3333C13.7917 0 14.184 0.163194 14.5104 0.489583C14.8368 0.815972 15 1.20833 15 1.66667V13.3333C15 13.7917 14.8368 14.184 14.5104 14.5104C14.184 14.8368 13.7917 15 13.3333 15H1.66667ZM1.66667 13.3333H13.3333V1.66667H1.66667V13.3333Z";
|
|
20
|
+
readonly viewBox: "0 0 15 15";
|
|
21
|
+
};
|
|
18
22
|
readonly 'arrow-down': {
|
|
19
23
|
readonly path: "M37.935 21.24L25.905 33.27V7.5H22.155V33.27L10.125 21.24L7.5 23.88L23.76 40.14L24.03 40.41L40.29 24.135L40.56 23.88L37.935 21.24Z";
|
|
20
24
|
readonly viewBox: "0 0 48 48";
|
|
@@ -55,6 +59,10 @@ export declare const ICON_DATA_BY_NAME: {
|
|
|
55
59
|
readonly path: "M1.4,4.9L0.6,4.1l1.6-1.6L0.6,0.9l0.7-0.7l2.4,2.4L1.4,4.9z";
|
|
56
60
|
readonly viewBox: "0 0 4 5";
|
|
57
61
|
};
|
|
62
|
+
readonly chat: {
|
|
63
|
+
readonly path: "M6 13.3333L5.83333 11.3333H5.66667C4.08889 11.3333 2.75 10.7833 1.65 9.68333C0.55 8.58333 0 7.24444 0 5.66667C0 4.08889 0.55 2.75 1.65 1.65C2.75 0.55 4.08889 0 5.66667 0C6.45556 0 7.19167 0.147222 7.875 0.441667C8.55833 0.736111 9.15833 1.14167 9.675 1.65833C10.1917 2.175 10.5972 2.775 10.8917 3.45833C11.1861 4.14167 11.3333 4.87778 11.3333 5.66667C11.3333 6.5 11.1972 7.3 10.925 8.06667C10.6528 8.83333 10.2806 9.54445 9.80834 10.2C9.33611 10.8556 8.775 11.45 8.125 11.9833C7.475 12.5167 6.76667 12.9667 6 13.3333Z";
|
|
64
|
+
readonly viewBox: "0 0 12 14";
|
|
65
|
+
};
|
|
58
66
|
readonly check: {
|
|
59
67
|
readonly path: "M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z";
|
|
60
68
|
readonly viewBox: "0 0 24 24";
|
|
@@ -199,6 +207,10 @@ export declare const ICON_DATA_BY_NAME: {
|
|
|
199
207
|
readonly path: "M32.6152 5.00001H7.39C6.85728 4.99882 6.32957 5.10287 5.83718 5.30619C5.34478 5.5095 4.89739 5.80808 4.5207 6.18477C4.14401 6.56146 3.84544 7.00884 3.64212 7.50124C3.43881 7.99364 3.33476 8.52135 3.33595 9.05406V31.5766C3.33476 32.1093 3.43881 32.637 3.64212 33.1294C3.84544 33.6218 4.14401 34.0692 4.5207 34.4459C4.89739 34.8226 5.34478 35.1212 5.83718 35.3245C6.32957 35.5278 6.85728 35.6318 7.39 35.6306H32.6152C33.1479 35.6318 33.6756 35.5278 34.168 35.3245C34.6604 35.1212 35.1078 34.8226 35.4845 34.4459C35.8612 34.0692 36.1598 33.6218 36.3631 33.1294C36.5664 32.637 36.6705 32.1093 36.6693 31.5766V9.05406C36.6705 8.52135 36.5664 7.99364 36.3631 7.50124C36.1598 7.00884 35.8612 6.56146 35.4845 6.18477C35.1078 5.80808 34.6604 5.5095 34.168 5.30619C33.6756 5.10287 33.1479 4.99882 32.6152 5.00001ZM33.9666 30.2252H6.03865V10.4054H33.9666V30.2252Z";
|
|
200
208
|
readonly viewBox: "0 0 40 40";
|
|
201
209
|
};
|
|
210
|
+
readonly folder: {
|
|
211
|
+
readonly path: "M3.3046 16.6888C2.85293 16.6888 2.46258 16.5245 2.13356 16.196C1.80453 15.8674 1.64001 15.4768 1.64001 15.0242V4.96459C1.64001 4.51195 1.80453 4.12132 2.13356 3.79271C2.46258 3.46424 2.85293 3.3 3.3046 3.3H8.01647L9.84126 5.1248H16.6975C17.1502 5.1248 17.5408 5.28903 17.8694 5.6175C18.1979 5.94611 18.3621 6.33667 18.3621 6.78917V15.0242C18.3621 15.4768 18.1979 15.8674 17.8694 16.196C17.5408 16.5245 17.1502 16.6888 16.6975 16.6888H3.3046ZM3.3046 15.2806H16.6975C16.7724 15.2806 16.8338 15.2566 16.8819 15.2085C16.9299 15.1605 16.954 15.099 16.954 15.0242V6.78917C16.954 6.71445 16.9299 6.65306 16.8819 6.605C16.8338 6.55695 16.7724 6.53292 16.6975 6.53292H9.26876L7.44397 4.70813H3.3046C3.22974 4.70813 3.16828 4.73216 3.12022 4.78021C3.07217 4.82827 3.04814 4.88973 3.04814 4.96459V15.0242C3.04814 15.099 3.07217 15.1605 3.12022 15.2085C3.16828 15.2566 3.22974 15.2806 3.3046 15.2806Z";
|
|
212
|
+
readonly viewBox: "0 0 20 20";
|
|
213
|
+
};
|
|
202
214
|
readonly 'folder-open': {
|
|
203
215
|
readonly path: "M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z";
|
|
204
216
|
readonly viewBox: "0 0 24 24";
|
|
@@ -220,8 +232,8 @@ export declare const ICON_DATA_BY_NAME: {
|
|
|
220
232
|
readonly viewBox: "0 0 24 24";
|
|
221
233
|
};
|
|
222
234
|
readonly info: {
|
|
223
|
-
readonly viewBox: "0 0 40 40";
|
|
224
235
|
readonly path: "M18.8776 28.3335H21.3776V18.3335H18.8776V28.3335ZM20.0026 15.2502C20.3915 15.2502 20.7179 15.1252 20.9818 14.8752C21.2457 14.6252 21.3776 14.3057 21.3776 13.9168C21.3776 13.5279 21.2457 13.1946 20.9818 12.9168C20.7179 12.6391 20.3915 12.5002 20.0026 12.5002C19.6137 12.5002 19.2873 12.6391 19.0234 12.9168C18.7595 13.1946 18.6276 13.5279 18.6276 13.9168C18.6276 14.3057 18.7595 14.6252 19.0234 14.8752C19.2873 15.1252 19.6137 15.2502 20.0026 15.2502ZM20.0026 36.6668C17.7248 36.6668 15.572 36.2293 13.5443 35.3543C11.5165 34.4793 9.74566 33.2849 8.23177 31.771C6.71788 30.2571 5.52344 28.4863 4.64844 26.4585C3.77344 24.4307 3.33594 22.2641 3.33594 19.9585C3.33594 17.6807 3.77344 15.5279 4.64844 13.5002C5.52344 11.4724 6.71788 9.7085 8.23177 8.2085C9.74566 6.7085 11.5165 5.521 13.5443 4.646C15.572 3.771 17.7387 3.3335 20.0443 3.3335C22.322 3.3335 24.4748 3.771 26.5026 4.646C28.5304 5.521 30.2943 6.7085 31.7943 8.2085C33.2943 9.7085 34.4818 11.4724 35.3568 13.5002C36.2318 15.5279 36.6693 17.6946 36.6693 20.0002C36.6693 22.2779 36.2318 24.4307 35.3568 26.4585C34.4818 28.4863 33.2943 30.2571 31.7943 31.771C30.2943 33.2849 28.5304 34.4793 26.5026 35.3543C24.4748 36.2293 22.3082 36.6668 20.0026 36.6668ZM20.0443 34.1668C23.9609 34.1668 27.2943 32.7849 30.0443 30.021C32.7943 27.2571 34.1693 23.9029 34.1693 19.9585C34.1693 16.0418 32.7943 12.7085 30.0443 9.9585C27.2943 7.2085 23.947 5.8335 20.0026 5.8335C16.0859 5.8335 12.7457 7.2085 9.98177 9.9585C7.21788 12.7085 5.83594 16.0557 5.83594 20.0002C5.83594 23.9168 7.21788 27.2571 9.98177 30.021C12.7457 32.7849 16.0998 34.1668 20.0443 34.1668Z";
|
|
236
|
+
readonly viewBox: "0 0 40 40";
|
|
225
237
|
};
|
|
226
238
|
readonly information: {
|
|
227
239
|
readonly path: "M12 24C18.6274 24 24 18.6274 24 12C24 5.37259 18.6274 0 12 0C5.37259 0 0 5.37259 0 12C0 18.6274 5.37259 24 12 24ZM12.859 4.90789C12.5931 4.63596 12.2668 4.5 11.8801 4.5C11.4933 4.5 11.164 4.63596 10.8921 4.90789C10.6262 5.17982 10.4933 5.50613 10.4933 5.88683C10.4933 6.27357 10.6292 6.6029 10.9011 6.87483C11.1731 7.14676 11.4994 7.28272 11.8801 7.28272C12.2668 7.28272 12.5931 7.14676 12.859 6.87483C13.1309 6.6029 13.2669 6.27357 13.2669 5.88683C13.2669 5.50613 13.1309 5.17982 12.859 4.90789ZM9.39648 16.9543V17.625C10.0612 17.6008 10.8286 17.5888 11.6988 17.5888C12.708 17.5888 13.6416 17.6008 14.4996 17.625V16.918C13.8712 16.8938 13.4754 16.8425 13.3122 16.7639C13.2397 16.7277 13.1914 16.6551 13.1672 16.5464C13.1189 16.353 13.0947 15.7306 13.0947 14.6791V11.5973C13.0947 10.7694 13.1309 9.88416 13.2035 8.94147L12.9859 8.82364C12.436 9.04722 11.9284 9.2134 11.4631 9.32217C10.9978 9.43094 10.309 9.53367 9.39648 9.63036V10.3192C10.0975 10.3253 10.5084 10.3676 10.6292 10.4461C10.6836 10.4824 10.7229 10.561 10.7471 10.6818C10.8014 10.9416 10.8286 12.0173 10.8286 13.9087C10.8286 15.2864 10.7984 16.1415 10.738 16.4739C10.7138 16.631 10.6534 16.7397 10.5567 16.8002C10.46 16.8546 10.0733 16.9059 9.39648 16.9543Z";
|
|
@@ -623,6 +635,10 @@ export declare const ICON_DATA_BY_NAME: {
|
|
|
623
635
|
readonly path: "M1.66602 15V5H3.33268V15H1.66602ZM13.3327 15L12.1452 13.8333L15.1452 10.8333H4.99935V9.16667H15.1452L12.166 6.16667L13.3327 5L18.3327 10L13.3327 15Z";
|
|
624
636
|
readonly viewBox: "0 0 20 20";
|
|
625
637
|
};
|
|
638
|
+
readonly 'step-detail': {
|
|
639
|
+
readonly path: "M12 11.5556V4.44444L8.44444 8L12 11.5556ZM1.77778 16C1.28889 16 0.87037 15.8259 0.522222 15.4778C0.174074 15.1296 0 14.7111 0 14.2222V1.77778C0 1.28889 0.174074 0.87037 0.522222 0.522222C0.87037 0.174074 1.28889 0 1.77778 0H14.2222C14.7111 0 15.1296 0.174074 15.4778 0.522222C15.8259 0.87037 16 1.28889 16 1.77778V14.2222C16 14.7111 15.8259 15.1296 15.4778 15.4778C15.1296 15.8259 14.7111 16 14.2222 16H1.77778ZM4.44444 14.2222V1.77778H1.77778V14.2222H4.44444ZM6.22222 14.2222H14.2222V1.77778H6.22222V14.2222Z";
|
|
640
|
+
readonly viewBox: "0 0 16 16";
|
|
641
|
+
};
|
|
626
642
|
readonly 'swap-horizontal': {
|
|
627
643
|
readonly path: "M21,9L17,5V8H10V10H17V13M7,11L3,15L7,19V16H14V14H7V11Z";
|
|
628
644
|
readonly viewBox: "0 0 24 24";
|