@opentrons/components 0.1.5-alpha.4 → 0.1.6-alpha.10

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 (299) hide show
  1. package/Makefile +10 -9
  2. package/README.md +1 -15
  3. package/babel.config.cjs +21 -0
  4. package/lib/alerts/AlertItem.d.ts +1 -1
  5. package/lib/atoms/Checkbox/__tests__/Checkbox.test.d.ts +1 -0
  6. package/lib/atoms/Checkbox/index.d.ts +24 -0
  7. package/lib/atoms/CheckboxField/__tests__/CheckboxField.test.d.ts +1 -1
  8. package/lib/atoms/CheckboxField/index.d.ts +1 -1
  9. package/lib/atoms/Chip/index.d.ts +20 -0
  10. package/lib/atoms/Divider/index.d.ts +5 -0
  11. package/lib/atoms/InputField/__tests__/InputField.test.d.ts +1 -0
  12. package/lib/atoms/InputField/index.d.ts +68 -0
  13. package/lib/atoms/ListButton/ListButtonChildren/ListButtonAccordion.d.ts +10 -0
  14. package/lib/atoms/ListButton/ListButtonChildren/ListButtonAccordionContainer.d.ts +7 -0
  15. package/lib/atoms/ListButton/ListButtonChildren/ListButtonRadioButton.d.ts +14 -0
  16. package/lib/atoms/ListButton/ListButtonChildren/index.d.ts +3 -0
  17. package/lib/atoms/ListButton/__tests__/ListButton.test.d.ts +1 -0
  18. package/lib/atoms/ListButton/__tests__/ListButtonAccordion.test.d.ts +1 -0
  19. package/lib/atoms/ListButton/__tests__/ListButtonRadioButton.test.d.ts +1 -0
  20. package/lib/atoms/ListButton/index.d.ts +11 -0
  21. package/lib/atoms/ListItem/ListItemChildren/ListItemCustomize.d.ts +15 -0
  22. package/lib/atoms/ListItem/ListItemChildren/ListItemDescriptor.d.ts +7 -0
  23. package/lib/atoms/ListItem/ListItemChildren/index.d.ts +2 -0
  24. package/lib/atoms/ListItem/__tests__/ListItem.test.d.ts +1 -0
  25. package/lib/atoms/ListItem/index.d.ts +14 -0
  26. package/lib/atoms/MenuList/MenuItem.d.ts +7 -0
  27. package/lib/atoms/MenuList/OverflowBtn.d.ts +7 -0
  28. package/lib/atoms/MenuList/__tests__/MenuItem.test.d.ts +1 -0
  29. package/lib/atoms/MenuList/__tests__/MenuList.test.d.ts +1 -0
  30. package/lib/atoms/MenuList/__tests__/OverflowBtn.test.d.ts +1 -0
  31. package/lib/atoms/MenuList/index.d.ts +8 -0
  32. package/lib/atoms/Snackbar/__tests__/Snackbar.test.d.ts +1 -0
  33. package/lib/atoms/Snackbar/index.d.ts +7 -0
  34. package/lib/atoms/StepMeter/index.d.ts +2 -1
  35. package/lib/atoms/StyledText/LegacyStyledText.d.ts +6 -0
  36. package/lib/atoms/StyledText/StyledText.d.ts +154 -0
  37. package/lib/atoms/StyledText/index.d.ts +2 -0
  38. package/lib/atoms/Tag/__tests__/Tag.test.d.ts +1 -0
  39. package/lib/atoms/Tag/index.d.ts +13 -0
  40. package/lib/atoms/Toast/__tests__/ODDToast.test.d.ts +1 -0
  41. package/lib/atoms/Toast/__tests__/Toast.test.d.ts +1 -0
  42. package/lib/atoms/Toast/index.d.ts +25 -0
  43. package/lib/atoms/ToggleGroup/__tests__/ToggleGroup.test.d.ts +1 -0
  44. package/lib/atoms/ToggleGroup/index.d.ts +9 -0
  45. package/lib/atoms/Tooltip/__tests__/Tooltip.test.d.ts +1 -0
  46. package/lib/atoms/Tooltip/index.d.ts +11 -0
  47. package/lib/atoms/buttons/AlertPrimaryButton.d.ts +1 -2
  48. package/lib/atoms/buttons/AltPrimaryButton.d.ts +1 -0
  49. package/lib/atoms/buttons/EmptySelectorButton.d.ts +10 -0
  50. package/lib/atoms/buttons/LargeButton.d.ts +17 -0
  51. package/lib/atoms/buttons/PrimaryButton.d.ts +1 -2
  52. package/lib/atoms/buttons/RadioButton.d.ts +21 -0
  53. package/lib/atoms/buttons/__tests__/AlertPrimaryButton.test.d.ts +1 -1
  54. package/lib/atoms/buttons/__tests__/AltPrimaryButton.test.d.ts +1 -0
  55. package/lib/atoms/buttons/__tests__/EmptySelectorButton.test.d.ts +1 -0
  56. package/lib/atoms/buttons/__tests__/LargeButton.test.d.ts +1 -0
  57. package/lib/atoms/buttons/__tests__/PrimaryButton.test.d.ts +1 -1
  58. package/lib/atoms/buttons/__tests__/RadioButton.test.d.ts +1 -0
  59. package/lib/atoms/buttons/__tests__/SecondaryButton.test.d.ts +1 -1
  60. package/lib/atoms/buttons/index.d.ts +3 -0
  61. package/lib/atoms/index.d.ts +18 -1
  62. package/lib/buttons/Button.d.ts +3 -2
  63. package/lib/buttons/DeprecatedPrimaryButton.d.ts +0 -1
  64. package/lib/buttons/FlatButton.d.ts +0 -1
  65. package/lib/buttons/IconButton.d.ts +0 -1
  66. package/lib/buttons/OutlineButton.d.ts +0 -1
  67. package/lib/controls/ControlInfo.d.ts +1 -1
  68. package/lib/controls/LabeledButton.d.ts +1 -1
  69. package/lib/controls/LabeledCheckbox.d.ts +1 -1
  70. package/lib/controls/LabeledControl.d.ts +1 -1
  71. package/lib/controls/LabeledRadioGroup.d.ts +1 -1
  72. package/lib/controls/LabeledSelect.d.ts +1 -1
  73. package/lib/controls/LabeledToggle.d.ts +1 -1
  74. package/lib/controls/StackedLabeledControl.d.ts +1 -1
  75. package/lib/controls/ToggleButton.d.ts +0 -1
  76. package/lib/forms/DeprecatedCheckboxField.d.ts +1 -1
  77. package/lib/forms/DropdownField.d.ts +3 -3
  78. package/lib/forms/FormGroup.d.ts +1 -1
  79. package/lib/forms/{InputField.d.ts → LegacyInputField.d.ts} +4 -4
  80. package/lib/forms/RadioGroup.d.ts +1 -1
  81. package/lib/forms/Select.d.ts +1 -2
  82. package/lib/forms/SelectField.d.ts +1 -1
  83. package/lib/forms/ToggleField.d.ts +1 -1
  84. package/lib/forms/__tests__/DeprecatedCheckboxField.test.d.ts +1 -0
  85. package/lib/forms/__tests__/DropdownField.test.d.ts +1 -0
  86. package/lib/forms/__tests__/InputField.test.d.ts +1 -0
  87. package/lib/forms/__tests__/Select.test.d.ts +1 -0
  88. package/lib/forms/__tests__/SelectField.test.d.ts +1 -0
  89. package/lib/forms/__tests__/ToggleField.test.d.ts +1 -0
  90. package/lib/forms/index.d.ts +1 -1
  91. package/lib/hardware-sim/BaseDeck/BaseDeck.d.ts +9 -2
  92. package/lib/hardware-sim/BaseDeck/SingleSlotFixture.d.ts +1 -1
  93. package/lib/hardware-sim/BaseDeck/SlotBase.d.ts +1 -1
  94. package/lib/hardware-sim/BaseDeck/SlotClip.d.ts +1 -1
  95. package/lib/hardware-sim/BaseDeck/StagingAreaFixture.d.ts +1 -1
  96. package/lib/hardware-sim/BaseDeck/WasteChuteFixture.d.ts +2 -3
  97. package/lib/hardware-sim/BaseDeck/WasteChuteStagingAreaFixture.d.ts +1 -1
  98. package/lib/hardware-sim/Deck/DeckFromLayers.d.ts +0 -1
  99. package/lib/hardware-sim/Deck/MoveLabwareOnDeck.d.ts +1 -2
  100. package/lib/hardware-sim/Deck/OT2Layers.d.ts +0 -1
  101. package/lib/hardware-sim/Deck/RobotCoordsForeignDiv.d.ts +1 -1
  102. package/lib/hardware-sim/Deck/RobotCoordsForeignObject.d.ts +1 -1
  103. package/lib/hardware-sim/Deck/RobotCoordsText.d.ts +1 -1
  104. package/lib/hardware-sim/Deck/RobotWorkSpace.d.ts +1 -1
  105. package/lib/hardware-sim/Deck/__mocks__/getDeckDefinitions.d.ts +1 -2
  106. package/lib/hardware-sim/Deck/index.d.ts +0 -1
  107. package/lib/hardware-sim/DeckConfigurator/AbsorbanceReaderFixture.d.ts +10 -0
  108. package/lib/hardware-sim/DeckConfigurator/EmptyConfigFixture.d.ts +0 -1
  109. package/lib/hardware-sim/DeckConfigurator/HeaterShakerFixture.d.ts +10 -0
  110. package/lib/hardware-sim/DeckConfigurator/MagneticBlockFixture.d.ts +11 -0
  111. package/lib/hardware-sim/DeckConfigurator/StagingAreaConfigFixture.d.ts +4 -3
  112. package/lib/hardware-sim/DeckConfigurator/StaticFixture.d.ts +12 -0
  113. package/lib/hardware-sim/DeckConfigurator/TemperatureModuleFixture.d.ts +10 -0
  114. package/lib/hardware-sim/DeckConfigurator/ThermocyclerFixture.d.ts +10 -0
  115. package/lib/hardware-sim/DeckConfigurator/TrashBinConfigFixture.d.ts +4 -3
  116. package/lib/hardware-sim/DeckConfigurator/WasteChuteConfigFixture.d.ts +4 -3
  117. package/lib/hardware-sim/DeckConfigurator/constants.d.ts +6 -1
  118. package/lib/hardware-sim/DeckConfigurator/index.d.ts +10 -4
  119. package/lib/hardware-sim/DeckSlotLocation/index.d.ts +1 -1
  120. package/lib/hardware-sim/Labware/Labware.d.ts +39 -0
  121. package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96DeepWellAdapter.d.ts +0 -1
  122. package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96FlatBottomAdapter.d.ts +0 -1
  123. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAluminumFlatBottomPlate.d.ts +0 -1
  124. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAutoclavableDeckRiser.d.ts +1 -0
  125. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsFlex96TiprackAdapter.d.ts +0 -1
  126. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsToughPCRAutoSealingLid.d.ts +1 -0
  127. package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapter.d.ts +0 -1
  128. package/lib/hardware-sim/Labware/LabwareAdapter/index.d.ts +8 -0
  129. package/lib/hardware-sim/Labware/LabwareRender.d.ts +6 -2
  130. package/lib/hardware-sim/Labware/LabwareStackRender.d.ts +20 -0
  131. package/lib/hardware-sim/Labware/__tests__/Labware.test.d.ts +1 -0
  132. package/lib/hardware-sim/Labware/__tests__/LabwareRender.test.d.ts +1 -1
  133. package/lib/hardware-sim/Labware/index.d.ts +3 -1
  134. package/lib/hardware-sim/Labware/labwareInternals/FilledWells.d.ts +1 -0
  135. package/lib/hardware-sim/Labware/labwareInternals/LabwareOutline.d.ts +4 -1
  136. package/lib/hardware-sim/Labware/labwareInternals/LabwareWellLabels.d.ts +15 -0
  137. package/lib/hardware-sim/Labware/labwareInternals/StaticLabware.d.ts +9 -1
  138. package/lib/hardware-sim/Labware/labwareInternals/Well.d.ts +2 -1
  139. package/lib/hardware-sim/Labware/labwareInternals/WellLabels.d.ts +1 -1
  140. package/lib/hardware-sim/Labware/labwareInternals/__tests__/LabwareWellLabels.test.d.ts +1 -0
  141. package/lib/hardware-sim/Labware/labwareInternals/__tests__/StrokedWells.test.d.ts +1 -1
  142. package/lib/hardware-sim/Labware/labwareInternals/__tests__/WellLabels.test.d.ts +1 -1
  143. package/lib/hardware-sim/Labware/labwareInternals/index.d.ts +2 -0
  144. package/lib/hardware-sim/Labware/labwareInternals/types.d.ts +1 -1
  145. package/lib/hardware-sim/Module/HeaterShaker.d.ts +0 -1
  146. package/lib/hardware-sim/Module/MagneticBlock.d.ts +0 -1
  147. package/lib/hardware-sim/Module/MagneticModule.d.ts +0 -1
  148. package/lib/hardware-sim/Module/ModuleTag.d.ts +1 -1
  149. package/lib/hardware-sim/Module/PlateReader.d.ts +1 -0
  150. package/lib/hardware-sim/Module/Temperature.d.ts +0 -1
  151. package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN1.d.ts +0 -1
  152. package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN2.d.ts +0 -1
  153. package/lib/hardware-sim/Module/Thermocycler/index.d.ts +1 -2
  154. package/lib/hardware-sim/Module/index.d.ts +2 -2
  155. package/lib/hardware-sim/Pipette/PipetteRender.d.ts +1 -1
  156. package/lib/hardware-sim/ProtocolDeck/LabwareInfo.d.ts +2 -2
  157. package/lib/hardware-sim/ProtocolDeck/index.d.ts +4 -2
  158. package/lib/hardware-sim/ProtocolDeck/utils/index.d.ts +1 -0
  159. package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpace.d.ts +1 -1
  160. package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpaceWithRef.d.ts +16 -0
  161. package/lib/hardware-sim/RobotCoordinateSpace/index.d.ts +1 -1
  162. package/lib/hardware-sim/utils.d.ts +1 -1
  163. package/lib/helix-design-system/borders.d.ts +26 -0
  164. package/lib/helix-design-system/colors.d.ts +11 -0
  165. package/lib/helix-design-system/index.d.ts +3 -0
  166. package/lib/helix-design-system/product/index.d.ts +1 -0
  167. package/lib/helix-design-system/product/typography.d.ts +79 -0
  168. package/lib/helix-design-system/style.d.ts +1 -0
  169. package/lib/hooks/__tests__/useConditionalConfirm.test.d.ts +1 -0
  170. package/lib/hooks/__tests__/useInterval.test.d.ts +1 -0
  171. package/lib/hooks/__tests__/useMountEffect.test.d.ts +1 -0
  172. package/lib/hooks/__tests__/usePrevious.test.d.ts +1 -0
  173. package/lib/hooks/__tests__/useTimeout.test.d.ts +1 -0
  174. package/lib/hooks/__tests__/useToggle.test.d.ts +1 -0
  175. package/lib/hooks/index.d.ts +1 -0
  176. package/lib/hooks/useConditionalConfirm.d.ts +3 -2
  177. package/lib/hooks/useDrag.d.ts +1 -1
  178. package/lib/hooks/useLongPress.d.ts +1 -1
  179. package/lib/hooks/useMenuHandleClickOutside.d.ts +9 -0
  180. package/lib/hooks/useSelectDeckLocation/index.d.ts +1 -3
  181. package/lib/hooks/useSwipe.d.ts +1 -1
  182. package/lib/icons/Icon.d.ts +1 -1
  183. package/lib/icons/ModuleIcon.d.ts +2 -3
  184. package/lib/icons/NotificationIcon.d.ts +0 -1
  185. package/lib/icons/icon-data.d.ts +4 -582
  186. package/lib/icons/index.d.ts +1 -0
  187. package/lib/index.cjs +732 -0
  188. package/lib/index.d.ts +1 -3
  189. package/lib/index.mjs +36590 -0
  190. package/lib/instrument/InstrumentDiagram.d.ts +3 -4
  191. package/lib/instrument/InstrumentGroup.d.ts +0 -1
  192. package/lib/instrument/InstrumentInfo.d.ts +5 -11
  193. package/lib/instrument/__tests__/InstrumentInfo.test.d.ts +1 -0
  194. package/lib/instrument/__tests__/PipetteSelect.test.d.ts +1 -0
  195. package/lib/instrument/index.d.ts +0 -1
  196. package/lib/interaction-enhancers/__tests__/useHover.test.d.ts +1 -0
  197. package/lib/legacy-hardware-sim/LabwareNameOverlay.d.ts +0 -1
  198. package/lib/legacy-hardware-sim/ModuleItem.d.ts +0 -1
  199. package/lib/lists/SidePanelGroup.d.ts +1 -1
  200. package/lib/lists/index.d.ts +0 -1
  201. package/lib/modals/AlertModal.d.ts +2 -1
  202. package/lib/modals/ContinueModal.d.ts +1 -1
  203. package/lib/modals/LegacyModal.d.ts +24 -0
  204. package/lib/modals/Modal.d.ts +21 -20
  205. package/lib/modals/ModalHeader.d.ts +13 -0
  206. package/lib/modals/ModalShell.d.ts +11 -2
  207. package/lib/modals/Overlay.d.ts +1 -1
  208. package/lib/modals/SpinnerModal.d.ts +1 -1
  209. package/lib/modals/SpinnerModalPage.d.ts +2 -1
  210. package/lib/modals/__tests__/Modal.test.d.ts +1 -0
  211. package/lib/modals/__tests__/ModalHeader.test.d.ts +1 -0
  212. package/lib/modals/__tests__/ModalShell.test.d.ts +1 -0
  213. package/lib/modals/index.d.ts +5 -5
  214. package/lib/molecules/Banner/__tests__/Banner.test.d.ts +1 -0
  215. package/lib/molecules/Banner/index.d.ts +23 -0
  216. package/lib/molecules/DeckInfoLabel/__tests__/DeckInfoLabel.test.d.ts +1 -0
  217. package/lib/molecules/DeckInfoLabel/index.d.ts +19 -0
  218. package/lib/molecules/DeckLabel/__tests__/DeckLabel.test.d.ts +1 -0
  219. package/lib/molecules/DeckLabel/index.d.ts +10 -0
  220. package/lib/molecules/DropdownMenu/__tests__/DropdownMenu.test.d.ts +1 -0
  221. package/lib/molecules/DropdownMenu/index.d.ts +41 -0
  222. package/lib/molecules/InfoScreen/__tests__/InfoScreen.test.d.ts +1 -0
  223. package/lib/molecules/InfoScreen/index.d.ts +6 -0
  224. package/lib/molecules/LiquidIcon/__tests__/LiquidIcon.test.d.ts +1 -0
  225. package/lib/molecules/LiquidIcon/index.d.ts +9 -0
  226. package/lib/molecules/ParametersTable/__tests__/ParametersTable.test.d.ts +1 -0
  227. package/lib/molecules/ParametersTable/index.d.ts +10 -0
  228. package/lib/molecules/Tabs/__tests__/Tabs.test.d.ts +1 -0
  229. package/lib/molecules/Tabs/index.d.ts +10 -0
  230. package/lib/molecules/index.d.ts +8 -2
  231. package/lib/nav/SidePanel.d.ts +1 -1
  232. package/lib/organisms/DeckLabelSet/__tests__/DeckLabelSet.test.d.ts +1 -0
  233. package/lib/organisms/DeckLabelSet/index.d.ts +11 -0
  234. package/lib/organisms/EndUserAgreementFooter/__tests__/EndUserAgreementFooter.test.d.ts +1 -0
  235. package/lib/organisms/EndUserAgreementFooter/index.d.ts +1 -0
  236. package/lib/organisms/Toolbox/__tests__/Toolbox.test.d.ts +1 -0
  237. package/lib/organisms/Toolbox/index.d.ts +20 -0
  238. package/lib/organisms/index.d.ts +3 -0
  239. package/lib/primitives/Btn.d.ts +11 -13
  240. package/lib/primitives/__tests__/Box.test.d.ts +1 -0
  241. package/lib/primitives/__tests__/Btn.test.d.ts +1 -0
  242. package/lib/primitives/__tests__/Flex.test.d.ts +1 -0
  243. package/lib/primitives/__tests__/Link.test.d.ts +1 -0
  244. package/lib/primitives/__tests__/Svg.test.d.ts +1 -0
  245. package/lib/primitives/__tests__/Text.test.d.ts +1 -0
  246. package/lib/primitives/__tests__/primitives.test.d.ts +1 -0
  247. package/lib/primitives/__tests__/style-props.test.d.ts +1 -0
  248. package/lib/primitives/types.d.ts +1 -2
  249. package/lib/slotmap/{SlotMap.d.ts → OT2SlotMap.d.ts} +1 -4
  250. package/lib/slotmap/__tests__/OT2SlotMap.test.d.ts +1 -0
  251. package/lib/slotmap/index.d.ts +1 -1
  252. package/lib/structure/Card.d.ts +1 -1
  253. package/lib/structure/LabeledValue.d.ts +1 -1
  254. package/lib/structure/Pill.d.ts +1 -1
  255. package/lib/structure/Splash.d.ts +0 -1
  256. package/lib/structure/TitleBar.d.ts +2 -2
  257. package/lib/structure/index.d.ts +0 -1
  258. package/lib/style.css +1 -0
  259. package/lib/styles/cursor.d.ts +10 -0
  260. package/lib/styles/flexbox.d.ts +6 -0
  261. package/lib/styles/index.d.ts +1 -0
  262. package/lib/styles/layout.d.ts +1 -0
  263. package/lib/testing/utils/matchers.d.ts +0 -3
  264. package/lib/testing/utils/renderWithProviders.d.ts +2 -3
  265. package/lib/tooltips/DeprecatedTooltip.d.ts +1 -1
  266. package/lib/tooltips/{Tooltip.d.ts → LegacyTooltip.d.ts} +2 -2
  267. package/lib/tooltips/__tests__/Tooltip.test.d.ts +1 -0
  268. package/lib/tooltips/__tests__/useHoverTooltip.test.d.ts +1 -0
  269. package/lib/tooltips/__tests__/usePopper.test.d.ts +1 -0
  270. package/lib/tooltips/__tests__/useTooltip.test.d.ts +1 -0
  271. package/lib/tooltips/index.d.ts +1 -1
  272. package/lib/ui-style-constants/index.d.ts +2 -2
  273. package/lib/ui-style-constants/responsiveness.d.ts +1 -0
  274. package/lib/ui-style-constants/spacing.d.ts +1 -0
  275. package/lib/ui-style-constants/typography.d.ts +1 -0
  276. package/lib/ui-style-constants/viewport.d.ts +15 -0
  277. package/package.json +10 -9
  278. package/tsconfig.json +2 -2
  279. package/typings/global.d.ts +0 -1
  280. package/vite.config.mts +65 -0
  281. package/lib/hardware-sim/Deck/getDeckDefinitions.d.ts +0 -2
  282. package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpaceWithDOMCoords.d.ts +0 -19
  283. package/lib/instrument/InfoItem.d.ts +0 -11
  284. package/lib/lists/ListItem.d.ts +0 -37
  285. package/lib/modals/BaseModal.d.ts +0 -26
  286. package/lib/modals/ModalPage.d.ts +0 -16
  287. package/lib/modals/__tests__/BaseModal.test.d.ts +0 -0
  288. package/lib/molecules/LocationIcon/index.d.ts +0 -16
  289. package/lib/molecules/RoundTab.d.ts +0 -8
  290. package/lib/opentrons-components.js +0 -16
  291. package/lib/slotmap/__tests__/SlotMap.test.d.ts +0 -0
  292. package/lib/structure/PageTabs.d.ts +0 -12
  293. package/lib/tabbedNav/NavTab.d.ts +0 -25
  294. package/lib/tabbedNav/OutsideLinkTab.d.ts +0 -24
  295. package/lib/tabbedNav/TabbedNavBar.d.ts +0 -7
  296. package/lib/tabbedNav/index.d.ts +0 -3
  297. package/lib/ui-style-constants/borders.d.ts +0 -18
  298. package/webpack.config.js +0 -38
  299. /package/lib/{molecules/LocationIcon/__tests__/LocationIcon.test.d.ts → atoms/Chip/__tests__/Chip.test.d.ts} +0 -0
