@opentrons/components 0.1.0-beta.7 → 0.1.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/lib/__tests__/utils.test.d.ts +1 -0
  2. package/lib/alerts/AlertItem.d.ts +21 -0
  3. package/lib/alerts/index.d.ts +1 -0
  4. package/lib/atoms/CheckboxField/__tests__/CheckboxField.test.d.ts +1 -0
  5. package/lib/atoms/CheckboxField/index.d.ts +20 -0
  6. package/lib/atoms/StepMeter/index.d.ts +6 -0
  7. package/lib/atoms/buttons/AlertPrimaryButton.d.ts +1 -0
  8. package/lib/atoms/buttons/PrimaryButton.d.ts +1 -0
  9. package/lib/atoms/buttons/SecondaryButton.d.ts +7 -0
  10. package/lib/atoms/buttons/__tests__/AlertPrimaryButton.test.d.ts +1 -0
  11. package/lib/atoms/buttons/__tests__/PrimaryButton.test.d.ts +1 -0
  12. package/lib/atoms/buttons/__tests__/SecondaryButton.test.d.ts +1 -0
  13. package/lib/atoms/buttons/index.d.ts +3 -0
  14. package/lib/atoms/index.d.ts +3 -0
  15. package/lib/barrel.d.ts +3 -0
  16. package/lib/buttons/Button.d.ts +49 -0
  17. package/lib/buttons/DeprecatedPrimaryButton.d.ts +9 -0
  18. package/lib/buttons/FlatButton.d.ts +6 -0
  19. package/lib/buttons/IconButton.d.ts +15 -0
  20. package/lib/buttons/OutlineButton.d.ts +9 -0
  21. package/lib/buttons/index.d.ts +5 -0
  22. package/lib/controls/ControlInfo.d.ts +6 -0
  23. package/lib/controls/LabeledButton.d.ts +8 -0
  24. package/lib/controls/LabeledCheckbox.d.ts +10 -0
  25. package/lib/controls/LabeledControl.d.ts +7 -0
  26. package/lib/controls/LabeledRadioGroup.d.ts +8 -0
  27. package/lib/controls/LabeledSelect.d.ts +9 -0
  28. package/lib/controls/LabeledToggle.d.ts +11 -0
  29. package/lib/controls/StackedLabeledControl.d.ts +7 -0
  30. package/lib/controls/ToggleButton.d.ts +6 -0
  31. package/lib/controls/index.d.ts +6 -0
  32. package/lib/forms/DeprecatedCheckboxField.d.ts +33 -0
  33. package/lib/forms/DropdownField.d.ts +38 -0
  34. package/lib/forms/FormGroup.d.ts +19 -0
  35. package/lib/forms/InputField.d.ts +51 -0
  36. package/lib/forms/RadioGroup.d.ts +29 -0
  37. package/lib/forms/Select.d.ts +27 -0
  38. package/lib/forms/SelectField.d.ts +33 -0
  39. package/lib/forms/ToggleField.d.ts +22 -0
  40. package/lib/forms/__tests__/DeprecatedCheckboxField.test.d.ts +0 -0
  41. package/lib/forms/__tests__/DropdownField.test.d.ts +0 -0
  42. package/lib/forms/__tests__/InputField.test.d.ts +0 -0
  43. package/lib/forms/__tests__/Select.test.d.ts +0 -0
  44. package/lib/forms/__tests__/SelectField.test.d.ts +0 -0
  45. package/lib/forms/__tests__/ToggleField.test.d.ts +0 -0
  46. package/lib/forms/index.d.ts +8 -0
  47. package/lib/hardware-sim/BaseDeck/BaseDeck.d.ts +42 -0
  48. package/lib/hardware-sim/BaseDeck/SingleSlotFixture.d.ts +12 -0
  49. package/lib/hardware-sim/BaseDeck/SlotBase.d.ts +2 -0
  50. package/lib/hardware-sim/BaseDeck/SlotClip.d.ts +2 -0
  51. package/lib/hardware-sim/BaseDeck/StagingAreaFixture.d.ts +13 -0
  52. package/lib/hardware-sim/BaseDeck/WasteChuteFixture.d.ts +21 -0
  53. package/lib/hardware-sim/BaseDeck/WasteChuteStagingAreaFixture.d.ts +14 -0
  54. package/lib/hardware-sim/BaseDeck/__fixtures__/index.d.ts +4 -0
  55. package/lib/hardware-sim/BaseDeck/index.d.ts +5 -0
  56. package/lib/hardware-sim/Deck/DeckFromLayers.d.ts +11 -0
  57. package/lib/hardware-sim/Deck/FlexTrash.d.ts +14 -0
  58. package/lib/hardware-sim/Deck/MoveLabwareOnDeck.d.ts +17 -0
  59. package/lib/hardware-sim/Deck/OT2Layers.d.ts +11 -0
  60. package/lib/hardware-sim/Deck/RobotCoordsForeignDiv.d.ts +14 -0
  61. package/lib/hardware-sim/Deck/RobotCoordsForeignObject.d.ts +12 -0
  62. package/lib/hardware-sim/Deck/RobotCoordsText.d.ts +8 -0
  63. package/lib/hardware-sim/Deck/RobotWorkSpace.d.ts +21 -0
  64. package/lib/hardware-sim/Deck/SlotLabels.d.ts +12 -0
  65. package/lib/hardware-sim/Deck/__mocks__/getDeckDefinitions.d.ts +2 -0
  66. package/lib/hardware-sim/Deck/constants.d.ts +1 -0
  67. package/lib/hardware-sim/Deck/getDeckDefinitions.d.ts +2 -0
  68. package/lib/hardware-sim/Deck/index.d.ts +9 -0
  69. package/lib/hardware-sim/DeckConfigurator/EmptyConfigFixture.d.ts +9 -0
  70. package/lib/hardware-sim/DeckConfigurator/StagingAreaConfigFixture.d.ts +9 -0
  71. package/lib/hardware-sim/DeckConfigurator/TrashBinConfigFixture.d.ts +9 -0
  72. package/lib/hardware-sim/DeckConfigurator/WasteChuteConfigFixture.d.ts +10 -0
  73. package/lib/hardware-sim/DeckConfigurator/constants.d.ts +15 -0
  74. package/lib/hardware-sim/DeckConfigurator/index.d.ts +14 -0
  75. package/lib/hardware-sim/DeckSlotLocation/index.d.ts +15 -0
  76. package/lib/hardware-sim/Labware/LabwareRender.d.ts +40 -0
  77. package/lib/hardware-sim/Labware/__tests__/LabwareRender.test.d.ts +1 -0
  78. package/lib/hardware-sim/Labware/index.d.ts +3 -0
  79. package/lib/hardware-sim/Labware/labwareInternals/FilledWells.d.ts +10 -0
  80. package/lib/hardware-sim/Labware/labwareInternals/LabwareOutline.d.ts +18 -0
  81. package/lib/hardware-sim/Labware/labwareInternals/StaticLabware.d.ts +17 -0
  82. package/lib/hardware-sim/Labware/labwareInternals/StrokedWells.d.ts +9 -0
  83. package/lib/hardware-sim/Labware/labwareInternals/StyledWells.d.ts +19 -0
  84. package/lib/hardware-sim/Labware/labwareInternals/Well.d.ts +19 -0
  85. package/lib/hardware-sim/Labware/labwareInternals/WellLabels.d.ts +12 -0
  86. package/lib/hardware-sim/Labware/labwareInternals/__tests__/StrokedWells.test.d.ts +1 -0
  87. package/lib/hardware-sim/Labware/labwareInternals/__tests__/WellLabels.test.d.ts +1 -0
  88. package/lib/hardware-sim/Labware/labwareInternals/index.d.ts +6 -0
  89. package/lib/hardware-sim/Labware/labwareInternals/types.d.ts +12 -0
  90. package/lib/hardware-sim/Module/HeaterShaker.d.ts +5 -0
  91. package/lib/hardware-sim/Module/MagneticBlock.d.ts +2 -0
  92. package/lib/hardware-sim/Module/MagneticModule.d.ts +2 -0
  93. package/lib/hardware-sim/Module/ModuleTag.d.ts +9 -0
  94. package/lib/hardware-sim/Module/Temperature.d.ts +5 -0
  95. package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN1.d.ts +7 -0
  96. package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN2.d.ts +7 -0
  97. package/lib/hardware-sim/Module/Thermocycler/index.d.ts +8 -0
  98. package/lib/hardware-sim/Module/index.d.ts +18 -0
  99. package/lib/hardware-sim/Pipette/EightEmanatingNozzles.d.ts +4 -0
  100. package/lib/hardware-sim/Pipette/EmanatingNozzle.d.ts +4 -0
  101. package/lib/hardware-sim/Pipette/PipetteRender.d.ts +8 -0
  102. package/lib/hardware-sim/Pipette/__tests__/EightEmanatingNozzles.test.d.ts +1 -0
  103. package/lib/hardware-sim/Pipette/__tests__/EmanatingNozzle.test.d.ts +1 -0
  104. package/lib/hardware-sim/Pipette/__tests__/PipetteRender.test.d.ts +1 -0
  105. package/lib/hardware-sim/Pipette/constants.d.ts +7 -0
  106. package/lib/hardware-sim/Pipette/index.d.ts +1 -0
  107. package/lib/hardware-sim/ProtocolDeck/LabwareInfo.d.ts +6 -0
  108. package/lib/hardware-sim/ProtocolDeck/index.d.ts +12 -0
  109. package/lib/hardware-sim/ProtocolDeck/types.d.ts +8 -0
  110. package/lib/hardware-sim/ProtocolDeck/utils/__tests__/getLabwareInforByLiquidId.test.d.ts +1 -0
  111. package/lib/hardware-sim/ProtocolDeck/utils/getInitiallyLoadedLabwareByAdapter.d.ts +5 -0
  112. package/lib/hardware-sim/ProtocolDeck/utils/getLabwareInSlots.d.ts +11 -0
  113. package/lib/hardware-sim/ProtocolDeck/utils/getLabwareInfoByLiquidId.d.ts +3 -0
  114. package/lib/hardware-sim/ProtocolDeck/utils/getModulesInSlots.d.ts +10 -0
  115. package/lib/hardware-sim/ProtocolDeck/utils/getStandardDeckViewLayerBlockList.d.ts +2 -0
  116. package/lib/hardware-sim/ProtocolDeck/utils/getWellFillFromLabwareId.d.ts +4 -0
  117. package/lib/hardware-sim/ProtocolDeck/utils/index.d.ts +2 -0
  118. package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpace.d.ts +7 -0
  119. package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpaceWithDOMCoords.d.ts +19 -0
  120. package/lib/hardware-sim/RobotCoordinateSpace/index.d.ts +2 -0
  121. package/lib/hardware-sim/index.d.ts +11 -0
  122. package/lib/hardware-sim/utils.d.ts +3 -0
  123. package/lib/helix-design-system/colors.d.ts +75 -0
  124. package/lib/helix-design-system/index.d.ts +1 -0
  125. package/lib/hooks/__tests__/useConditionalConfirm.test.d.ts +0 -0
  126. package/lib/hooks/__tests__/useDrag.test.d.ts +1 -0
  127. package/lib/hooks/__tests__/useIdle.test.d.ts +1 -0
  128. package/lib/hooks/__tests__/useInterval.test.d.ts +0 -0
  129. package/lib/hooks/__tests__/useLongPress.test.d.ts +1 -0
  130. package/lib/hooks/__tests__/useMountEffect.test.d.ts +0 -0
  131. package/lib/hooks/__tests__/usePrevious.test.d.ts +0 -0
  132. package/lib/hooks/__tests__/useScrolling.test.d.ts +1 -0
  133. package/lib/hooks/__tests__/useSwipe.test.d.ts +1 -0
  134. package/lib/hooks/__tests__/useTimeout.test.d.ts +0 -0
  135. package/lib/hooks/__tests__/useToggle.test.d.ts +0 -0
  136. package/lib/hooks/index.d.ts +12 -0
  137. package/lib/hooks/useConditionalConfirm.d.ts +40 -0
  138. package/lib/hooks/useDrag.d.ts +22 -0
  139. package/lib/hooks/useIdle.d.ts +11 -0
  140. package/lib/hooks/useInterval.d.ts +11 -0
  141. package/lib/hooks/useLongPress.d.ts +19 -0
  142. package/lib/hooks/useMountEffect.d.ts +8 -0
  143. package/lib/hooks/usePrevious.d.ts +9 -0
  144. package/lib/hooks/useScrolling.d.ts +8 -0
  145. package/lib/hooks/useSelectDeckLocation/index.d.ts +17 -0
  146. package/lib/hooks/useSwipe.d.ts +12 -0
  147. package/lib/hooks/useTimeout.d.ts +9 -0
  148. package/lib/hooks/useToggle.d.ts +22 -0
  149. package/lib/icons/Icon.d.ts +34 -0
  150. package/lib/icons/ModuleIcon.d.ts +12 -0
  151. package/lib/icons/NotificationIcon.d.ts +13 -0
  152. package/lib/icons/icon-data.d.ts +582 -0
  153. package/lib/icons/index.d.ts +3 -0
  154. package/lib/images/index.d.ts +1 -0
  155. package/lib/images/labware/index.d.ts +1 -0
  156. package/lib/images/labware/measurement-guide/index.d.ts +13 -0
  157. package/lib/index.d.ts +28 -0
  158. package/lib/instrument/InfoItem.d.ts +11 -0
  159. package/lib/instrument/InstrumentDiagram.d.ts +12 -0
  160. package/lib/instrument/InstrumentGroup.d.ts +12 -0
  161. package/lib/instrument/InstrumentInfo.d.ts +24 -0
  162. package/lib/instrument/PipetteSelect.d.ts +20 -0
  163. package/lib/instrument/__tests__/PipetteSelect.test.d.ts +0 -0
  164. package/lib/instrument/index.d.ts +5 -0
  165. package/lib/interaction-enhancers/ClickOutside.d.ts +18 -0
  166. package/lib/interaction-enhancers/HandleKeypress.d.ts +27 -0
  167. package/lib/interaction-enhancers/__tests__/useHover.test.d.ts +0 -0
  168. package/lib/interaction-enhancers/index.d.ts +4 -0
  169. package/lib/interaction-enhancers/useHover.d.ts +33 -0
  170. package/lib/interaction-enhancers/useOnClickOutside.d.ts +5 -0
  171. package/lib/legacy-hardware-sim/LabwareNameOverlay.d.ts +8 -0
  172. package/lib/legacy-hardware-sim/ModuleItem.d.ts +18 -0
  173. package/lib/legacy-hardware-sim/index.d.ts +2 -0
  174. package/lib/lists/ListItem.d.ts +37 -0
  175. package/lib/lists/SidePanelGroup.d.ts +18 -0
  176. package/lib/lists/TitledList.d.ts +44 -0
  177. package/lib/lists/index.d.ts +3 -0
  178. package/lib/modals/AlertModal.d.ts +27 -0
  179. package/lib/modals/BaseModal.d.ts +26 -0
  180. package/lib/modals/ContinueModal.d.ts +10 -0
  181. package/lib/modals/Modal.d.ts +23 -0
  182. package/lib/modals/ModalPage.d.ts +16 -0
  183. package/lib/modals/ModalShell.d.ts +25 -0
  184. package/lib/modals/Overlay.d.ts +9 -0
  185. package/lib/modals/SpinnerModal.d.ts +13 -0
  186. package/lib/modals/SpinnerModalPage.d.ts +11 -0
  187. package/lib/modals/__tests__/BaseModal.test.d.ts +0 -0
  188. package/lib/modals/index.d.ts +9 -0
  189. package/lib/molecules/LocationIcon/__tests__/LocationIcon.test.d.ts +1 -0
  190. package/lib/molecules/LocationIcon/index.d.ts +16 -0
  191. package/lib/molecules/RoundTab.d.ts +7 -0
  192. package/lib/molecules/index.d.ts +2 -0
  193. package/lib/nav/SidePanel.d.ts +6 -0
  194. package/lib/nav/index.d.ts +1 -0
  195. package/lib/opentrons-components.js +16 -3
  196. package/lib/primitives/Box.d.ts +7 -0
  197. package/lib/primitives/Btn.d.ts +60 -0
  198. package/lib/primitives/Flex.d.ts +7 -0
  199. package/lib/primitives/ForeignObject.d.ts +23 -0
  200. package/lib/primitives/Link.d.ts +11 -0
  201. package/lib/primitives/Svg.d.ts +23 -0
  202. package/lib/primitives/Text.d.ts +7 -0
  203. package/lib/primitives/__tests__/Box.test.d.ts +0 -0
  204. package/lib/primitives/__tests__/Btn.test.d.ts +0 -0
  205. package/lib/primitives/__tests__/Flex.test.d.ts +0 -0
  206. package/lib/primitives/__tests__/Link.test.d.ts +0 -0
  207. package/lib/primitives/__tests__/Svg.test.d.ts +0 -0
  208. package/lib/primitives/__tests__/Text.test.d.ts +0 -0
  209. package/lib/primitives/__tests__/primitives.test.d.ts +0 -0
  210. package/lib/primitives/__tests__/style-props.test.d.ts +0 -0
  211. package/lib/primitives/index.d.ts +9 -0
  212. package/lib/primitives/style-props.d.ts +4 -0
  213. package/lib/primitives/types.d.ts +96 -0
  214. package/lib/robot-types.d.ts +1 -0
  215. package/lib/slotmap/SlotMap.d.ts +12 -0
  216. package/lib/slotmap/__tests__/SlotMap.test.d.ts +0 -0
  217. package/lib/slotmap/index.d.ts +1 -0
  218. package/lib/structure/Card.d.ts +18 -0
  219. package/lib/structure/LabeledValue.d.ts +12 -0
  220. package/lib/structure/PageTabs.d.ts +12 -0
  221. package/lib/structure/Pill.d.ts +18 -0
  222. package/lib/structure/Splash.d.ts +9 -0
  223. package/lib/structure/TitleBar.d.ts +17 -0
  224. package/lib/structure/index.d.ts +6 -0
  225. package/lib/styles/borders.d.ts +8 -0
  226. package/lib/styles/colors.d.ts +37 -0
  227. package/lib/styles/flexbox.d.ts +28 -0
  228. package/lib/styles/index.d.ts +7 -0
  229. package/lib/styles/layout.d.ts +20 -0
  230. package/lib/styles/position.d.ts +5 -0
  231. package/lib/styles/spacing.d.ts +9 -0
  232. package/lib/styles/typography.d.ts +36 -0
  233. package/lib/tabbedNav/NavTab.d.ts +25 -0
  234. package/lib/tabbedNav/OutsideLinkTab.d.ts +24 -0
  235. package/lib/tabbedNav/TabbedNavBar.d.ts +7 -0
  236. package/lib/tabbedNav/index.d.ts +3 -0
  237. package/lib/testing/utils/index.d.ts +2 -0
  238. package/lib/testing/utils/matchers.d.ts +6 -0
  239. package/lib/testing/utils/renderWithProviders.d.ts +10 -0
  240. package/lib/tooltips/DeprecatedTooltip.d.ts +37 -0
  241. package/lib/tooltips/HoverTooltip.d.ts +36 -0
  242. package/lib/tooltips/Tooltip.d.ts +35 -0
  243. package/lib/tooltips/__tests__/Tooltip.test.d.ts +0 -0
  244. package/lib/tooltips/__tests__/useHoverTooltip.test.d.ts +0 -0
  245. package/lib/tooltips/__tests__/usePopper.test.d.ts +0 -0
  246. package/lib/tooltips/__tests__/useTooltip.test.d.ts +0 -0
  247. package/lib/tooltips/constants.d.ts +17 -0
  248. package/lib/tooltips/index.d.ts +8 -0
  249. package/lib/tooltips/styles.d.ts +12 -0
  250. package/lib/tooltips/types.d.ts +52 -0
  251. package/lib/tooltips/useHoverTooltip.d.ts +24 -0
  252. package/lib/tooltips/usePopper.d.ts +2 -0
  253. package/lib/tooltips/useTooltip.d.ts +31 -0
  254. package/lib/ui-style-constants/borders.d.ts +18 -0
  255. package/lib/ui-style-constants/index.d.ts +4 -0
  256. package/lib/ui-style-constants/responsiveness.d.ts +1 -0
  257. package/lib/ui-style-constants/spacing.d.ts +17 -0
  258. package/lib/ui-style-constants/typography.d.ts +70 -0
  259. package/lib/utils.d.ts +15 -0
  260. package/package.json +3 -2
  261. package/webpack.config.js +31 -15
  262. package/lib/1.3876f6a4be6aeefb34ed.css +0 -1
  263. package/lib/1.opentrons-components.js +0 -2
  264. package/lib/1.opentrons-components.js.map +0 -1
  265. package/lib/opentrons-components.js.LICENSE.txt +0 -53
  266. package/lib/opentrons-components.js.map +0 -1
