@opentrons/components 0.1.6-alpha.5 → 0.1.6-alpha.7
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 +5 -1
- 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/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/StepMeter/index.d.ts +7 -0
- package/lib/atoms/StyledText/__tests__/StyledText.test.d.ts +1 -0
- package/lib/atoms/StyledText/index.d.ts +6 -0
- package/lib/atoms/buttons/AlertPrimaryButton.d.ts +1 -0
- package/lib/atoms/buttons/PrimaryButton.d.ts +1 -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__/PrimaryButton.test.d.ts +1 -0
- package/lib/atoms/buttons/__tests__/SecondaryButton.test.d.ts +1 -0
- package/lib/atoms/buttons/index.d.ts +3 -0
- package/lib/atoms/index.d.ts +6 -0
- package/lib/barrel.d.ts +3 -0
- package/lib/buttons/Button.d.ts +49 -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/InputField.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 +42 -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 +21 -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 +17 -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/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/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/OpentronsFlex96TiprackAdapter.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapter.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/index.d.ts +19 -0
- package/lib/hardware-sim/Labware/LabwareRender.d.ts +42 -0
- package/lib/hardware-sim/Labware/__tests__/LabwareRender.test.d.ts +1 -0
- package/lib/hardware-sim/Labware/index.d.ts +3 -0
- package/lib/hardware-sim/Labware/labwareInternals/FilledWells.d.ts +10 -0
- package/lib/hardware-sim/Labware/labwareInternals/LabwareOutline.d.ts +17 -0
- package/lib/hardware-sim/Labware/labwareInternals/StaticLabware.d.ts +17 -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 +18 -0
- package/lib/hardware-sim/Labware/labwareInternals/WellLabels.d.ts +12 -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 +7 -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/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 +12 -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 +2 -0
- package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpace.d.ts +7 -0
- package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpaceWithRef.d.ts +15 -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 +75 -0
- package/lib/helix-design-system/index.d.ts +2 -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 +12 -0
- package/lib/hooks/useConditionalConfirm.d.ts +40 -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/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 +19 -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 +586 -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 +166 -220
- 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/ListItem.d.ts +37 -0
- package/lib/lists/SidePanelGroup.d.ts +18 -0
- package/lib/lists/TitledList.d.ts +44 -0
- package/lib/lists/index.d.ts +3 -0
- package/lib/modals/AlertModal.d.ts +27 -0
- package/lib/modals/BaseModal.d.ts +26 -0
- package/lib/modals/ContinueModal.d.ts +9 -0
- package/lib/modals/Modal.d.ts +23 -0
- package/lib/modals/ModalPage.d.ts +16 -0
- package/lib/modals/ModalShell.d.ts +25 -0
- package/lib/modals/Overlay.d.ts +9 -0
- package/lib/modals/SpinnerModal.d.ts +12 -0
- package/lib/modals/SpinnerModalPage.d.ts +11 -0
- package/lib/modals/__tests__/BaseModal.test.d.ts +1 -0
- package/lib/modals/index.d.ts +9 -0
- package/lib/molecules/LocationIcon/__tests__/LocationIcon.test.d.ts +1 -0
- package/lib/molecules/LocationIcon/index.d.ts +15 -0
- package/lib/molecules/ParametersTable/InfoScreen.d.ts +6 -0
- package/lib/molecules/ParametersTable/__tests__/InfoScreen.test.d.ts +1 -0
- package/lib/molecules/ParametersTable/__tests__/ParametersTable.test.d.ts +1 -0
- package/lib/molecules/ParametersTable/index.d.ts +10 -0
- package/lib/molecules/RoundTab.d.ts +8 -0
- package/lib/molecules/index.d.ts +4 -0
- package/lib/nav/SidePanel.d.ts +6 -0
- package/lib/nav/index.d.ts +1 -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/PageTabs.d.ts +11 -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 +6 -0
- package/lib/styles/borders.d.ts +8 -0
- package/lib/styles/colors.d.ts +37 -0
- package/lib/styles/flexbox.d.ts +29 -0
- package/lib/styles/index.d.ts +7 -0
- package/lib/styles/layout.d.ts +23 -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/tabbedNav/NavTab.d.ts +25 -0
- package/lib/tabbedNav/OutsideLinkTab.d.ts +24 -0
- package/lib/tabbedNav/TabbedNavBar.d.ts +7 -0
- package/lib/tabbedNav/index.d.ts +3 -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 +10 -0
- package/lib/tooltips/DeprecatedTooltip.d.ts +37 -0
- package/lib/tooltips/HoverTooltip.d.ts +36 -0
- package/lib/tooltips/Tooltip.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 +2 -0
- package/lib/ui-style-constants/spacing.d.ts +18 -0
- package/lib/ui-style-constants/typography.d.ts +70 -0
- package/lib/ui-style-constants/viewport.d.ts +15 -0
- package/lib/utils.d.ts +15 -0
- package/package.json +5 -3
- package/vite.config.ts +2 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { MutableRefObject, CSSProperties } from 'react';
|
|
2
|
+
interface UseSwipeResult {
|
|
3
|
+
ref: MutableRefObject<null>;
|
|
4
|
+
style: CSSProperties;
|
|
5
|
+
isEnabled: boolean;
|
|
6
|
+
setSwipeType: (value: string) => void;
|
|
7
|
+
swipeType: string;
|
|
8
|
+
enable: () => void;
|
|
9
|
+
disable: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const useSwipe: () => UseSwipeResult;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* React hook to call a function after a delay; adapted from: useInterval
|
|
3
|
+
*
|
|
4
|
+
* @template T (type of the input value)
|
|
5
|
+
* @param {() => unknown} callback (function to call after timeout)
|
|
6
|
+
* @param {number | null} delay (timeout delay, or null to disable the timeout)
|
|
7
|
+
* @returns {void}
|
|
8
|
+
*/
|
|
9
|
+
export declare function useTimeout(callback: () => unknown, delay: number | null): void;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type UseToggleResult = [boolean, () => void];
|
|
2
|
+
/**
|
|
3
|
+
* React hook to toggle a boolean value
|
|
4
|
+
*
|
|
5
|
+
* @param {boolean} [intialValue=false] (initial toggle value)
|
|
6
|
+
* @returns {[boolean, () => void]} (value and setValue tuple)
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* import * as React from 'react'
|
|
10
|
+
* import { useToggle } from '@opentrons/components'
|
|
11
|
+
*
|
|
12
|
+
* export function ToggleButton() {
|
|
13
|
+
* const [enabled, toggleEnabled] = useToggle(true)
|
|
14
|
+
*
|
|
15
|
+
* return (
|
|
16
|
+
* <button onClick={toggleEnabled}>
|
|
17
|
+
* Setting is {enabled ? 'enabled' : 'disabled'}
|
|
18
|
+
* </button>
|
|
19
|
+
* )
|
|
20
|
+
* }
|
|
21
|
+
*/
|
|
22
|
+
export declare function useToggle(initialValue?: boolean): UseToggleResult;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ICON_DATA_BY_NAME } from './icon-data';
|
|
3
|
+
import type { SvgProps } from '../primitives';
|
|
4
|
+
export type IconName = keyof typeof ICON_DATA_BY_NAME;
|
|
5
|
+
export interface IconProps extends SvgProps {
|
|
6
|
+
/** name constant of the icon to display */
|
|
7
|
+
name: IconName;
|
|
8
|
+
/** classes to apply */
|
|
9
|
+
className?: string;
|
|
10
|
+
/** spin the icon with a CSS animation */
|
|
11
|
+
spin?: boolean;
|
|
12
|
+
/** x attribute as a number or string (for nesting inside another SVG) */
|
|
13
|
+
x?: number | string;
|
|
14
|
+
/** y attribute as a number or string (for nesting inside another SVG) */
|
|
15
|
+
y?: number | string;
|
|
16
|
+
/** width as a number or string (for nesting inside another SVG) */
|
|
17
|
+
svgHeight?: number | string;
|
|
18
|
+
/** height as a number or string (for nesting inside another SVG) */
|
|
19
|
+
svgWidth?: number | string;
|
|
20
|
+
/** inline style passed into the icon svg */
|
|
21
|
+
style?: Record<string, string | number>;
|
|
22
|
+
/** optional children */
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
id?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Inline SVG icon component
|
|
28
|
+
*
|
|
29
|
+
* If you need access to the IconName type, you can:
|
|
30
|
+
* ```js
|
|
31
|
+
* import type { IconName } from '@opentrons/components'
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare function Icon(props: IconProps): JSX.Element | null;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IconName } from './Icon';
|
|
2
|
+
import type { ModuleType } from '@opentrons/shared-data';
|
|
3
|
+
import type { StyleProps } from '../primitives/types';
|
|
4
|
+
export declare const MODULE_ICON_NAME_BY_TYPE: {
|
|
5
|
+
[type in ModuleType]: IconName;
|
|
6
|
+
};
|
|
7
|
+
interface ModuleIconProps extends StyleProps {
|
|
8
|
+
moduleType: ModuleType;
|
|
9
|
+
}
|
|
10
|
+
export declare function ModuleIcon(props: ModuleIconProps): JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IconProps, IconName } from './Icon';
|
|
2
|
+
export interface NotificationIconProps extends IconProps {
|
|
3
|
+
/** name constant of the optional notifcation icon to display */
|
|
4
|
+
childName: IconName | null;
|
|
5
|
+
/** color to apply to notification icon (defaults to COLOR_WARNING) */
|
|
6
|
+
childColor?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Inline SVG icon component with additional nested notification icon. Takes
|
|
10
|
+
* all the same props as Icon in addition to the ones listed above.
|
|
11
|
+
*/
|
|
12
|
+
export declare function NotificationIcon(props: NotificationIconProps): JSX.Element;
|
|
@@ -0,0 +1,586 @@
|
|
|
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
|
+
send: {
|
|
523
|
+
path: string;
|
|
524
|
+
viewBox: string;
|
|
525
|
+
};
|
|
526
|
+
settings: {
|
|
527
|
+
path: string;
|
|
528
|
+
viewBox: string;
|
|
529
|
+
};
|
|
530
|
+
sleep: {
|
|
531
|
+
path: string;
|
|
532
|
+
viewBox: string;
|
|
533
|
+
};
|
|
534
|
+
'swap-horizontal': {
|
|
535
|
+
path: string;
|
|
536
|
+
viewBox: string;
|
|
537
|
+
};
|
|
538
|
+
'text-size': {
|
|
539
|
+
path: string;
|
|
540
|
+
viewBox: string;
|
|
541
|
+
};
|
|
542
|
+
trash: {
|
|
543
|
+
path: string;
|
|
544
|
+
viewBox: string;
|
|
545
|
+
};
|
|
546
|
+
'unfold-less-horizontal': {
|
|
547
|
+
path: string;
|
|
548
|
+
viewBox: string;
|
|
549
|
+
};
|
|
550
|
+
'unfold-more-horizontal': {
|
|
551
|
+
path: string;
|
|
552
|
+
viewBox: string;
|
|
553
|
+
};
|
|
554
|
+
union: {
|
|
555
|
+
path: string;
|
|
556
|
+
viewBox: string;
|
|
557
|
+
};
|
|
558
|
+
update: {
|
|
559
|
+
path: string;
|
|
560
|
+
viewBox: string;
|
|
561
|
+
};
|
|
562
|
+
'update-channel': {
|
|
563
|
+
path: string;
|
|
564
|
+
viewBox: string;
|
|
565
|
+
};
|
|
566
|
+
upload: {
|
|
567
|
+
path: string;
|
|
568
|
+
viewBox: string;
|
|
569
|
+
};
|
|
570
|
+
usb: {
|
|
571
|
+
path: string;
|
|
572
|
+
viewBox: string;
|
|
573
|
+
};
|
|
574
|
+
'vertical-plane': {
|
|
575
|
+
path: string;
|
|
576
|
+
viewBox: string;
|
|
577
|
+
};
|
|
578
|
+
water: {
|
|
579
|
+
path: string;
|
|
580
|
+
viewBox: string;
|
|
581
|
+
};
|
|
582
|
+
wifi: {
|
|
583
|
+
path: string;
|
|
584
|
+
viewBox: string;
|
|
585
|
+
};
|
|
586
|
+
};
|
|
@@ -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[];
|