@@ -3,9 +3,13 @@
3
3
  * Position is relative to deck definition slot positions and a custom stroke applied to the single slot fixture SVG
4
4
  */
5
5
  export declare const FIXTURE_HEIGHT = 102;
6
- export declare const SINGLE_SLOT_FIXTURE_WIDTH = 243.5;
6
+ export declare const THERMOCYCLER_FIXTURE_HEIGHT = 290;
7
+ export declare const COLUMN_1_SINGLE_SLOT_FIXTURE_WIDTH = 243.5;
8
+ export declare const COLUMN_2_SINGLE_SLOT_FIXTURE_WIDTH = 159;
9
+ export declare const COLUMN_3_SINGLE_SLOT_FIXTURE_WIDTH = 243.5;
7
10
  export declare const STAGING_AREA_FIXTURE_WIDTH = 314.5;
8
11
  export declare const COLUMN_1_X_ADJUSTMENT = -100;
12
+ export declare const COLUMN_2_X_ADJUSTMENT = -15.5;
9
13
  export declare const COLUMN_3_X_ADJUSTMENT = -15.5;
10
14
  export declare const Y_ADJUSTMENT = -8;
11
15
  export declare const STAGING_AREA_DISPLAY_NAME = "Staging area";
@@ -13,3 +17,4 @@ export declare const TRASH_BIN_DISPLAY_NAME = "Trash bin";
13
17
  export declare const WASTE_CHUTE_DISPLAY_NAME = "Waste chute";
