@opentrons/components 0.1.6-alpha.6 → 0.1.6-alpha.8
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/Makefile +4 -0
- package/lib/__tests__/utils.test.d.ts +1 -0
- package/lib/alerts/AlertItem.d.ts +21 -0
- package/lib/alerts/index.d.ts +1 -0
- package/lib/atoms/Checkbox/__tests__/Checkbox.test.d.ts +1 -0
- package/lib/atoms/Checkbox/index.d.ts +24 -0
- package/lib/atoms/CheckboxField/__tests__/CheckboxField.test.d.ts +1 -0
- package/lib/atoms/CheckboxField/index.d.ts +20 -0
- package/lib/atoms/Chip/__tests__/Chip.test.d.ts +1 -0
- package/lib/atoms/Chip/index.d.ts +20 -0
- package/lib/atoms/Divider/index.d.ts +5 -0
- package/lib/atoms/InputField/__tests__/InputField.test.d.ts +1 -0
- package/lib/atoms/InputField/index.d.ts +68 -0
- package/lib/atoms/ListButton/ListButtonChildren/ListButtonAccordion.d.ts +10 -0
- package/lib/atoms/ListButton/ListButtonChildren/ListButtonAccordionContainer.d.ts +7 -0
- package/lib/atoms/ListButton/ListButtonChildren/ListButtonRadioButton.d.ts +14 -0
- package/lib/atoms/ListButton/ListButtonChildren/index.d.ts +3 -0
- package/lib/atoms/ListButton/__tests__/ListButton.test.d.ts +1 -0
- package/lib/atoms/ListButton/__tests__/ListButtonAccordion.test.d.ts +1 -0
- package/lib/atoms/ListButton/__tests__/ListButtonRadioButton.test.d.ts +1 -0
- package/lib/atoms/ListButton/index.d.ts +11 -0
- package/lib/atoms/ListItem/ListItemChildren/ListItemCustomize.d.ts +15 -0
- package/lib/atoms/ListItem/ListItemChildren/ListItemDescriptor.d.ts +7 -0
- package/lib/atoms/ListItem/ListItemChildren/index.d.ts +2 -0
- package/lib/atoms/ListItem/__tests__/ListItem.test.d.ts +1 -0
- package/lib/atoms/ListItem/index.d.ts +14 -0
- package/lib/atoms/MenuList/MenuItem.d.ts +7 -0
- package/lib/atoms/MenuList/OverflowBtn.d.ts +7 -0
- package/lib/atoms/MenuList/__tests__/MenuItem.test.d.ts +1 -0
- package/lib/atoms/MenuList/__tests__/MenuList.test.d.ts +1 -0
- package/lib/atoms/MenuList/__tests__/OverflowBtn.test.d.ts +1 -0
- package/lib/atoms/MenuList/index.d.ts +8 -0
- package/lib/atoms/Snackbar/__tests__/Snackbar.test.d.ts +1 -0
- package/lib/atoms/Snackbar/index.d.ts +7 -0
- package/lib/atoms/StepMeter/index.d.ts +7 -0
- package/lib/atoms/StyledText/LegacyStyledText.d.ts +6 -0
- package/lib/atoms/StyledText/StyledText.d.ts +154 -0
- package/lib/atoms/StyledText/index.d.ts +2 -0
- package/lib/atoms/Tag/__tests__/Tag.test.d.ts +1 -0
- package/lib/atoms/Tag/index.d.ts +13 -0
- package/lib/atoms/Toast/__tests__/ODDToast.test.d.ts +1 -0
- package/lib/atoms/Toast/__tests__/Toast.test.d.ts +1 -0
- package/lib/atoms/Toast/index.d.ts +25 -0
- package/lib/atoms/ToggleGroup/__tests__/ToggleGroup.test.d.ts +1 -0
- package/lib/atoms/ToggleGroup/index.d.ts +9 -0
- package/lib/atoms/Tooltip/__tests__/Tooltip.test.d.ts +1 -0
- package/lib/atoms/Tooltip/index.d.ts +11 -0
- package/lib/atoms/buttons/AlertPrimaryButton.d.ts +1 -0
- package/lib/atoms/buttons/AltPrimaryButton.d.ts +1 -0
- package/lib/atoms/buttons/EmptySelectorButton.d.ts +10 -0
- package/lib/atoms/buttons/LargeButton.d.ts +17 -0
- package/lib/atoms/buttons/PrimaryButton.d.ts +1 -0
- package/lib/atoms/buttons/RadioButton.d.ts +21 -0
- package/lib/atoms/buttons/SecondaryButton.d.ts +7 -0
- package/lib/atoms/buttons/__tests__/AlertPrimaryButton.test.d.ts +1 -0
- package/lib/atoms/buttons/__tests__/AltPrimaryButton.test.d.ts +1 -0
- package/lib/atoms/buttons/__tests__/EmptySelectorButton.test.d.ts +1 -0
- package/lib/atoms/buttons/__tests__/LargeButton.test.d.ts +1 -0
- package/lib/atoms/buttons/__tests__/PrimaryButton.test.d.ts +1 -0
- package/lib/atoms/buttons/__tests__/RadioButton.test.d.ts +1 -0
- package/lib/atoms/buttons/__tests__/SecondaryButton.test.d.ts +1 -0
- package/lib/atoms/buttons/index.d.ts +6 -0
- package/lib/atoms/index.d.ts +20 -0
- package/lib/barrel.d.ts +3 -0
- package/lib/buttons/Button.d.ts +50 -0
- package/lib/buttons/DeprecatedPrimaryButton.d.ts +8 -0
- package/lib/buttons/FlatButton.d.ts +5 -0
- package/lib/buttons/IconButton.d.ts +14 -0
- package/lib/buttons/OutlineButton.d.ts +8 -0
- package/lib/buttons/index.d.ts +5 -0
- package/lib/controls/ControlInfo.d.ts +6 -0
- package/lib/controls/LabeledButton.d.ts +8 -0
- package/lib/controls/LabeledCheckbox.d.ts +10 -0
- package/lib/controls/LabeledControl.d.ts +7 -0
- package/lib/controls/LabeledRadioGroup.d.ts +8 -0
- package/lib/controls/LabeledSelect.d.ts +9 -0
- package/lib/controls/LabeledToggle.d.ts +11 -0
- package/lib/controls/StackedLabeledControl.d.ts +7 -0
- package/lib/controls/ToggleButton.d.ts +5 -0
- package/lib/controls/index.d.ts +6 -0
- package/lib/forms/DeprecatedCheckboxField.d.ts +33 -0
- package/lib/forms/DropdownField.d.ts +38 -0
- package/lib/forms/FormGroup.d.ts +19 -0
- package/lib/forms/LegacyInputField.d.ts +51 -0
- package/lib/forms/RadioGroup.d.ts +29 -0
- package/lib/forms/Select.d.ts +26 -0
- package/lib/forms/SelectField.d.ts +33 -0
- package/lib/forms/ToggleField.d.ts +22 -0
- package/lib/forms/__tests__/DeprecatedCheckboxField.test.d.ts +1 -0
- package/lib/forms/__tests__/DropdownField.test.d.ts +1 -0
- package/lib/forms/__tests__/InputField.test.d.ts +1 -0
- package/lib/forms/__tests__/Select.test.d.ts +1 -0
- package/lib/forms/__tests__/SelectField.test.d.ts +1 -0
- package/lib/forms/__tests__/ToggleField.test.d.ts +1 -0
- package/lib/forms/index.d.ts +8 -0
- package/lib/hardware-sim/BaseDeck/BaseDeck.d.ts +49 -0
- package/lib/hardware-sim/BaseDeck/SingleSlotFixture.d.ts +12 -0
- package/lib/hardware-sim/BaseDeck/SlotBase.d.ts +2 -0
- package/lib/hardware-sim/BaseDeck/SlotClip.d.ts +2 -0
- package/lib/hardware-sim/BaseDeck/StagingAreaFixture.d.ts +13 -0
- package/lib/hardware-sim/BaseDeck/WasteChuteFixture.d.ts +20 -0
- package/lib/hardware-sim/BaseDeck/WasteChuteStagingAreaFixture.d.ts +14 -0
- package/lib/hardware-sim/BaseDeck/__fixtures__/index.d.ts +4 -0
- package/lib/hardware-sim/BaseDeck/index.d.ts +5 -0
- package/lib/hardware-sim/Deck/DeckFromLayers.d.ts +10 -0
- package/lib/hardware-sim/Deck/FlexTrash.d.ts +14 -0
- package/lib/hardware-sim/Deck/MoveLabwareOnDeck.d.ts +16 -0
- package/lib/hardware-sim/Deck/OT2Layers.d.ts +10 -0
- package/lib/hardware-sim/Deck/RobotCoordsForeignDiv.d.ts +14 -0
- package/lib/hardware-sim/Deck/RobotCoordsForeignObject.d.ts +12 -0
- package/lib/hardware-sim/Deck/RobotCoordsText.d.ts +8 -0
- package/lib/hardware-sim/Deck/RobotWorkSpace.d.ts +21 -0
- package/lib/hardware-sim/Deck/SlotLabels.d.ts +12 -0
- package/lib/hardware-sim/Deck/__mocks__/getDeckDefinitions.d.ts +1 -0
- package/lib/hardware-sim/Deck/constants.d.ts +1 -0
- package/lib/hardware-sim/Deck/index.d.ts +8 -0
- package/lib/hardware-sim/DeckConfigurator/AbsorbanceReaderFixture.d.ts +10 -0
- package/lib/hardware-sim/DeckConfigurator/EmptyConfigFixture.d.ts +8 -0
- package/lib/hardware-sim/DeckConfigurator/HeaterShakerFixture.d.ts +10 -0
- package/lib/hardware-sim/DeckConfigurator/MagneticBlockFixture.d.ts +11 -0
- package/lib/hardware-sim/DeckConfigurator/StagingAreaConfigFixture.d.ts +10 -0
- package/lib/hardware-sim/DeckConfigurator/StaticFixture.d.ts +12 -0
- package/lib/hardware-sim/DeckConfigurator/TemperatureModuleFixture.d.ts +10 -0
- package/lib/hardware-sim/DeckConfigurator/ThermocyclerFixture.d.ts +10 -0
- package/lib/hardware-sim/DeckConfigurator/TrashBinConfigFixture.d.ts +10 -0
- package/lib/hardware-sim/DeckConfigurator/WasteChuteConfigFixture.d.ts +11 -0
- package/lib/hardware-sim/DeckConfigurator/constants.d.ts +20 -0
- package/lib/hardware-sim/DeckConfigurator/index.d.ts +20 -0
- package/lib/hardware-sim/DeckSlotLocation/index.d.ts +15 -0
- package/lib/hardware-sim/Labware/Labware.d.ts +39 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96DeepWellAdapter.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96FlatBottomAdapter.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAluminumFlatBottomPlate.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAutoclavableDeckRiser.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsFlex96TiprackAdapter.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsToughPCRAutoSealingLid.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapter.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/index.d.ts +27 -0
- package/lib/hardware-sim/Labware/LabwareRender.d.ts +46 -0
- package/lib/hardware-sim/Labware/LabwareStackRender.d.ts +20 -0
- package/lib/hardware-sim/Labware/__tests__/Labware.test.d.ts +1 -0
- package/lib/hardware-sim/Labware/__tests__/LabwareRender.test.d.ts +1 -0
- package/lib/hardware-sim/Labware/index.d.ts +5 -0
- package/lib/hardware-sim/Labware/labwareInternals/FilledWells.d.ts +11 -0
- package/lib/hardware-sim/Labware/labwareInternals/LabwareOutline.d.ts +21 -0
- package/lib/hardware-sim/Labware/labwareInternals/LabwareWellLabels.d.ts +15 -0
- package/lib/hardware-sim/Labware/labwareInternals/StaticLabware.d.ts +25 -0
- package/lib/hardware-sim/Labware/labwareInternals/StrokedWells.d.ts +9 -0
- package/lib/hardware-sim/Labware/labwareInternals/StyledWells.d.ts +19 -0
- package/lib/hardware-sim/Labware/labwareInternals/Well.d.ts +20 -0
- package/lib/hardware-sim/Labware/labwareInternals/WellLabels.d.ts +12 -0
- package/lib/hardware-sim/Labware/labwareInternals/__tests__/LabwareWellLabels.test.d.ts +1 -0
- package/lib/hardware-sim/Labware/labwareInternals/__tests__/StrokedWells.test.d.ts +1 -0
- package/lib/hardware-sim/Labware/labwareInternals/__tests__/WellLabels.test.d.ts +1 -0
- package/lib/hardware-sim/Labware/labwareInternals/index.d.ts +8 -0
- package/lib/hardware-sim/Labware/labwareInternals/types.d.ts +12 -0
- package/lib/hardware-sim/Module/HeaterShaker.d.ts +4 -0
- package/lib/hardware-sim/Module/MagneticBlock.d.ts +1 -0
- package/lib/hardware-sim/Module/MagneticModule.d.ts +1 -0
- package/lib/hardware-sim/Module/ModuleTag.d.ts +9 -0
- package/lib/hardware-sim/Module/PlateReader.d.ts +1 -0
- package/lib/hardware-sim/Module/Temperature.d.ts +4 -0
- package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN1.d.ts +6 -0
- package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN2.d.ts +6 -0
- package/lib/hardware-sim/Module/Thermocycler/index.d.ts +7 -0
- package/lib/hardware-sim/Module/index.d.ts +18 -0
- package/lib/hardware-sim/Pipette/EightEmanatingNozzles.d.ts +4 -0
- package/lib/hardware-sim/Pipette/EmanatingNozzle.d.ts +4 -0
- package/lib/hardware-sim/Pipette/PipetteRender.d.ts +8 -0
- package/lib/hardware-sim/Pipette/__tests__/EightEmanatingNozzles.test.d.ts +1 -0
- package/lib/hardware-sim/Pipette/__tests__/EmanatingNozzle.test.d.ts +1 -0
- package/lib/hardware-sim/Pipette/__tests__/PipetteRender.test.d.ts +1 -0
- package/lib/hardware-sim/Pipette/constants.d.ts +7 -0
- package/lib/hardware-sim/Pipette/index.d.ts +1 -0
- package/lib/hardware-sim/ProtocolDeck/LabwareInfo.d.ts +6 -0
- package/lib/hardware-sim/ProtocolDeck/index.d.ts +14 -0
- package/lib/hardware-sim/ProtocolDeck/types.d.ts +8 -0
- package/lib/hardware-sim/ProtocolDeck/utils/__tests__/getLabwareInforByLiquidId.test.d.ts +1 -0
- package/lib/hardware-sim/ProtocolDeck/utils/getInitiallyLoadedLabwareByAdapter.d.ts +5 -0
- package/lib/hardware-sim/ProtocolDeck/utils/getLabwareInSlots.d.ts +12 -0
- package/lib/hardware-sim/ProtocolDeck/utils/getLabwareInfoByLiquidId.d.ts +3 -0
- package/lib/hardware-sim/ProtocolDeck/utils/getModulesInSlots.d.ts +10 -0
- package/lib/hardware-sim/ProtocolDeck/utils/getStandardDeckViewLayerBlockList.d.ts +2 -0
- package/lib/hardware-sim/ProtocolDeck/utils/getWellFillFromLabwareId.d.ts +4 -0
- package/lib/hardware-sim/ProtocolDeck/utils/index.d.ts +3 -0
- package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpace.d.ts +7 -0
- package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpaceWithRef.d.ts +16 -0
- package/lib/hardware-sim/RobotCoordinateSpace/index.d.ts +2 -0
- package/lib/hardware-sim/index.d.ts +11 -0
- package/lib/hardware-sim/utils.d.ts +3 -0
- package/lib/helix-design-system/borders.d.ts +26 -0
- package/lib/helix-design-system/colors.d.ts +86 -0
- package/lib/helix-design-system/index.d.ts +4 -0
- package/lib/helix-design-system/product/index.d.ts +1 -0
- package/lib/helix-design-system/product/typography.d.ts +79 -0
- package/lib/helix-design-system/style.d.ts +1 -0
- package/lib/hooks/__tests__/useConditionalConfirm.test.d.ts +1 -0
- package/lib/hooks/__tests__/useDrag.test.d.ts +1 -0
- package/lib/hooks/__tests__/useIdle.test.d.ts +1 -0
- package/lib/hooks/__tests__/useInterval.test.d.ts +1 -0
- package/lib/hooks/__tests__/useLongPress.test.d.ts +1 -0
- package/lib/hooks/__tests__/useMountEffect.test.d.ts +1 -0
- package/lib/hooks/__tests__/usePrevious.test.d.ts +1 -0
- package/lib/hooks/__tests__/useScrolling.test.d.ts +1 -0
- package/lib/hooks/__tests__/useSwipe.test.d.ts +1 -0
- package/lib/hooks/__tests__/useTimeout.test.d.ts +1 -0
- package/lib/hooks/__tests__/useToggle.test.d.ts +1 -0
- package/lib/hooks/index.d.ts +13 -0
- package/lib/hooks/useConditionalConfirm.d.ts +41 -0
- package/lib/hooks/useDrag.d.ts +22 -0
- package/lib/hooks/useIdle.d.ts +11 -0
- package/lib/hooks/useInterval.d.ts +11 -0
- package/lib/hooks/useLongPress.d.ts +19 -0
- package/lib/hooks/useMenuHandleClickOutside.d.ts +9 -0
- package/lib/hooks/useMountEffect.d.ts +8 -0
- package/lib/hooks/usePrevious.d.ts +9 -0
- package/lib/hooks/useScrolling.d.ts +1 -0
- package/lib/hooks/useSelectDeckLocation/index.d.ts +18 -0
- package/lib/hooks/useSwipe.d.ts +12 -0
- package/lib/hooks/useTimeout.d.ts +9 -0
- package/lib/hooks/useToggle.d.ts +22 -0
- package/lib/icons/Icon.d.ts +34 -0
- package/lib/icons/ModuleIcon.d.ts +11 -0
- package/lib/icons/NotificationIcon.d.ts +12 -0
- package/lib/icons/icon-data.d.ts +4 -0
- package/lib/icons/index.d.ts +4 -0
- package/lib/images/index.d.ts +1 -0
- package/lib/images/labware/index.d.ts +1 -0
- package/lib/images/labware/measurement-guide/index.d.ts +13 -0
- package/lib/index.d.ts +26 -0
- package/lib/{index.mjs → index.js} +8783 -6217
- package/lib/instrument/InstrumentDiagram.d.ts +11 -0
- package/lib/instrument/InstrumentGroup.d.ts +11 -0
- package/lib/instrument/InstrumentInfo.d.ts +18 -0
- package/lib/instrument/PipetteSelect.d.ts +20 -0
- package/lib/instrument/__tests__/InstrumentInfo.test.d.ts +1 -0
- package/lib/instrument/__tests__/PipetteSelect.test.d.ts +1 -0
- package/lib/instrument/index.d.ts +4 -0
- package/lib/interaction-enhancers/ClickOutside.d.ts +18 -0
- package/lib/interaction-enhancers/HandleKeypress.d.ts +27 -0
- package/lib/interaction-enhancers/__tests__/useHover.test.d.ts +1 -0
- package/lib/interaction-enhancers/index.d.ts +4 -0
- package/lib/interaction-enhancers/useHover.d.ts +33 -0
- package/lib/interaction-enhancers/useOnClickOutside.d.ts +5 -0
- package/lib/legacy-hardware-sim/LabwareNameOverlay.d.ts +7 -0
- package/lib/legacy-hardware-sim/ModuleItem.d.ts +17 -0
- package/lib/legacy-hardware-sim/index.d.ts +2 -0
- package/lib/lists/SidePanelGroup.d.ts +18 -0
- package/lib/lists/TitledList.d.ts +44 -0
- package/lib/lists/index.d.ts +2 -0
- package/lib/modals/AlertModal.d.ts +28 -0
- package/lib/modals/ContinueModal.d.ts +10 -0
- package/lib/modals/LegacyModal.d.ts +24 -0
- package/lib/modals/Modal.d.ts +24 -0
- package/lib/modals/ModalHeader.d.ts +13 -0
- package/lib/modals/ModalShell.d.ts +34 -0
- package/lib/modals/Overlay.d.ts +9 -0
- package/lib/modals/SpinnerModal.d.ts +13 -0
- package/lib/modals/SpinnerModalPage.d.ts +12 -0
- package/lib/modals/__tests__/Modal.test.d.ts +1 -0
- package/lib/modals/__tests__/ModalHeader.test.d.ts +1 -0
- package/lib/modals/__tests__/ModalShell.test.d.ts +1 -0
- package/lib/modals/index.d.ts +9 -0
- package/lib/molecules/Banner/__tests__/Banner.test.d.ts +1 -0
- package/lib/molecules/Banner/index.d.ts +23 -0
- package/lib/molecules/DeckInfoLabel/__tests__/DeckInfoLabel.test.d.ts +1 -0
- package/lib/molecules/DeckInfoLabel/index.d.ts +19 -0
- package/lib/molecules/DeckLabel/__tests__/DeckLabel.test.d.ts +1 -0
- package/lib/molecules/DeckLabel/index.d.ts +10 -0
- package/lib/molecules/DropdownMenu/__tests__/DropdownMenu.test.d.ts +1 -0
- package/lib/molecules/DropdownMenu/index.d.ts +41 -0
- package/lib/molecules/InfoScreen/__tests__/InfoScreen.test.d.ts +1 -0
- package/lib/molecules/InfoScreen/index.d.ts +6 -0
- package/lib/molecules/LiquidIcon/__tests__/LiquidIcon.test.d.ts +1 -0
- package/lib/molecules/LiquidIcon/index.d.ts +9 -0
- package/lib/molecules/ParametersTable/__tests__/ParametersTable.test.d.ts +1 -0
- package/lib/molecules/ParametersTable/index.d.ts +10 -0
- package/lib/molecules/Tabs/__tests__/Tabs.test.d.ts +1 -0
- package/lib/molecules/Tabs/index.d.ts +10 -0
- package/lib/molecules/index.d.ts +8 -0
- package/lib/nav/SidePanel.d.ts +6 -0
- package/lib/nav/index.d.ts +1 -0
- package/lib/organisms/DeckLabelSet/__tests__/DeckLabelSet.test.d.ts +1 -0
- package/lib/organisms/DeckLabelSet/index.d.ts +11 -0
- package/lib/organisms/EndUserAgreementFooter/__tests__/EndUserAgreementFooter.test.d.ts +1 -0
- package/lib/organisms/EndUserAgreementFooter/index.d.ts +1 -0
- package/lib/organisms/Toolbox/__tests__/Toolbox.test.d.ts +1 -0
- package/lib/organisms/Toolbox/index.d.ts +20 -0
- package/lib/organisms/index.d.ts +3 -0
- package/lib/primitives/Box.d.ts +7 -0
- package/lib/primitives/Btn.d.ts +59 -0
- package/lib/primitives/Flex.d.ts +7 -0
- package/lib/primitives/ForeignObject.d.ts +23 -0
- package/lib/primitives/Link.d.ts +11 -0
- package/lib/primitives/Svg.d.ts +23 -0
- package/lib/primitives/Text.d.ts +7 -0
- package/lib/primitives/__tests__/Box.test.d.ts +1 -0
- package/lib/primitives/__tests__/Btn.test.d.ts +1 -0
- package/lib/primitives/__tests__/Flex.test.d.ts +1 -0
- package/lib/primitives/__tests__/Link.test.d.ts +1 -0
- package/lib/primitives/__tests__/Svg.test.d.ts +1 -0
- package/lib/primitives/__tests__/Text.test.d.ts +1 -0
- package/lib/primitives/__tests__/primitives.test.d.ts +1 -0
- package/lib/primitives/__tests__/style-props.test.d.ts +1 -0
- package/lib/primitives/index.d.ts +9 -0
- package/lib/primitives/style-props.d.ts +4 -0
- package/lib/primitives/types.d.ts +95 -0
- package/lib/robot-types.d.ts +1 -0
- package/lib/slotmap/OT2SlotMap.d.ts +9 -0
- package/lib/slotmap/__tests__/OT2SlotMap.test.d.ts +1 -0
- package/lib/slotmap/index.d.ts +1 -0
- package/lib/structure/Card.d.ts +18 -0
- package/lib/structure/LabeledValue.d.ts +12 -0
- package/lib/structure/Pill.d.ts +18 -0
- package/lib/structure/Splash.d.ts +8 -0
- package/lib/structure/TitleBar.d.ts +17 -0
- package/lib/structure/index.d.ts +5 -0
- package/lib/style.css +3786 -0
- package/lib/styles/borders.d.ts +8 -0
- package/lib/styles/colors.d.ts +37 -0
- package/lib/styles/cursor.d.ts +10 -0
- package/lib/styles/flexbox.d.ts +34 -0
- package/lib/styles/index.d.ts +8 -0
- package/lib/styles/layout.d.ts +24 -0
- package/lib/styles/position.d.ts +5 -0
- package/lib/styles/spacing.d.ts +9 -0
- package/lib/styles/typography.d.ts +36 -0
- package/lib/testing/utils/index.d.ts +2 -0
- package/lib/testing/utils/matchers.d.ts +3 -0
- package/lib/testing/utils/renderWithProviders.d.ts +9 -0
- package/lib/tooltips/DeprecatedTooltip.d.ts +37 -0
- package/lib/tooltips/HoverTooltip.d.ts +36 -0
- package/lib/tooltips/LegacyTooltip.d.ts +35 -0
- package/lib/tooltips/__tests__/Tooltip.test.d.ts +1 -0
- package/lib/tooltips/__tests__/useHoverTooltip.test.d.ts +1 -0
- package/lib/tooltips/__tests__/usePopper.test.d.ts +1 -0
- package/lib/tooltips/__tests__/useTooltip.test.d.ts +1 -0
- package/lib/tooltips/constants.d.ts +17 -0
- package/lib/tooltips/index.d.ts +8 -0
- package/lib/tooltips/styles.d.ts +12 -0
- package/lib/tooltips/types.d.ts +52 -0
- package/lib/tooltips/useHoverTooltip.d.ts +24 -0
- package/lib/tooltips/usePopper.d.ts +2 -0
- package/lib/tooltips/useTooltip.d.ts +31 -0
- package/lib/ui-style-constants/index.d.ts +4 -0
- package/lib/ui-style-constants/responsiveness.d.ts +3 -0
- package/lib/ui-style-constants/spacing.d.ts +18 -0
- package/lib/ui-style-constants/typography.d.ts +71 -0
- package/lib/ui-style-constants/viewport.d.ts +15 -0
- package/lib/utils.d.ts +15 -0
- package/package.json +5 -7
- package/tsconfig.json +5 -2
- package/{vite.config.ts → vite.config.mts} +19 -4
|
@@ -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 {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { LabwareDefinition2 } from '@opentrons/shared-data';
|
|
3
|
+
import type { WellMouseEvent, WellStroke } from './types';
|
|
4
|
+
import type { CSSProperties } from 'styled-components';
|
|
5
|
+
export interface StaticLabwareProps {
|
|
6
|
+
/** Labware definition to render */
|
|
7
|
+
definition: LabwareDefinition2;
|
|
8
|
+
/** Add thicker blurred blue border to labware, defaults to false */
|
|
9
|
+
highlight?: boolean;
|
|
10
|
+
/** adds a drop shadow to the highlight border */
|
|
11
|
+
highlightShadow?: boolean;
|
|
12
|
+
/** Optional callback to be executed when entire labware element is clicked */
|
|
13
|
+
onLabwareClick?: () => void;
|
|
14
|
+
/** Optional callback to be executed when mouse enters a well element */
|
|
15
|
+
onMouseEnterWell?: (e: WellMouseEvent) => unknown;
|
|
16
|
+
/** Optional callback to be executed when mouse leaves a well element */
|
|
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;
|
|
23
|
+
}
|
|
24
|
+
export declare function StaticLabwareComponent(props: StaticLabwareProps): JSX.Element;
|
|
25
|
+
export declare const StaticLabware: React.MemoExoticComponent<typeof StaticLabwareComponent>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { LabwareDefinition2 } from '@opentrons/shared-data';
|
|
3
|
+
import type { CSSProperties } from 'styled-components';
|
|
4
|
+
export interface StrokedWellProps {
|
|
5
|
+
definition: LabwareDefinition2;
|
|
6
|
+
strokeByWell: Record<string, CSSProperties['stroke']>;
|
|
7
|
+
}
|
|
8
|
+
export declare function StrokedWellsComponent(props: StrokedWellProps): JSX.Element;
|
|
9
|
+
export declare const StrokedWells: React.MemoExoticComponent<typeof StrokedWellsComponent>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { LabwareDefinition2 } from '@opentrons/shared-data';
|
|
3
|
+
import type { WellGroup } from './types';
|
|
4
|
+
type WellContents = 'tipPresent' | 'tipMissing' | 'defaultWell' | 'disabledWell' | 'highlightedWell' | 'selectedWell';
|
|
5
|
+
export interface StyledWellProps {
|
|
6
|
+
wellContents: WellContents;
|
|
7
|
+
definition: LabwareDefinition2;
|
|
8
|
+
wells: WellGroup;
|
|
9
|
+
}
|
|
10
|
+
export declare const STYLE_BY_WELL_CONTENTS: {
|
|
11
|
+
[wellContents in WellContents]: {
|
|
12
|
+
stroke: React.CSSProperties['stroke'];
|
|
13
|
+
fill: React.CSSProperties['fill'];
|
|
14
|
+
strokeWidth: React.CSSProperties['strokeWidth'];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
declare function StyledWellsComponent(props: StyledWellProps): JSX.Element;
|
|
18
|
+
export declare const StyledWells: React.MemoExoticComponent<typeof StyledWellsComponent>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { LabwareWell } from '@opentrons/shared-data';
|
|
3
|
+
import type { WellMouseEvent } from './types';
|
|
4
|
+
import type { StyleProps } from '../../../primitives';
|
|
5
|
+
export interface WellProps extends StyleProps {
|
|
6
|
+
/** Well Name (eg 'A1') */
|
|
7
|
+
wellName: string;
|
|
8
|
+
/** well object from labware definition */
|
|
9
|
+
well: LabwareWell;
|
|
10
|
+
stroke: React.CSSProperties['stroke'];
|
|
11
|
+
strokeWidth: React.CSSProperties['strokeWidth'];
|
|
12
|
+
fill: React.CSSProperties['fill'];
|
|
13
|
+
/** Optional callback, called with WellMouseEvent args onMouseOver */
|
|
14
|
+
onMouseEnterWell?: (e: WellMouseEvent) => unknown;
|
|
15
|
+
onMouseLeaveWell?: (e: WellMouseEvent) => unknown;
|
|
16
|
+
/** Provides well data attribute */
|
|
17
|
+
isInteractive?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare function WellComponent(props: WellProps): JSX.Element;
|
|
20
|
+
export declare const Well: React.MemoExoticComponent<typeof WellComponent>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { LabwareDefinition2 } from '@opentrons/shared-data';
|
|
3
|
+
import type { WellLabelOption } from '../LabwareRender';
|
|
4
|
+
import type { HighlightedWellLabels } from './types';
|
|
5
|
+
export interface WellLabelsProps {
|
|
6
|
+
definition: LabwareDefinition2;
|
|
7
|
+
wellLabelOption: WellLabelOption;
|
|
8
|
+
highlightedWellLabels?: HighlightedWellLabels;
|
|
9
|
+
wellLabelColor?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function WellLabelsComponent(props: WellLabelsProps): JSX.Element;
|
|
12
|
+
export declare const WellLabels: React.MemoExoticComponent<typeof WellLabelsComponent>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom/vitest';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom/vitest';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom/vitest';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
export interface WellMouseEvent {
|
|
3
|
+
wellName: string;
|
|
4
|
+
event: React.MouseEvent;
|
|
5
|
+
}
|
|
6
|
+
export type WellFill = Record<string, string>;
|
|
7
|
+
export type WellStroke = WellFill;
|
|
8
|
+
export type WellGroup = Record<string, null>;
|
|
9
|
+
export interface HighlightedWellLabels {
|
|
10
|
+
wells: string[];
|
|
11
|
+
color?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function MagneticBlock(): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function MagneticModule(): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function PlateReader(): JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ThermocyclerModuleModel } from '@opentrons/shared-data';
|
|
2
|
+
export interface ThermocyclerVizProps {
|
|
3
|
+
lidMotorState: 'open' | 'closed' | 'unknown';
|
|
4
|
+
blockTargetTemp?: number | null;
|
|
5
|
+
model: ThermocyclerModuleModel;
|
|
6
|
+
}
|
|
7
|
+
export declare function Thermocycler(props: ThermocyclerVizProps): JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { Thermocycler } from './Thermocycler';
|
|
3
|
+
import { HeaterShaker } from './HeaterShaker';
|
|
4
|
+
import { Temperature } from './Temperature';
|
|
5
|
+
import type { ModuleDefinition } from '@opentrons/shared-data';
|
|
6
|
+
export * from './Thermocycler';
|
|
7
|
+
interface Props {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
def: ModuleDefinition;
|
|
11
|
+
orientation?: 'left' | 'right';
|
|
12
|
+
innerProps?: React.ComponentProps<typeof Thermocycler> | React.ComponentProps<typeof HeaterShaker> | React.ComponentProps<typeof Temperature> | {};
|
|
13
|
+
statusInfo?: React.ReactNode;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
targetSlotId?: string;
|
|
16
|
+
targetDeckId?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const Module: (props: Props) => JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { LabwareDefinition2, PipetteName } from '@opentrons/shared-data';
|
|
2
|
+
interface PipetteRenderProps {
|
|
3
|
+
labwareDef: LabwareDefinition2;
|
|
4
|
+
pipetteName: PipetteName;
|
|
5
|
+
usingMetalProbe?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const PipetteRender: (props: PipetteRenderProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const SINGLE_CHANNEL_PIPETTE_WIDTH = 18.7;
|
|
2
|
+
export declare const SINGLE_CHANNEL_PIPETTE_HEIGHT = 30.5;
|
|
3
|
+
export declare const MULTI_CHANNEL_PIPETTE_WIDTH = 18.7;
|
|
4
|
+
export declare const MULTI_CHANNEL_PIPETTE_HEIGHT = 90.3;
|
|
5
|
+
export declare const NINETY_SIX_CHANNEL_PIPETTE_WIDTH = 117.7;
|
|
6
|
+
export declare const MULTI_CHANNEL_CENTER_Y_NOZZLE = 13.3;
|
|
7
|
+
export declare const MULTI_CHANNEL_Y_OFFSET = -2.5;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PipetteRender';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { BaseDeck } from '../BaseDeck';
|
|
3
|
+
import type { CompletedProtocolAnalysis, LabwareDefinition2, ProtocolAnalysisOutput } from '@opentrons/shared-data';
|
|
4
|
+
export * from './utils/getStandardDeckViewLayerBlockList';
|
|
5
|
+
interface ProtocolDeckProps {
|
|
6
|
+
protocolAnalysis: CompletedProtocolAnalysis | ProtocolAnalysisOutput | null;
|
|
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
|
+
showLabwareInfo?: boolean;
|
|
9
|
+
/** optional labware click handler, highlights labware */
|
|
10
|
+
handleLabwareClick?: (labwareDef: LabwareDefinition2, labwareId: string) => void;
|
|
11
|
+
/** extra props to pass through to BaseDeck component */
|
|
12
|
+
baseDeckProps?: Partial<React.ComponentProps<typeof BaseDeck>>;
|
|
13
|
+
}
|
|
14
|
+
export declare function ProtocolDeck(props: ProtocolDeckProps): JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { LoadLabwareRunTimeCommand, RunTimeCommand } from '@opentrons/shared-data';
|
|
2
|
+
export interface LoadedLabwareByAdapter {
|
|
3
|
+
[labwareId: string]: LoadLabwareRunTimeCommand;
|
|
4
|
+
}
|
|
5
|
+
export declare function getInitialLoadedLabwareByAdapter(commands: RunTimeCommand[]): LoadedLabwareByAdapter;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CompletedProtocolAnalysis, ProtocolAnalysisOutput, LabwareDefinition2 } from '@opentrons/shared-data';
|
|
2
|
+
interface LabwareInSlot {
|
|
3
|
+
labwareId: string;
|
|
4
|
+
labwareDef: LabwareDefinition2;
|
|
5
|
+
labwareNickName: string | null;
|
|
6
|
+
location: {
|
|
7
|
+
slotName: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare const getInitialAndMovedLabwareInSlots: (protocolAnalysis: CompletedProtocolAnalysis | ProtocolAnalysisOutput) => LabwareInSlot[];
|
|
11
|
+
export declare const getTopMostLabwareInSlots: (protocolAnalysis: CompletedProtocolAnalysis | ProtocolAnalysisOutput) => LabwareInSlot[];
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CompletedProtocolAnalysis, ProtocolAnalysisOutput, ModuleLocation, ModuleModel, LabwareDefinition2 } from '@opentrons/shared-data';
|
|
2
|
+
interface ModuleInSlot {
|
|
3
|
+
moduleModel: ModuleModel;
|
|
4
|
+
moduleLocation: ModuleLocation;
|
|
5
|
+
nestedLabwareId: string | null;
|
|
6
|
+
nestedLabwareDef: LabwareDefinition2 | null;
|
|
7
|
+
nestedLabwareNickName: string | null;
|
|
8
|
+
}
|
|
9
|
+
export declare const getModulesInSlots: (protocolAnalysis: ProtocolAnalysisOutput | CompletedProtocolAnalysis) => ModuleInSlot[];
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Liquid } from '@opentrons/shared-data';
|
|
2
|
+
import type { WellFill } from '../../Labware';
|
|
3
|
+
import type { LabwareByLiquidId } from '../types';
|
|
4
|
+
export declare function getWellFillFromLabwareId(labwareId: string, liquidsInLoadOrder: Liquid[], labwareByLiquidId: LabwareByLiquidId): WellFill;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { Svg } from '../../primitives';
|
|
3
|
+
interface RobotCoordinateSpaceProps extends React.ComponentProps<typeof Svg> {
|
|
4
|
+
animated?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function RobotCoordinateSpace(props: RobotCoordinateSpaceProps): JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -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 {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './BaseDeck';
|
|
2
|
+
export * from './BaseDeck/__fixtures__';
|
|
3
|
+
export * from './ProtocolDeck';
|
|
4
|
+
export * from './ProtocolDeck/utils';
|
|
5
|
+
export * from './Deck';
|
|
6
|
+
export * from './DeckConfigurator';
|
|
7
|
+
export * from './DeckSlotLocation';
|
|
8
|
+
export * from './Labware';
|
|
9
|
+
export * from './Module';
|
|
10
|
+
export * from './Pipette';
|
|
11
|
+
export * from './RobotCoordinateSpace';
|
|
@@ -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)";
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* green
|
|
3
|
+
*/
|
|
4
|
+
export declare const green60 = "#03683E";
|
|
5
|
+
export declare const green50: string;
|
|
6
|
+
export declare const green40: string;
|
|
7
|
+
export declare const green35: string;
|
|
8
|
+
export declare const green30 = "#C4F6E0";
|
|
9
|
+
export declare const green20 = "#E8F7ED";
|
|
10
|
+
/**
|
|
11
|
+
* red
|
|
12
|
+
*/
|
|
13
|
+
export declare const red60 = "#941313";
|
|
14
|
+
export declare const red55 = "#C71A1B";
|
|
15
|
+
export declare const red50 = "#DE1B1B";
|
|
16
|
+
export declare const red40 = "#F5B2B3";
|
|
17
|
+
export declare const red35 = "#F8C8C9";
|
|
18
|
+
export declare const red30 = "#FAD6D6";
|
|
19
|
+
export declare const red20 = "#FCE9E9";
|
|
20
|
+
/**
|
|
21
|
+
* yellow
|
|
22
|
+
*/
|
|
23
|
+
export declare const yellow60 = "#825512";
|
|
24
|
+
export declare const yellow50 = "#F09D20";
|
|
25
|
+
export declare const yellow40 = "#FCD48B";
|
|
26
|
+
export declare const yellow35 = "#FFE1A4";
|
|
27
|
+
export declare const yellow30 = "#FFE9BE";
|
|
28
|
+
export declare const yellow20 = "#FDF3E2";
|
|
29
|
+
/**
|
|
30
|
+
* purple
|
|
31
|
+
*/
|
|
32
|
+
export declare const purple60: string;
|
|
33
|
+
export declare const purple55: string;
|
|
34
|
+
export declare const purple50: string;
|
|
35
|
+
export declare const purple40: string;
|
|
36
|
+
export declare const purple35: string;
|
|
37
|
+
export declare const purple30: string;
|
|
38
|
+
export declare const purple20: string;
|
|
39
|
+
/**
|
|
40
|
+
* blue
|
|
41
|
+
*/
|
|
42
|
+
export declare const blue60 = "#004196";
|
|
43
|
+
export declare const blue55 = "#0056C8";
|
|
44
|
+
export declare const blue40 = "#A9CEFD";
|
|
45
|
+
export declare const blue35 = "#BFDCFD";
|
|
46
|
+
export declare const blue30 = "#D0E6FE";
|
|
47
|
+
export declare const blue20 = "#E1EFFF";
|
|
48
|
+
export declare const blue10 = "#F1F8FF";
|
|
49
|
+
/**
|
|
50
|
+
* grey
|
|
51
|
+
*/
|
|
52
|
+
export declare const grey60 = "#4A4C4E";
|
|
53
|
+
export declare const grey55 = "#626467";
|
|
54
|
+
export declare const grey50 = "#737578";
|
|
55
|
+
export declare const grey40 = "#B7B8B9";
|
|
56
|
+
export declare const grey35 = "#CBCCCC";
|
|
57
|
+
export declare const grey30 = "#DEDEDE";
|
|
58
|
+
export declare const grey20 = "#E9E9E9";
|
|
59
|
+
export declare const grey10 = "#F3F3F3";
|
|
60
|
+
/**
|
|
61
|
+
* core
|
|
62
|
+
*/
|
|
63
|
+
export declare const black90 = "#16212D";
|
|
64
|
+
export declare const black80 = "#24313F";
|
|
65
|
+
export declare const black70 = "#39495B";
|
|
66
|
+
export declare const white = "#FFFFFF";
|
|
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";
|
|
79
|
+
/**
|
|
80
|
+
* extras
|
|
81
|
+
*/
|
|
82
|
+
export declare const transparent = "transparent";
|
|
83
|
+
export declare const opacity20HexCode = "33";
|
|
84
|
+
export declare const opacity40HexCode = "66";
|
|
85
|
+
export declare const opacity60HexCode = "99";
|
|
86
|
+
export declare const opacity90HexCode = "E6";
|
|
@@ -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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|