@opentrons/components 0.3.1-alpha.0 → 0.3.3-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 +2 -0
- package/lib/assets/localization/index.d.ts +2 -0
- package/lib/atoms/buttons/LargeButton.d.ts +1 -1
- package/lib/hardware-sim/BaseDeck/MiddleSlot.d.ts +8 -0
- package/lib/hardware-sim/BaseDeck/__tests__/MiddleSlot.test.d.ts +1 -0
- package/lib/helix-design-system/borders.d.ts +4 -0
- package/lib/icons/icon-data.d.ts +4 -0
- package/lib/index.js +265 -265
- package/lib/index.mjs +11705 -11717
- package/lib/molecules/StepGroup/index.d.ts +7 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/__tests__/getWellRange.test.d.ts +1 -0
- package/lib/style.css +1 -1
- package/package.json +5 -5
- package/src/styles/global.css +4 -1
package/README.md
CHANGED
|
@@ -116,6 +116,7 @@ export declare const shared_en_resources: {
|
|
|
116
116
|
"vacuumModule/startSetVacuumPower": string;
|
|
117
117
|
"vacuumModule/openVent": string;
|
|
118
118
|
"vacuumModule/closeVent": string;
|
|
119
|
+
"vacuumModule/startRunProfile": string;
|
|
119
120
|
verifyTipPresence: string;
|
|
120
121
|
waitForDuration: string;
|
|
121
122
|
waitForResume: string;
|
|
@@ -246,6 +247,7 @@ export declare const shared_en_resources: {
|
|
|
246
247
|
on_location: string;
|
|
247
248
|
opening_tc_lid: string;
|
|
248
249
|
partial_layout: string;
|
|
250
|
+
partial_nozzles: string;
|
|
249
251
|
pause: string;
|
|
250
252
|
pause_on: string;
|
|
251
253
|
pickup_tip: string;
|
|
@@ -119,6 +119,7 @@ export declare const resources: {
|
|
|
119
119
|
"vacuumModule/startSetVacuumPower": string;
|
|
120
120
|
"vacuumModule/openVent": string;
|
|
121
121
|
"vacuumModule/closeVent": string;
|
|
122
|
+
"vacuumModule/startRunProfile": string;
|
|
122
123
|
verifyTipPresence: string;
|
|
123
124
|
waitForDuration: string;
|
|
124
125
|
waitForResume: string;
|
|
@@ -249,6 +250,7 @@ export declare const resources: {
|
|
|
249
250
|
on_location: string;
|
|
250
251
|
opening_tc_lid: string;
|
|
251
252
|
partial_layout: string;
|
|
253
|
+
partial_nozzles: string;
|
|
252
254
|
pause: string;
|
|
253
255
|
pause_on: string;
|
|
254
256
|
pickup_tip: string;
|
|
@@ -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';
|
|
@@ -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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
package/lib/icons/icon-data.d.ts
CHANGED
|
@@ -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";
|