14
18
  export declare const CONFIG_STYLE_READ_ONLY: import("styled-components").FlattenSimpleInterpolation;
15
19
  export declare const CONFIG_STYLE_EDITABLE: import("styled-components").FlattenSimpleInterpolation;
20
+ export declare const CONFIG_STYLE_SELECTED: import("styled-components").FlattenSimpleInterpolation;
@@ -1,14 +1,20 @@
1
- import * as React from 'react';
2
- import type { CutoutId, DeckConfiguration } from '@opentrons/shared-data';
1
+ import type * as React from 'react';
2
+ import type { CutoutFixtureId, CutoutId, DeckConfiguration } from '@opentrons/shared-data';
3
3
  interface DeckConfiguratorProps {
4
4
  deckConfig: DeckConfiguration;
5
5
  handleClickAdd: (cutoutId: CutoutId) => void;
6
- handleClickRemove: (cutoutId: CutoutId) => void;
6
+ handleClickRemove: (cutoutId: CutoutId, cutoutFixtureId: CutoutFixtureId) => void;
7
7
  lightFill?: string;
8
8
  darkFill?: string;
9
- readOnly?: boolean;
9
+ editableCutoutIds?: CutoutId[];
10
10
  showExpansion?: boolean;
11
11
  children?: React.ReactNode;
12
+ additionalStaticFixtures?: Array<{
13
+ location: CutoutId;
14
+ label: string;
15
+ }>;
16
+ height?: string;
17
+ selectedCutoutId?: CutoutId;
12
18
  }