@@ -0,0 +1,582 @@
1
+ export declare const ICON_DATA_BY_NAME: {
2
+ add: {
3
+ path: string;
4
+ viewBox: string;
5
+ };
6
+ alert: {
7
+ path: string;
8
+ viewBox: string;
9
+ };
10
+ 'alert-circle': {
11
+ path: string;
12
+ viewBox: string;
13
+ };
14
+ 'arrow-down': {
15
+ path: string;
16
+ viewBox: string;
17
+ };
18
+ 'arrow-left': {
19
+ path: string;
20
+ viewBox: string;
21
+ };
22
+ 'arrow-right': {
23
+ path: string;
24
+ viewBox: string;
25
+ };
26
+ 'arrow-up': {
27
+ path: string;
28
+ viewBox: string;
29
+ };
30
+ back: {
31
+ path: string;
32
+ viewBox: string;
33
+ };
34
+ 'book-open-page-variant': {
35
+ path: string;
36
+ viewBox: string;
37
+ };
38
+ brightness: {
39
+ path: string;
40
+ viewBox: string;
41
+ };
42
+ build: {
43
+ path: string;
44
+ viewBox: string;
45
+ };
46
+ 'caret-right': {
47
+ path: string;
48
+ viewBox: string;
49
+ };
50
+ check: {
51
+ path: string;
52
+ viewBox: string;
53
+ };
54
+ 'check-circle': {
55
+ path: string;
56
+ viewBox: string;
57
+ };
58
+ 'check-decagram': {
59
+ path: string;
60
+ viewBox: string;
61
+ };
62
+ 'checkbox-blank-circle-outline': {
63
+ path: string;
64
+ viewBox: string;
65
+ };
66
+ 'checkbox-blank-outline': {
67
+ path: string;
68
+ viewBox: string;
69
+ };
70
+ 'checkbox-marked': {
71
+ path: string;
72
+ viewBox: string;
73
+ };
74
+ 'checkbox-multiple-marked-outline': {
75
+ path: string;
76
+ viewBox: string;
77
+ };
78
+ 'chevron-down': {
79
+ path: string;
80
+ viewBox: string;
81
+ };
82
+ 'chevron-left': {
83
+ path: string;
84
+ viewBox: string;
85
+ };
86
+ 'chevron-right': {
87
+ path: string;
88
+ viewBox: string;
89
+ };
90
+ 'chevron-up': {
91
+ path: string;
92
+ viewBox: string;
93
+ };
94
+ circle: {
95
+ path: string;
96
+ viewBox: string;
97
+ };
98
+ 'clockwise-arrow': {
99
+ path: string;
100
+ viewBox: string;
101
+ };
102
+ close: {
103
+ path: string;
104
+ viewBox: string;
105
+ };
106
+ 'close-circle': {
107
+ path: string;
108
+ viewBox: string;
109
+ };
110
+ 'close-icon': {
111
+ path: string;
112
+ viewBox: string;
113
+ };
114
+ 'closed-locked': {
115
+ path: string;
116
+ viewBox: string;
117
+ };
118
+ comment: {
119
+ path: string;
120
+ viewBox: string;
121
+ };
122
+ 'connection-status': {
123
+ path: string;
124
+ viewBox: string;
125
+ };
126
+ 'content-copy': {
127
+ path: string;
128
+ viewBox: string;
129
+ };
130
+ 'copy-text': {
131
+ path: string;
132
+ viewBox: string;
133
+ };
134
+ 'counter-clockwise-arrow': {
135
+ path: string;
136
+ viewBox: string;
137
+ };
138
+ 'cursor-move': {
139
+ path: string;
140
+ viewBox: string;
141
+ };
142
+ 'deck-map': {
143
+ path: string;
144
+ viewBox: string;
145
+ };
146
+ delete: {
147
+ path: string;
148
+ viewBox: string;
149
+ };
150
+ 'dots-horizontal': {
151
+ path: string;
152
+ viewBox: string;
153
+ };
154
+ 'dots-vertical': {
155
+ path: string;
156
+ viewBox: string;
157
+ };
158
+ download: {
159
+ path: string;
160
+ viewBox: string;
161
+ };
162
+ ethernet: {
163
+ path: string;
164
+ viewBox: string;
165
+ };
166
+ eye: {
167
+ path: string;
168
+ viewBox: string;
169
+ };
170
+ 'eye-slash': {
171
+ path: string;
172
+ viewBox: string;
173
+ };
174
+ 'flask-outline': {
175
+ path: string;
176
+ viewBox: string;
177
+ };
178
+ 'flex-robot': {
179
+ path: string;
180
+ viewBox: string;
181
+ };
182
+ 'folder-open': {
183
+ path: string;
184
+ viewBox: string;
185
+ };
186
+ 'gantry-homing': {
187
+ path: string;
188
+ viewBox: string;
189
+ };
190
+ gear: {
191
+ path: string;
192
+ viewBox: string;
193
+ };
194
+ 'help-circle': {
195
+ path: string;
196
+ viewBox: string;
197
+ };
198
+ 'reset-position': {
199
+ path: string;
200
+ viewBox: string;
201
+ };
202
+ 'horizontal-plane': {
203
+ path: string;
204
+ viewBox: string;
205
+ };
206
+ info: {
207
+ viewBox: string;
208
+ path: string;
209
+ };
210
+ information: {
211
+ path: string;
212
+ viewBox: string;
213
+ };
214
+ 'jump-size': {
215
+ path: string;
216
+ viewBox: string;
217
+ };
218
+ 'latch-closed': {
219
+ path: string;
220
+ viewBox: string;
221
+ };
222
+ 'latch-open': {
223
+ path: string;
224
+ viewBox: string;
225
+ };
226
+ light: {
227
+ path: string;
228
+ viewBox: string;
229
+ };
230
+ lock: {
231
+ path: string;
232
+ viewBox: string;
233
+ };
234
+ menu: {
235
+ path: string;
236
+ viewBox: string;
237
+ };
238
+ 'menu-down': {
239
+ path: string;
240
+ viewBox: string;
241
+ };
242
+ minus: {
243
+ path: string;
244
+ viewBox: string;
245
+ };
246
+ 'minus-box': {
247
+ path: string;
248
+ viewBox: string;
249
+ };
250
+ more: {
251
+ path: string;
252
+ viewBox: string;
253
+ };
254
+ 'move-xy': {
255
+ path: string;
256
+ viewBox: string;
257
+ };
258
+ 'move-xy-circle': {
259
+ viewBox: string;
260
+ path: string;
261
+ };
262
+ 'open-in-new': {
263
+ path: string;
264
+ viewBox: string;
265
+ };
266
+ 'ot-alert': {
267
+ path: string;
268
+ viewBox: string;
269
+ };
270
+ 'ot-arrow-down': {
271
+ path: string;
272
+ viewBox: string;
273
+ };
274
+ 'ot-arrow-left': {
275
+ path: string;
276
+ viewBox: string;
277
+ };
278
+ 'ot-arrow-right': {
279
+ path: string;
280
+ viewBox: string;
281
+ };
282
+ 'ot-arrow-up': {
283
+ path: string;
284
+ viewBox: string;
285
+ };
286
+ 'ot-calibrate': {
287
+ path: string;
288
+ viewBox: string;
289
+ };
290
+ 'ot-check': {
291
+ path: string;
292
+ viewBox: string;
293
+ };
294
+ 'ot-checkbox': {
295
+ path: string;
296
+ viewBox: string;
297
+ };
298
+ 'ot-click-and-drag': {
299
+ path: string;
300
+ viewBox: string;
301
+ };
302
+ 'ot-close': {
303
+ path: string;
304
+ viewBox: string;
305
+ };
306
+ 'ot-close-thick': {
307
+ path: string;
308
+ viewBox: string;
309
+ };
310
+ 'ot-connect': {
311
+ path: string;
312
+ viewBox: string;
313
+ };
314
+ 'ot-consolidate': {
315
+ path: string;
316
+ viewBox: string;
317
+ };
318
+ 'ot-copy-text': {
319
+ path: string;
320
+ viewBox: string;
321
+ };
322
+ 'ot-design': {
323
+ path: string;
324
+ viewBox: string;
325
+ };
326
+ 'ot-distribute': {
327
+ path: string;
328
+ viewBox: string;
329
+ };
330
+ 'ot-file': {
331
+ path: string;
332
+ viewBox: string;
333
+ };
334
+ 'ot-flat-bottom': {
335
+ path: string;
336
+ viewBox: string;
337
+ };
338
+ 'ot-heater-shaker': {
339
+ path: string;
340
+ viewBox: string;
341
+ };
342
+ 'ot-hot-to-touch': {
343
+ path: string;
344
+ viewBox: string;
345
+ };
346
+ 'ot-logo': {
347
+ path: string;
348
+ viewBox: string;
349
+ };
350
+ 'ot-magnet': {
351
+ path: string;
352
+ viewBox: string;
353
+ };
354
+ 'ot-magnet-v2': {
355
+ path: string;
356
+ viewBox: string;
357
+ };
358
+ 'ot-mix': {
359
+ path: string;
360
+ viewBox: string;
361
+ };
362
+ 'ot-run': {
363
+ path: string;
364
+ viewBox: string;
365
+ };
366
+ 'ot-spinner': {
367
+ path: string;
368
+ viewBox: string;
369
+ };
370
+ 'ot-temperature': {
371
+ path: string;
372
+ viewBox: string;
373
+ };
374
+ 'ot-temperature-v2': {
375
+ path: string;
376
+ viewBox: string;
377
+ };
378
+ 'ot-thermocycler': {
379
+ path: string;
380
+ viewBox: string;
381
+ };
382
+ 'ot-toggle-field-off': {
383
+ path: string;
384
+ viewBox: string;
385
+ };
386
+ 'ot-toggle-field-on': {
387
+ path: string;
388
+ viewBox: string;
389
+ };
390
+ 'ot-toggle-input-off': {
391
+ path: string;
392
+ viewBox: string;
393
+ };
394
+ 'ot-toggle-input-on': {
395
+ path: string;
396
+ viewBox: string;
397
+ };
398
+ 'ot-toggle-switch-off': {
399
+ path: string;
400
+ viewBox: string;
401
+ };
402
+ 'ot-toggle-switch-on': {
403
+ path: string;
404
+ viewBox: string;
405
+ };
406
+ 'ot-transfer': {
407
+ path: string;
408
+ viewBox: string;
409
+ };
410
+ 'ot-u-bottom': {
411
+ path: string;
412
+ viewBox: string;
413
+ };
414
+ 'ot-v-bottom': {
415
+ path: string;
416
+ viewBox: string;
417
+ };
418
+ 'ot-water-outline': {
419
+ path: string;
420
+ viewBox: string;
421
+ };
422
+ 'ot-wifi-0': {
423
+ path: string;
424
+ viewBox: string;
425
+ };
426
+ 'ot-wifi-1': {
427
+ path: string;
428
+ viewBox: string;
429
+ };
430
+ 'ot-wifi-2': {
431
+ path: string;
432
+ viewBox: string;
433
+ };
434
+ 'ot-wifi-3': {
435
+ path: string;
436
+ viewBox: string;
437
+ };
438
+ 'overflow-btn-touchscreen': {
439
+ path: string;
440
+ viewBox: string;
441
+ };
442
+ pause: {
443
+ path: string;
444
+ viewBox: string;
445
+ };
446
+ 'pause-circle': {
447
+ path: string;
448
+ viewBox: string;
449
+ };
450
+ 'pause-icon': {
451
+ path: string;
452
+ viewBox: string;
453
+ };
454
+ pen: {
455
+ path: string;
456
+ viewBox: string;
457
+ };
458
+ pencil: {
459
+ path: string;
460
+ viewBox: string;
461
+ };
462
+ pin: {
463
+ path: string;
464
+ viewBox: string;
465
+ };
466
+ play: {
467
+ path: string;
468
+ viewBox: string;
469
+ };
470
+ 'play-circle': {
471
+ path: string;
472
+ viewBox: string;
473
+ };
474
+ 'play-icon': {
475
+ path: string;
476
+ viewBox: string;
477
+ };
478
+ 'play-round-corners': {
479
+ path: string;
480
+ viewBox: string;
481
+ };
482
+ plus: {
483
+ path: string;
484
+ viewBox: string;
485
+ };
486
+ privacy: {
487
+ path: string;
488
+ viewBox: string;
489
+ };
490
+ 'question-mark-circle': {
491
+ path: string;
492
+ viewBox: string;
493
+ };
494
+ 'radiobox-blank': {
495
+ path: string;
496
+ viewBox: string;
497
+ };
498
+ 'radiobox-marked': {
499
+ path: string;
500
+ viewBox: string;
501
+ };
502
+ refresh: {
503
+ path: string;
504
+ viewBox: string;
505
+ };
506
+ remove: {
507
+ path: string;
508
+ viewBox: string;
509
+ };
510
+ reset: {
511
+ path: string;
512
+ viewBox: string;
513
+ };
514
+ restart: {
515
+ path: string;
516
+ viewBox: string;
517
+ };
518
+ reticle: {
519
+ path: string;
520
+ viewBox: string;
521
+ };
522
+ settings: {
523
+ path: string;
524
+ viewBox: string;
525
+ };
526
+ sleep: {
527
+ path: string;
528
+ viewBox: string;
529
+ };
530
+ 'swap-horizontal': {
531
+ path: string;
532
+ viewBox: string;
533
+ };
534
+ 'text-size': {
535
+ path: string;
536
+ viewBox: string;
537
+ };
538
+ trash: {
539
+ path: string;
540
+ viewBox: string;
541
+ };
542
+ 'unfold-less-horizontal': {
543
+ path: string;
544
+ viewBox: string;
545
+ };
546
+ 'unfold-more-horizontal': {
547
+ path: string;
548
+ viewBox: string;
549
+ };
550
+ union: {
551
+ path: string;
552
+ viewBox: string;
553
+ };
554
+ update: {
555
+ path: string;
556
+ viewBox: string;
557
+ };
558
+ 'update-channel': {
559
+ path: string;
560
+ viewBox: string;
561
+ };
562
+ upload: {
563
+ path: string;
564
+ viewBox: string;
565
+ };
566
+ usb: {
567
+ path: string;
568
+ viewBox: string;
569
+ };
570
+ 'vertical-plane': {
571
+ path: string;
572
+ viewBox: string;
573
+ };
574
+ water: {
575
+ path: string;
576
+ viewBox: string;
577
+ };
578
+ wifi: {
579
+ path: string;
580
+ viewBox: string;
581
+ };
582
+ };
@@ -0,0 +1,3 @@
1
+ export * from './Icon';
2
+ export * from './NotificationIcon';
3
+ export * from './ModuleIcon';
@@ -0,0 +1 @@
1
+ export * from './labware';
@@ -0,0 +1 @@
1
+ export * from './measurement-guide';
@@ -0,0 +1,13 @@
1
+ export interface DiagramProps {
2
+ guideType?: string;
3
+ category?: string;
4
+ insertCategory?: string;
5
+ shape?: string;
6
+ wellBottomShape?: string;
7
+ guideVisible?: boolean;
8
+ irregular?: boolean;
9
+ isMultiRow?: boolean;
10
+ }
11
+ export declare function getFootprintDiagram(props: DiagramProps): string[];
12
+ export declare function getSpacingDiagram(props: DiagramProps): string[];
13
+ export declare function getMeasurementDiagram(props: DiagramProps): string[];
package/lib/index.d.ts ADDED
@@ -0,0 +1,28 @@
1
+ export * from './hooks';
2
+ export * from './utils';
3
+ export * from './alerts';
4
+ export * from './buttons';
5
+ export * from './controls';
6
+ export * from './hardware-sim';
7
+ export * from './legacy-hardware-sim';
8
+ export * from './forms';
9
+ export * from './icons';
10
+ export * from './images';
11
+ export * from './instrument';
12
+ export * from './interaction-enhancers';
13
+ export * from './lists';
14
+ export * from './modals';
15
+ export * from './nav';
16
+ export * from './primitives';
17
+ export * from './tabbedNav';
18
+ export * from './slotmap';
19
+ export * from './structure';
20
+ export * from './tooltips';
21
+ export * from './styles';
22
+ export * from './ui-style-constants';
23
+ export * from './helix-design-system';
24
+ export * from './helix-design-system';
25
+ export * from './robot-types';
26
+ export * from './testing/utils';
27
+ export * from './molecules';
28
+ export * from './atoms';
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ export interface InfoItemProps {
3
+ title: string;
4
+ value: string;
5
+ className?: string;
6
+ }
7
+ /**
8
+ * Used by `InstrumentInfo` for its titled values.
9
+ * But if you're using this, you probably want `LabeledValue` instead.
10
+ */
11
+ export declare function InfoItem(props: InfoItemProps): JSX.Element;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { FlattenSimpleInterpolation } from 'styled-components';
3
+ import type { PipetteNameSpecs } from '@opentrons/shared-data';
4
+ import type { Mount } from '../robot-types';
5
+ import type { StyleProps } from '..';
6
+ export interface InstrumentDiagramProps extends StyleProps {
7
+ mount: Mount;
8
+ pipetteSpecs?: Pick<PipetteNameSpecs, 'displayCategory' | 'channels'> | null;
9
+ className?: string;
10
+ imageStyle?: FlattenSimpleInterpolation;
11
+ }
12
+ export declare function InstrumentDiagram(props: InstrumentDiagramProps): JSX.Element;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import type { InstrumentInfoProps } from './InstrumentInfo';
3
+ export interface InstrumentGroupProps {
4
+ showMountLabel?: boolean | null | undefined;
5
+ left?: InstrumentInfoProps | null | undefined;
6
+ right?: InstrumentInfoProps | null | undefined;
7
+ }
8
+ /**
9
+ * Renders a left and right pipette diagram & info.
10
+ * Takes child `InstrumentInfo` props in `right` and `left` props.
11
+ */
12
+ export declare function InstrumentGroup(props: InstrumentGroupProps): JSX.Element;
@@ -0,0 +1,24 @@
1
+ import * as React from 'react';
2
+ import type { Mount } from '../robot-types';
3
+ import type { InstrumentDiagramProps } from './InstrumentDiagram';
4
+ export interface InstrumentInfoProps {
5
+ /** 'left' or 'right' */
6
+ mount: Mount;
7
+ /** if true, show labels 'LEFT PIPETTE' / 'RIGHT PIPETTE' */
8
+ showMountLabel?: boolean | null;
9
+ /** human-readable description, eg 'p300 Single-channel' */
10
+ description: string;
11
+ /** paired tiprack model */
12
+ tiprackModel?: string;
13
+ /** if disabled, pipette & its info are grayed out */
14
+ isDisabled: boolean;
15
+ /** specs of mounted pipette */
16
+ pipetteSpecs?: InstrumentDiagramProps['pipetteSpecs'] | null;
17
+ /** classes to apply */
18
+ className?: string;
19
+ /** classes to apply to the info group child */
20
+ infoClassName?: string;
21
+ /** children to display under the info */
22
+ children?: React.ReactNode;
23
+ }
24
+ export declare function InstrumentInfo(props: InstrumentInfoProps): JSX.Element;
@@ -0,0 +1,20 @@
1
+ import type { ActionMeta } from 'react-select';
2
+ import type { SelectOption } from '../forms';
3
+ export interface PipetteSelectProps {
4
+ /** currently selected value, optional in case selecting triggers immediate action */
5
+ pipetteName?: string | null;
6
+ /** react-select change handler */
7
+ onPipetteChange: (pipetteName: string | null, e: ActionMeta<SelectOption>) => void;
8
+ /** list of pipette names to omit */
9
+ nameBlocklist?: string[];
10
+ /** whether or not "None" shows up as the default option */
11
+ enableNoneOption?: boolean;
12
+ /** input tabIndex */
13
+ tabIndex?: string | number;
14
+ /** classes to apply to the top-level component */
15
+ className?: string;
16
+ /** custom id to be applied. likely to be used as a data test id for e2e testing */
17
+ id?: string;
18
+ disabled?: boolean;
19
+ }
20
+ export declare const PipetteSelect: (props: PipetteSelectProps) => JSX.Element;