13
19
  export declare function DeckConfigurator(props: DeckConfiguratorProps): JSX.Element;
14
20
  export {};
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import type { DeckSlot, RobotType } from '@opentrons/shared-data';
3
3
  interface LegacyDeckSlotLocationProps extends React.SVGProps<SVGGElement> {
4
4
  robotType: RobotType;
@@ -0,0 +1,39 @@
1
+ import * as React from 'react';
2
+ import type { LabwareDefinition2 } from '@opentrons/shared-data';
3
+ import type { HighlightedWellLabels, WellMouseEvent, WellFill, WellStroke } from './labwareInternals/types';
4
+ export interface LabwareProps {
5
+ /** Labware definition to render */
6
+ definition: LabwareDefinition2;
7
+ /** Opional Prop for labware on heater shakers sitting on right side of the deck */
8
+ shouldRotateAdapterOrientation?: boolean;
9
+ /** boolean to show well labels */
10
+ showLabels?: boolean;
11
+ /** color to render well labels */
12
+ wellLabelColor?: string;
13
+ /** option to highlight well labels with specified color */
14
+ highlightedWellLabels?: HighlightedWellLabels;
15
+ /** CSS color to fill specified wells */
16
+ wellFill?: WellFill;
17
+ /** CSS color to stroke specified wells */
18
+ wellStroke?: WellStroke;
19
+ /** adds thicker blue border with blur to labware */
20
+ highlight?: boolean;
21
+ /** Optional callback, called with WellMouseEvent args onMouseEnter */
22
+ onMouseEnterWell?: (e: WellMouseEvent) => unknown;
23
+ /** Optional callback, called with WellMouseEvent args onMouseLeave */
24
+ onMouseLeaveWell?: (e: WellMouseEvent) => unknown;
25
+ gRef?: React.RefObject<SVGGElement>;
26
+ onLabwareClick?: () => void;
27
+ /** Hide labware outline */
28
+ hideOutline?: boolean;
29
+ /** Provides well data attribute */
30
+ isInteractive?: boolean;
31
+ }
32
+ /**
33
+ * a refactor of the legacy LabwareRender component intended to provide predictable styling
34
+ * initial use in ODD well selection component with ODD-specific well label styling
35
+ * consider adding additional styled wells props if used elsewhere
36
+ * @param props
37
+ * @returns
38
+ */
39
+ export declare const Labware: (props: LabwareProps) => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function Opentrons96DeepWellAdapter(): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function Opentrons96FlatBottomAdapter(): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function OpentronsAluminumFlatBottomPlate(): JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function OpentronsAutoclavableDeckRiser(): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function OpentronsFlex96TiprackAdapter(): JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function OpentronsToughPCRAutoSealingLid(): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function OpentronsUniversalFlatAdapter(): JSX.Element;
@@ -3,17 +3,25 @@ import { Opentrons96FlatBottomAdapter } from './Opentrons96FlatBottomAdapter';
3
3
  import { OpentronsUniversalFlatAdapter } from './OpentronsUniversalFlatAdapter';
4
4
  import { OpentronsAluminumFlatBottomPlate } from './OpentronsAluminumFlatBottomPlate';
5
5
  import { OpentronsFlex96TiprackAdapter } from './OpentronsFlex96TiprackAdapter';
6
+ import { OpentronsToughPCRAutoSealingLid } from './OpentronsToughPCRAutoSealingLid';
7
+ import { OpentronsAutoclavableDeckRiser } from './OpentronsAutoclavableDeckRiser';
8
+ import type { LabwareDefinition2 } from '@opentrons/shared-data';
6
9
  declare const LABWARE_ADAPTER_LOADNAME_PATHS: {
7
10
  opentrons_96_deep_well_adapter: typeof Opentrons96DeepWellAdapter;
8
11
  opentrons_96_flat_bottom_adapter: typeof Opentrons96FlatBottomAdapter;
9
12
  opentrons_aluminum_flat_bottom_plate: typeof OpentronsAluminumFlatBottomPlate;
10
13
  opentrons_flex_96_tiprack_adapter: typeof OpentronsFlex96TiprackAdapter;
11
14
  opentrons_universal_flat_adapter: typeof OpentronsUniversalFlatAdapter;
15
+ opentrons_tough_pcr_auto_sealing_lid: typeof OpentronsToughPCRAutoSealingLid;
16
+ opentrons_flex_deck_riser: typeof OpentronsAutoclavableDeckRiser;
12
17
  };
13
18
  export type LabwareAdapterLoadName = keyof typeof LABWARE_ADAPTER_LOADNAME_PATHS;
14
19
  export declare const labwareAdapterLoadNames: string[];
15
20
  export interface LabwareAdapterProps {
16
21
  labwareLoadName: LabwareAdapterLoadName;
22
+ definition?: LabwareDefinition2;
23
+ highlight?: boolean;
24
+ highlightShadow?: boolean;
17
25
  }
18
26
  export declare const LabwareAdapter: (props: LabwareAdapterProps) => JSX.Element | null;
19
27
  export {};
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
+ import type { CSSProperties } from 'styled-components';
2
3
  import type { LabwareDefinition2 } from '@opentrons/shared-data';
3
4
  import type { HighlightedWellLabels, WellMouseEvent, WellFill, WellStroke, WellGroup } from './labwareInternals/types';
4
- import type { CSSProperties } from 'styled-components';
5
5
  export declare const WELL_LABEL_OPTIONS: {
6
6
  readonly SHOW_LABEL_INSIDE: "SHOW_LABEL_INSIDE";
7
7
  readonly SHOW_LABEL_OUTSIDE: "SHOW_LABEL_OUTSIDE";
@@ -32,11 +32,15 @@ export interface LabwareRenderProps {
32
32
  labwareStroke?: CSSProperties['stroke'];
33
33
  /** adds thicker blue border with blur to labware */
34
34
  highlight?: boolean;
35
+ /** adds a drop shadow to the highlight border */
36
+ highlightShadow?: boolean;
35
37
  /** Optional callback, called with WellMouseEvent args onMouseEnter */
36
38
  onMouseEnterWell?: (e: WellMouseEvent) => unknown;
37
39
  /** Optional callback, called with WellMouseEvent args onMouseLeave */
38
40
  onMouseLeaveWell?: (e: WellMouseEvent) => unknown;
39
41
  gRef?: React.RefObject<SVGGElement>;
40
42
  onLabwareClick?: () => void;
43
+ showBorder?: boolean;
44
+ strokeColor?: string;
41
45
  }
42
46
  export declare const LabwareRender: (props: LabwareRenderProps) => JSX.Element;
@@ -0,0 +1,20 @@
1
+ import type * as React from 'react';
2
+ import type { LabwareDefinition2 } from '@opentrons/shared-data';
3
+ import type { HighlightedWellLabels } from './labwareInternals/types';
4
+ import type { WellLabelOption } from '../..';
5
+ export interface LabwareStackRenderProps {
6
+ /** Labware definitions in stack to render */
7
+ definitionTop: LabwareDefinition2;
8
+ /** option to highlight well labels with specified color */
9
+ highlightedWellLabels?: HighlightedWellLabels;
10
+ /** highlight top labware */
11
+ highlightTop: boolean;
12
+ /** highlight bottom labware if it exists */
13
+ highlightBottom: boolean;
14
+ gRef?: React.RefObject<SVGGElement>;
15
+ definitionBottom?: LabwareDefinition2 | null;
16
+ shouldRotateAdapterOrientation?: boolean;
17
+ /** option to show well labels inside or outside of labware outline */
18
+ wellLabelOption?: WellLabelOption;
19
+ }
20
+ export declare const LabwareStackRender: (props: LabwareStackRenderProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom/vitest';
@@ -1 +1 @@
1
- export {};
1
+ import '@testing-library/jest-dom/vitest';
@@ -1,3 +1,5 @@
1
- export * from './labwareInternals';
1
+ export * from './labwareInternals/index';
2
2
  export * from './LabwareRender';
3
+ export * from './LabwareStackRender';
4
+ export * from './Labware';
3
5
  export * from './labwareInternals/types';
@@ -4,6 +4,7 @@ import type { CSSProperties } from 'styled-components';
4
4
  export interface FilledWellsProps {
5
5
  definition: LabwareDefinition2;
6
6
  fillByWell: Record<string, CSSProperties['fill']>;
7
+ strokeColor?: string;
7
8
  }
8
9
  declare function FilledWellsComponent(props: FilledWellsProps): JSX.Element;
9
10
  export declare const FilledWells: React.MemoExoticComponent<typeof FilledWellsComponent>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { CSSProperties } from 'styled-components';
3
2
  import type { LabwareDefinition2 } from '@opentrons/shared-data';
4
3
  export interface LabwareOutlineProps {
@@ -12,7 +11,11 @@ export interface LabwareOutlineProps {
12
11
  isTiprack?: boolean;
13
12
  /** adds thicker blue border with blur to labware, defaults to false */
14
13
  highlight?: boolean;
14
+ /** adds a drop shadow to the highlight border */
15
+ highlightShadow?: boolean;
15
16
  /** [legacy] override the border color */
16
17
  stroke?: CSSProperties['stroke'];
18
+ fill?: CSSProperties['fill'];
19
+ showRadius?: boolean;
17
20
  }
18
21
  export declare function LabwareOutline(props: LabwareOutlineProps): JSX.Element;
@@ -0,0 +1,15 @@
1
+ import * as React from 'react';
2
+ import type { LabwareDefinition2 } from '@opentrons/shared-data';
3
+ import type { HighlightedWellLabels } from './types';
4
+ interface LabwareWellLabelsProps {
5
+ definition: LabwareDefinition2;
6
+ highlightedWellLabels?: HighlightedWellLabels;
7
+ wellLabelColor?: string;
8
+ }
9
+ export declare function LabwareWellLabelsComponent(props: LabwareWellLabelsProps): JSX.Element;
10
+ /**
11
+ * for use in Labware.tsx component
12
+ * has ODD-specific styling
13
+ */
14
+ export declare const LabwareWellLabels: React.MemoExoticComponent<typeof LabwareWellLabelsComponent>;
15
+ export {};
@@ -1,17 +1,25 @@
1
1
  import * as React from 'react';
2
2
  import type { LabwareDefinition2 } from '@opentrons/shared-data';
3
- import type { WellMouseEvent } from './types';
3
+ import type { WellMouseEvent, WellStroke } from './types';
4
+ import type { CSSProperties } from 'styled-components';
4
5
  export interface StaticLabwareProps {
5
6
  /** Labware definition to render */
6
7
  definition: LabwareDefinition2;
7
8
  /** Add thicker blurred blue border to labware, defaults to false */
8
9
  highlight?: boolean;
10
+ /** adds a drop shadow to the highlight border */
11
+ highlightShadow?: boolean;
9
12
  /** Optional callback to be executed when entire labware element is clicked */
10
13
  onLabwareClick?: () => void;
11
14
  /** Optional callback to be executed when mouse enters a well element */
12
15
  onMouseEnterWell?: (e: WellMouseEvent) => unknown;
13
16
  /** Optional callback to be executed when mouse leaves a well element */
14
17
  onMouseLeaveWell?: (e: WellMouseEvent) => unknown;
18
+ fill?: CSSProperties['fill'];
19
+ showRadius?: boolean;
20
+ wellStroke?: WellStroke;
21
+ /** optional show of labware border, defaulted to true */
22
+ showBorder?: boolean;
15
23
  }
16
24
  export declare function StaticLabwareComponent(props: StaticLabwareProps): JSX.Element;
17
25
  export declare const StaticLabware: React.MemoExoticComponent<typeof StaticLabwareComponent>;
@@ -2,7 +2,6 @@ import * as React from 'react';
2
2
  import type { LabwareWell } from '@opentrons/shared-data';
3
3
  import type { WellMouseEvent } from './types';
4
4
  import type { StyleProps } from '../../../primitives';
5
- export declare const INTERACTIVE_WELL_DATA_ATTRIBUTE = "data-wellname";
6
5
  export interface WellProps extends StyleProps {
7
6
  /** Well Name (eg 'A1') */
8
7
  wellName: string;
@@ -14,6 +13,8 @@ export interface WellProps extends StyleProps {
14
13
  /** Optional callback, called with WellMouseEvent args onMouseOver */
15
14
  onMouseEnterWell?: (e: WellMouseEvent) => unknown;
16
15
  onMouseLeaveWell?: (e: WellMouseEvent) => unknown;
16
+ /** Provides well data attribute */
17
+ isInteractive?: boolean;
17
18
  }
18
19
  export declare function WellComponent(props: WellProps): JSX.Element;
19
20
  export declare const Well: React.MemoExoticComponent<typeof WellComponent>;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { WellLabelOption } from '../LabwareRender';
3
2
  import type { LabwareDefinition2 } from '@opentrons/shared-data';
3
+ import type { WellLabelOption } from '../LabwareRender';
4
4
  import type { HighlightedWellLabels } from './types';
5
5
  export interface WellLabelsProps {
6
6
  definition: LabwareDefinition2;
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom/vitest';
@@ -1 +1 @@
1
- export {};
1
+ import '@testing-library/jest-dom/vitest';
@@ -1 +1 @@
1
- export {};
1
+ import '@testing-library/jest-dom/vitest';
@@ -4,3 +4,5 @@ export * from './StrokedWells';
4
4
  export * from './WellLabels';
5
5
  export * from './FilledWells';
6
6
  export * from './LabwareOutline';
7
+ export * from './Well';
8
+ export * from './LabwareWellLabels';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  export interface WellMouseEvent {
3
3
  wellName: string;
4
4
  event: React.MouseEvent;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface HeaterShakerVizProps {
3
2
  targetTemp: number | null;
4
3
  }
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function MagneticBlock(): JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare function MagneticModule(): JSX.Element;
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  export interface ModuleTagProps {
3
3
  x: number;
4
4
  y: number;
@@ -0,0 +1 @@
1
+ export declare function PlateReader(): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface TemperatureVizProps {
3
2
  targetTemperature: number | null;
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface ThermocyclerGEN1Props {
3
2
  lidMotorState: 'open' | 'closed';
4
3
  ledLightColor: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface ThermocyclerGEN2Props {
3
2
  lidMotorState: 'open' | 'closed';
4
3
  ledLightColor: string;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import { ThermocyclerModuleModel } from '@opentrons/shared-data';
1
+ import type { ThermocyclerModuleModel } from '@opentrons/shared-data';
3
2
  export interface ThermocyclerVizProps {
4
3
  lidMotorState: 'open' | 'closed' | 'unknown';
5
4
  blockTargetTemp?: number | null;
@@ -1,8 +1,8 @@
1
- import * as React from 'react';
2
- import { ModuleDefinition } from '@opentrons/shared-data';
1
+ import type * as React from 'react';
3
2
  import { Thermocycler } from './Thermocycler';
4
3
  import { HeaterShaker } from './HeaterShaker';
5
4
  import { Temperature } from './Temperature';
5
+ import type { ModuleDefinition } from '@opentrons/shared-data';
6
6
  export * from './Thermocycler';
7
7
  interface Props {
8
8
  x: number;
@@ -1,4 +1,4 @@
1
- import { LabwareDefinition2, PipetteName } from '@opentrons/shared-data';
1
+ import type { LabwareDefinition2, PipetteName } from '@opentrons/shared-data';
2
2
  interface PipetteRenderProps {
3
3
  labwareDef: LabwareDefinition2;
4
4
  pipetteName: PipetteName;
@@ -1,5 +1,5 @@
1
- import * as React from 'react';
2
- import { LabwareDefinition2 } from '@opentrons/shared-data';
1
+ import type * as React from 'react';
2
+ import type { LabwareDefinition2 } from '@opentrons/shared-data';
3
3
  export declare function LabwareInfo(props: {
4
4
  def: LabwareDefinition2;
5
5
  children: React.ReactNode;
@@ -1,11 +1,13 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import { BaseDeck } from '../BaseDeck';
3
- import type { CompletedProtocolAnalysis, ProtocolAnalysisOutput } from '@opentrons/shared-data';
3
+ import type { CompletedProtocolAnalysis, LabwareDefinition2, ProtocolAnalysisOutput } from '@opentrons/shared-data';
4
4
  export * from './utils/getStandardDeckViewLayerBlockList';
5
5
  interface ProtocolDeckProps {
6
6
  protocolAnalysis: CompletedProtocolAnalysis | ProtocolAnalysisOutput | null;
7
7
  /** defaults to false, when set labware nicknames will appear on top level labware. If no nickname specified in protocol, falls back to labware definition display name */
8
8
  showLabwareInfo?: boolean;
9
+ /** optional labware click handler, highlights labware */
10
+ handleLabwareClick?: (labwareDef: LabwareDefinition2, labwareId: string) => void;
9
11
  /** extra props to pass through to BaseDeck component */
10
12
  baseDeckProps?: Partial<React.ComponentProps<typeof BaseDeck>>;
11
13
  }
@@ -1,2 +1,3 @@
1
1
  export * from './getLabwareInSlots';
2
2
  export * from './getStandardDeckViewLayerBlockList';
3
+ export * from './getLabwareInfoByLiquidId';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import type * as React from 'react';
2
2
  import { Svg } from '../../primitives';
3
3
  interface RobotCoordinateSpaceProps extends React.ComponentProps<typeof Svg> {
4
4
  animated?: boolean;
@@ -0,0 +1,16 @@
1
+ import { Svg } from '../../primitives';
2
+ import type { ReactNode } from 'react';
3
+ import type { DeckDefinition, DeckSlot } from '@opentrons/shared-data';
4
+ export interface RobotCoordinateSpaceWithRefRenderProps {
5
+ deckSlotsById: {
6
+ [slotId: string]: DeckSlot;
7
+ };
8
+ }
9
+ interface RobotCoordinateSpaceWithRefProps extends React.ComponentProps<typeof Svg> {
10
+ viewBox?: string | null;
11
+ deckDef?: DeckDefinition;
12
+ zoomed?: boolean;
13
+ children?: (props: RobotCoordinateSpaceWithRefRenderProps) => ReactNode;
14
+ }
15
+ export declare function RobotCoordinateSpaceWithRef(props: RobotCoordinateSpaceWithRefProps): JSX.Element | null;
16
+ export {};
@@ -1,2 +1,2 @@
1
- export * from './RobotCoordinateSpaceWithDOMCoords';
1
+ export * from './RobotCoordinateSpaceWithRef';
2
2
  export * from './RobotCoordinateSpace';
@@ -1,3 +1,3 @@
1
- import { AffineTransformMatrix } from '@opentrons/shared-data';
1
+ import type { AffineTransformMatrix } from '@opentrons/shared-data';
2
2
  export declare const IDENTITY_AFFINE_TRANSFORM: AffineTransformMatrix;
3
3
  export declare function multiplyMatrices(a: number[][], b: number[][]): number[][];
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Constants
3
+ */
4
+ export declare const borderRadius2 = "2px";
5
+ export declare const borderRadius4 = "4px";
6
+ export declare const borderRadius8 = "8px";
7
+ export declare const borderRadius12 = "12px";
8
+ export declare const borderRadius16 = "16px";
9
+ export declare const borderRadius40 = "40px";
10
+ export declare const borderRadiusFull = "200px";
11
+ /**
12
+ * Styles
13
+ */
14
+ export declare const styleSolid = "solid";
15
+ /**
16
+ * Special-case borders
17
+ */
18
+ export declare const activeLineBorder = "1px solid #006CFA";
19
+ export declare const lineBorder = "1px solid #DEDEDE";
20
+ /**
21
+ * Shadows
22
+ */
23
+ export declare const smallDropShadow = "0px 3px 6px rgba(0, 0, 0, 0.23)";
24
+ export declare const tinyDropShadow = "0px 1px 3px 0px rgba(0, 0, 0, .33)";
25
+ export declare const shadowBig = "0px 3px 6px rgba(0,0,0,0.23)";
26
+ export declare const shadowSmall = "0px 0px 40px rgba(0,0,0,0.4)";
@@ -65,6 +65,17 @@ export declare const black80 = "#24313F";
65
65
  export declare const black70 = "#39495B";
66
66
  export declare const white = "#FFFFFF";
67
67
  export declare const blue50 = "#006CFA";
68
+ /**
69
+ * Semi-opaques
70
+ * */
71
+ export declare const transparentWhite80 = "#FFFFFFCC";
72
+ export declare const transparentWhite50 = "#FFFFFF80";
73
+ export declare const transparentBlack80 = "#16212D80";
74
+ /**
75
+ * flex
76
+ */
77
+ export declare const flex55 = "#0297CC";
78
+ export declare const flex50 = "#00BDFF";
68
79
  /**
69
80
  * extras
70
81
  */
@@ -1 +1,4 @@
1
1
  export * as COLORS from './colors';
2
+ export * as BORDERS from './borders';
3
+ export * as PRODUCT from './product';
4
+ export * as STYLE from './style';
@@ -0,0 +1 @@
1
+ export * as TYPOGRAPHY from './typography';
@@ -0,0 +1,79 @@
1
+ /**
2
+ * Note: these values are only currently correct for desktop and should not be used on ODD.
3
+ */
4
+ export declare const fontFamily = "Public Sans";
5
+ export declare const fontWeightRegular = "400";
6
+ export declare const fontWeightSemiBold = "600";
7
+ export declare const fontWeightBold = "700";
8
+ export declare const fontSizeDisplayBold = "2.4375rem";
9
+ export declare const lineHeightDisplayBold = "3rem";
10
+ export declare const fontFamilyDisplayBold = "Public Sans";
11
+ export declare const fontWeightDisplayBold = "700";
12
+ export declare const fontStyleDisplayBold = "700 2.4375rem/3rem Public Sans";
13
+ export declare const fontFamilyHeadingLargeRegular = "Public Sans";
14
+ export declare const fontSizeHeadingLargeRegular = "1.625rem";
15
+ export declare const lineHeightHeadingLargeRegular = "2rem";
16
+ export declare const fontWeightHeadingLargeRegular = "400";
17
+ export declare const fontStyleHeadingLargeRegular = "400 1.625rem/2rem Public Sans";
18
+ export declare const fontFamilyHeadingLargeBold = "Public Sans";
19
+ export declare const fontSizeHeadingLargeBold = "1.625rem";
20
+ export declare const lineHeightHeadingLargeBold = "2rem";
21
+ export declare const fontWeightHeadingLargeBold = "700";
22
+ export declare const fontStyleHeadingLargeBold = "700 1.625rem/2rem Public Sans";
23
+ export declare const fontSizeHeadingMediumSemiBold = "1.4375rem";
24
+ export declare const lineHeightHeadingMediumSemiBold = "1.75rem";
25
+ export declare const fontFamilyHeadingMediumSemiBold = "Public Sans";
26
+ export declare const fontWeightHeadingMediumSemiBold = "600";
27
+ export declare const fontStyleHeadingMediumSemiBold = "600 1.4375rem/1.75rem Public Sans";
28
+ export declare const fontStyleHeadingMediumBold = "700 1.4375rem/1.75rem Public Sans";
29
+ export declare const fontSizeHeadingSmallRegular = "1.125rem";
30
+ export declare const lineHeightHeadingSmallRegular = "1.5rem";
31
+ export declare const fontFamilyHeadingSmallRegular = "Public Sans";
32
+ export declare const fontWeightHeadingSmallRegular = "400";
33
+ export declare const fontStyleHeadingSmallRegular = "400 1.125rem/1.5rem Public Sans";
34
+ export declare const fontSizeHeadingSmallBold = "1.125rem";
35
+ export declare const lineHeightHeadingSmallBold = "1.5rem";
36
+ export declare const fontFamilyHeadingSmallBold = "Public Sans";
37
+ export declare const fontWeightHeadingSmallBold = "700";
38
+ export declare const fontStyleHeadingSmallBold = "700 1.125rem/1.5rem Public Sans";
39
+ export declare const fontStyleHeadingSmallSemiBold = "600 1.125rem/1.5rem Public Sans";
40
+ export declare const fontSizeBodyLargeSemiBold = "1rem";
41
+ export declare const lineHeightBodyLargeSemiBold = "1.5rem";
42
+ export declare const fontFamilyBodyLargeSemiBold = "Public Sans";
43
+ export declare const fontWeightBodyLargeSemiBold = "600";
44
+ export declare const fontStyleBodyLargeSemiBold = "600 1rem/1.5rem Public Sans";
45
+ export declare const fontSizeBodyLargeRegular = "1rem";
46
+ export declare const lineHeightBodyLargeRegular = "1.5rem";
47
+ export declare const fontFamilyBodyLargeRegular = "Public Sans";
48
+ export declare const fontWeightBodyLargeRegular = "400";
49
+ export declare const fontStyleBodyLargeRegular = "400 1rem/1.5rem Public Sans";
50
+ export declare const fontSizeBodyDefaultSemiBold = "0.875rem";
51
+ export declare const lineHeightBodyDefaultSemiBold = "1.25rem";
52
+ export declare const fontFamilyBodyDefaultSemiBold = "Public Sans";
53
+ export declare const fontWeightBodyDefaultSemiBold = "600";
54
+ export declare const fontStyleBodyDefaultSemiBold = "600 0.875rem/1.25rem Public Sans";
55
+ export declare const fontSizeBodyDefaultRegular = "0.875rem";
56
+ export declare const lineHeightBodyDefaultRegular = "1.25rem";
57
+ export declare const fontFamilyBodyDefaultRegular = "Public Sans";
58
+ export declare const fontWeightBodyDefaultRegular = "400";
59
+ export declare const fontStyleBodyDefaultRegular = "400 0.875rem/1.25rem Public Sans";
60
+ export declare const fontSizeCaptionBold = "0.8125rem";
61
+ export declare const lineHeightCaptionBold = "1rem";
62
+ export declare const fontFamilyCaptionBold = "Public Sans";
63
+ export declare const fontWeightCaptionBold = "700";
64
+ export declare const fontStyleCaptionBold = "700 0.8125rem/1rem Public Sans";
65
+ export declare const fontSizeCaptionSemiBold = "0.8125rem";
66
+ export declare const lineHeightCaptionSemiBold = "1rem";
67
+ export declare const fontFamilyCaptionSemiBold = "Public Sans";
68
+ export declare const fontWeightCaptionSemiBold = "600";
69
+ export declare const fontStyleCaptionSemiBold = "600 0.8125rem/1rem Public Sans";
70
+ export declare const fontSizeCaptionRegular = "0.8125rem";
71
+ export declare const lineHeightCaptionRegular = "1rem";
72
+ export declare const fontFamilyCaptionRegular = "Public Sans";
73
+ export declare const fontWeightCaptionRegular = "400";
74
+ export declare const fontStyleCaptionRegular = "400 0.8125rem/1rem Public Sans";
75
+ export declare const fontSizeCodeRegular = "0.8125rem";
76
+ export declare const lineHeightCodeRegular = "1.25rem";
77
+ export declare const fontFamilyCodeRegular = "Reddit Mono";
78
+ export declare const fontWeightCodeRegular = "400";
79
+ export declare const fontStyleCodeRegular = "400 0.8125rem/1.25rem Reddit Mono";
@@ -0,0 +1 @@
1
+ export declare const floatDropShadow = "box-shadow: 0px 0px 6px 6px rgba(22, 33, 45, 0.25);";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};