@opentrons/components 0.1.5 → 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.
- package/Makefile +10 -9
- package/README.md +1 -15
- package/babel.config.cjs +21 -0
- package/lib/alerts/AlertItem.d.ts +1 -1
- 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 -1
- package/lib/atoms/CheckboxField/index.d.ts +1 -1
- 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 +2 -1
- 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 -2
- 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 -2
- package/lib/atoms/buttons/RadioButton.d.ts +21 -0
- package/lib/atoms/buttons/__tests__/AlertPrimaryButton.test.d.ts +1 -1
- 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 -1
- package/lib/atoms/buttons/__tests__/RadioButton.test.d.ts +1 -0
- package/lib/atoms/buttons/__tests__/SecondaryButton.test.d.ts +1 -1
- package/lib/atoms/buttons/index.d.ts +3 -0
- package/lib/atoms/index.d.ts +18 -1
- package/lib/buttons/Button.d.ts +3 -2
- package/lib/buttons/DeprecatedPrimaryButton.d.ts +0 -1
- package/lib/buttons/FlatButton.d.ts +0 -1
- package/lib/buttons/IconButton.d.ts +0 -1
- package/lib/buttons/OutlineButton.d.ts +0 -1
- package/lib/controls/ControlInfo.d.ts +1 -1
- package/lib/controls/LabeledButton.d.ts +1 -1
- package/lib/controls/LabeledCheckbox.d.ts +1 -1
- package/lib/controls/LabeledControl.d.ts +1 -1
- package/lib/controls/LabeledRadioGroup.d.ts +1 -1
- package/lib/controls/LabeledSelect.d.ts +1 -1
- package/lib/controls/LabeledToggle.d.ts +1 -1
- package/lib/controls/StackedLabeledControl.d.ts +1 -1
- package/lib/controls/ToggleButton.d.ts +0 -1
- package/lib/forms/DeprecatedCheckboxField.d.ts +1 -1
- package/lib/forms/DropdownField.d.ts +3 -3
- package/lib/forms/FormGroup.d.ts +1 -1
- package/lib/forms/{InputField.d.ts → LegacyInputField.d.ts} +4 -4
- package/lib/forms/RadioGroup.d.ts +1 -1
- package/lib/forms/Select.d.ts +1 -2
- package/lib/forms/SelectField.d.ts +1 -1
- package/lib/forms/ToggleField.d.ts +1 -1
- 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 +1 -1
- package/lib/hardware-sim/BaseDeck/BaseDeck.d.ts +9 -2
- package/lib/hardware-sim/BaseDeck/SingleSlotFixture.d.ts +1 -1
- package/lib/hardware-sim/BaseDeck/SlotBase.d.ts +1 -1
- package/lib/hardware-sim/BaseDeck/SlotClip.d.ts +1 -1
- package/lib/hardware-sim/BaseDeck/StagingAreaFixture.d.ts +1 -1
- package/lib/hardware-sim/BaseDeck/WasteChuteFixture.d.ts +2 -3
- package/lib/hardware-sim/BaseDeck/WasteChuteStagingAreaFixture.d.ts +1 -1
- package/lib/hardware-sim/Deck/DeckFromLayers.d.ts +0 -1
- package/lib/hardware-sim/Deck/MoveLabwareOnDeck.d.ts +1 -2
- package/lib/hardware-sim/Deck/OT2Layers.d.ts +0 -1
- package/lib/hardware-sim/Deck/RobotCoordsForeignDiv.d.ts +1 -1
- package/lib/hardware-sim/Deck/RobotCoordsForeignObject.d.ts +1 -1
- package/lib/hardware-sim/Deck/RobotCoordsText.d.ts +1 -1
- package/lib/hardware-sim/Deck/RobotWorkSpace.d.ts +1 -1
- package/lib/hardware-sim/Deck/__mocks__/getDeckDefinitions.d.ts +1 -2
- package/lib/hardware-sim/Deck/index.d.ts +0 -1
- package/lib/hardware-sim/DeckConfigurator/AbsorbanceReaderFixture.d.ts +10 -0
- package/lib/hardware-sim/DeckConfigurator/EmptyConfigFixture.d.ts +0 -1
- 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 +4 -3
- 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 +4 -3
- package/lib/hardware-sim/DeckConfigurator/WasteChuteConfigFixture.d.ts +4 -3
- package/lib/hardware-sim/DeckConfigurator/constants.d.ts +6 -1
- package/lib/hardware-sim/DeckConfigurator/index.d.ts +10 -4
- package/lib/hardware-sim/DeckSlotLocation/index.d.ts +1 -1
- package/lib/hardware-sim/Labware/Labware.d.ts +39 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96DeepWellAdapter.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/Opentrons96FlatBottomAdapter.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAluminumFlatBottomPlate.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsAutoclavableDeckRiser.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsFlex96TiprackAdapter.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsToughPCRAutoSealingLid.d.ts +1 -0
- package/lib/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapter.d.ts +0 -1
- package/lib/hardware-sim/Labware/LabwareAdapter/index.d.ts +8 -0
- package/lib/hardware-sim/Labware/LabwareRender.d.ts +6 -2
- 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 -1
- package/lib/hardware-sim/Labware/index.d.ts +3 -1
- package/lib/hardware-sim/Labware/labwareInternals/FilledWells.d.ts +1 -0
- package/lib/hardware-sim/Labware/labwareInternals/LabwareOutline.d.ts +4 -1
- package/lib/hardware-sim/Labware/labwareInternals/LabwareWellLabels.d.ts +15 -0
- package/lib/hardware-sim/Labware/labwareInternals/StaticLabware.d.ts +9 -1
- package/lib/hardware-sim/Labware/labwareInternals/Well.d.ts +2 -1
- package/lib/hardware-sim/Labware/labwareInternals/WellLabels.d.ts +1 -1
- 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 -1
- package/lib/hardware-sim/Labware/labwareInternals/__tests__/WellLabels.test.d.ts +1 -1
- package/lib/hardware-sim/Labware/labwareInternals/index.d.ts +2 -0
- package/lib/hardware-sim/Labware/labwareInternals/types.d.ts +1 -1
- package/lib/hardware-sim/Module/HeaterShaker.d.ts +0 -1
- package/lib/hardware-sim/Module/MagneticBlock.d.ts +0 -1
- package/lib/hardware-sim/Module/MagneticModule.d.ts +0 -1
- package/lib/hardware-sim/Module/ModuleTag.d.ts +1 -1
- package/lib/hardware-sim/Module/PlateReader.d.ts +1 -0
- package/lib/hardware-sim/Module/Temperature.d.ts +0 -1
- package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN1.d.ts +0 -1
- package/lib/hardware-sim/Module/Thermocycler/ThermocyclerGEN2.d.ts +0 -1
- package/lib/hardware-sim/Module/Thermocycler/index.d.ts +1 -2
- package/lib/hardware-sim/Module/index.d.ts +2 -2
- package/lib/hardware-sim/Pipette/PipetteRender.d.ts +1 -1
- package/lib/hardware-sim/ProtocolDeck/LabwareInfo.d.ts +2 -2
- package/lib/hardware-sim/ProtocolDeck/index.d.ts +4 -2
- package/lib/hardware-sim/ProtocolDeck/utils/index.d.ts +1 -0
- package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpace.d.ts +1 -1
- package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpaceWithRef.d.ts +16 -0
- package/lib/hardware-sim/RobotCoordinateSpace/index.d.ts +1 -1
- package/lib/hardware-sim/utils.d.ts +1 -1
- package/lib/helix-design-system/borders.d.ts +26 -0
- package/lib/helix-design-system/colors.d.ts +11 -0
- package/lib/helix-design-system/index.d.ts +3 -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__/useInterval.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__/useTimeout.test.d.ts +1 -0
- package/lib/hooks/__tests__/useToggle.test.d.ts +1 -0
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/useConditionalConfirm.d.ts +3 -2
- package/lib/hooks/useDrag.d.ts +1 -1
- package/lib/hooks/useLongPress.d.ts +1 -1
- package/lib/hooks/useMenuHandleClickOutside.d.ts +9 -0
- package/lib/hooks/useSelectDeckLocation/index.d.ts +1 -3
- package/lib/hooks/useSwipe.d.ts +1 -1
- package/lib/icons/Icon.d.ts +1 -1
- package/lib/icons/ModuleIcon.d.ts +2 -3
- package/lib/icons/NotificationIcon.d.ts +0 -1
- package/lib/icons/icon-data.d.ts +4 -582
- package/lib/icons/index.d.ts +1 -0
- package/lib/index.cjs +732 -0
- package/lib/index.d.ts +1 -3
- package/lib/index.mjs +36590 -0
- package/lib/instrument/InstrumentDiagram.d.ts +3 -4
- package/lib/instrument/InstrumentGroup.d.ts +0 -1
- package/lib/instrument/InstrumentInfo.d.ts +5 -11
- 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 +0 -1
- package/lib/interaction-enhancers/__tests__/useHover.test.d.ts +1 -0
- package/lib/legacy-hardware-sim/LabwareNameOverlay.d.ts +0 -1
- package/lib/legacy-hardware-sim/ModuleItem.d.ts +0 -1
- package/lib/lists/SidePanelGroup.d.ts +1 -1
- package/lib/lists/index.d.ts +0 -1
- package/lib/modals/AlertModal.d.ts +2 -1
- package/lib/modals/ContinueModal.d.ts +1 -1
- package/lib/modals/LegacyModal.d.ts +24 -0
- package/lib/modals/Modal.d.ts +21 -20
- package/lib/modals/ModalHeader.d.ts +13 -0
- package/lib/modals/ModalShell.d.ts +11 -2
- package/lib/modals/Overlay.d.ts +1 -1
- package/lib/modals/SpinnerModal.d.ts +1 -1
- package/lib/modals/SpinnerModalPage.d.ts +2 -1
- 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 +5 -5
- 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 -2
- package/lib/nav/SidePanel.d.ts +1 -1
- 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/Btn.d.ts +11 -13
- 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/types.d.ts +1 -2
- package/lib/slotmap/{SlotMap.d.ts → OT2SlotMap.d.ts} +1 -4
- package/lib/slotmap/__tests__/OT2SlotMap.test.d.ts +1 -0
- package/lib/slotmap/index.d.ts +1 -1
- package/lib/structure/Card.d.ts +1 -1
- package/lib/structure/LabeledValue.d.ts +1 -1
- package/lib/structure/Pill.d.ts +1 -1
- package/lib/structure/Splash.d.ts +0 -1
- package/lib/structure/TitleBar.d.ts +2 -2
- package/lib/structure/index.d.ts +0 -1
- package/lib/style.css +1 -0
- package/lib/styles/cursor.d.ts +10 -0
- package/lib/styles/flexbox.d.ts +6 -0
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/layout.d.ts +1 -0
- package/lib/testing/utils/matchers.d.ts +0 -3
- package/lib/testing/utils/renderWithProviders.d.ts +2 -3
- package/lib/tooltips/DeprecatedTooltip.d.ts +1 -1
- package/lib/tooltips/{Tooltip.d.ts → LegacyTooltip.d.ts} +2 -2
- 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/index.d.ts +1 -1
- package/lib/ui-style-constants/index.d.ts +2 -2
- package/lib/ui-style-constants/responsiveness.d.ts +1 -0
- package/lib/ui-style-constants/spacing.d.ts +1 -0
- package/lib/ui-style-constants/typography.d.ts +1 -0
- package/lib/ui-style-constants/viewport.d.ts +15 -0
- package/package.json +10 -9
- package/tsconfig.json +2 -2
- package/typings/global.d.ts +0 -1
- package/vite.config.mts +65 -0
- package/lib/hardware-sim/Deck/getDeckDefinitions.d.ts +0 -2
- package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpaceWithDOMCoords.d.ts +0 -19
- package/lib/instrument/InfoItem.d.ts +0 -11
- package/lib/lists/ListItem.d.ts +0 -37
- package/lib/modals/BaseModal.d.ts +0 -26
- package/lib/modals/ModalPage.d.ts +0 -16
- package/lib/modals/__tests__/BaseModal.test.d.ts +0 -0
- package/lib/molecules/LocationIcon/index.d.ts +0 -16
- package/lib/molecules/RoundTab.d.ts +0 -8
- package/lib/opentrons-components.js +0 -16
- package/lib/slotmap/__tests__/SlotMap.test.d.ts +0 -0
- package/lib/structure/PageTabs.d.ts +0 -12
- package/lib/tabbedNav/NavTab.d.ts +0 -25
- package/lib/tabbedNav/OutsideLinkTab.d.ts +0 -24
- package/lib/tabbedNav/TabbedNavBar.d.ts +0 -7
- package/lib/tabbedNav/index.d.ts +0 -3
- package/lib/ui-style-constants/borders.d.ts +0 -18
- package/webpack.config.js +0 -38
- /package/lib/{molecules/LocationIcon/__tests__/LocationIcon.test.d.ts → atoms/Chip/__tests__/Chip.test.d.ts} +0 -0
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import type { PipetteNameSpecs } from '@opentrons/shared-data';
|
|
1
|
+
import type { FlattenSimpleInterpolation } from 'styled-components';
|
|
2
|
+
import type { PipetteV2Specs } from '@opentrons/shared-data';
|
|
4
3
|
import type { Mount } from '../robot-types';
|
|
5
4
|
import type { StyleProps } from '..';
|
|
6
5
|
export interface InstrumentDiagramProps extends StyleProps {
|
|
7
6
|
mount: Mount;
|
|
8
|
-
pipetteSpecs?: Pick<
|
|
7
|
+
pipetteSpecs?: Pick<PipetteV2Specs, 'displayCategory' | 'channels'> | null;
|
|
9
8
|
className?: string;
|
|
10
9
|
imageStyle?: FlattenSimpleInterpolation;
|
|
11
10
|
}
|
|
@@ -1,24 +1,18 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
1
|
+
import type * as React from 'react';
|
|
2
2
|
import type { Mount } from '../robot-types';
|
|
3
3
|
import type { InstrumentDiagramProps } from './InstrumentDiagram';
|
|
4
4
|
export interface InstrumentInfoProps {
|
|
5
5
|
/** 'left' or 'right' */
|
|
6
6
|
mount: Mount;
|
|
7
|
-
/** if true, show labels 'LEFT PIPETTE' / 'RIGHT PIPETTE' */
|
|
8
|
-
showMountLabel?: boolean | null;
|
|
9
7
|
/** human-readable description, eg 'p300 Single-channel' */
|
|
10
8
|
description: string;
|
|
11
|
-
/** paired tiprack model */
|
|
12
|
-
tiprackModel?: string;
|
|
13
|
-
/** if disabled, pipette & its info are grayed out */
|
|
14
|
-
isDisabled: boolean;
|
|
15
9
|
/** specs of mounted pipette */
|
|
16
10
|
pipetteSpecs?: InstrumentDiagramProps['pipetteSpecs'] | null;
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
/** classes to apply to the info group child */
|
|
20
|
-
infoClassName?: string;
|
|
11
|
+
/** paired tiprack models */
|
|
12
|
+
tiprackModels?: string[];
|
|
21
13
|
/** children to display under the info */
|
|
22
14
|
children?: React.ReactNode;
|
|
15
|
+
/** if true, show labels 'LEFT PIPETTE' / 'RIGHT PIPETTE' */
|
|
16
|
+
showMountLabel?: boolean | null;
|
|
23
17
|
}
|
|
24
18
|
export declare function InstrumentInfo(props: InstrumentInfoProps): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/lists/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
1
|
+
import type * as React from 'react';
|
|
2
2
|
import type { ButtonProps } from '../buttons';
|
|
3
3
|
import type { IconName } from '../icons';
|
|
4
4
|
export interface AlertModalProps {
|
|
@@ -22,6 +22,7 @@ export interface AlertModalProps {
|
|
|
22
22
|
restrictOuterScroll?: boolean;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
+
* @deprecated use Modal instead
|
|
25
26
|
* Generic alert modal with a heading and a set of buttons at the bottom
|
|
26
27
|
*/
|
|
27
28
|
export declare function AlertModal(props: AlertModalProps): JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { AlertModalProps } from './AlertModal';
|
|
3
2
|
export interface ContinueModalProps extends Omit<AlertModalProps, 'buttons'> {
|
|
4
3
|
onCancelClick: () => unknown;
|
|
5
4
|
onContinueClick: () => unknown;
|
|
6
5
|
}
|
|
7
6
|
/**
|
|
7
|
+
* * @deprecated use Modal instead
|
|
8
8
|
* AlertModal variant to prompt user to "Cancel" or "Continue" a given action
|
|
9
9
|
*/
|
|
10
10
|
export declare function ContinueModal(props: ContinueModalProps): JSX.Element;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface LegacyModalProps {
|
|
3
|
+
/** handler to close the modal (attached to `Overlay` onClick) */
|
|
4
|
+
onCloseClick?: React.MouseEventHandler;
|
|
5
|
+
/** Optional styled heading **/
|
|
6
|
+
heading?: string;
|
|
7
|
+
/** modal contents */
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
/** classes to apply */
|
|
10
|
+
className?: string;
|
|
11
|
+
/** classes to apply to the contents box */
|
|
12
|
+
contentsClassName?: string;
|
|
13
|
+
/** lightens overlay (alert modal over existing modal) */
|
|
14
|
+
alertOverlay?: boolean;
|
|
15
|
+
/** restricts scroll outside of Modal when open, true by default */
|
|
16
|
+
restrictOuterScroll?: boolean;
|
|
17
|
+
innerRef?: React.Ref<HTMLDivElement>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated use Modal instead
|
|
21
|
+
* Base modal component that fills its nearest `display:relative` ancestor
|
|
22
|
+
* with a dark overlay and displays `children` as its contents in a white box
|
|
23
|
+
*/
|
|
24
|
+
export declare function LegacyModal(props: LegacyModalProps): JSX.Element;
|
package/lib/modals/Modal.d.ts
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { StyleProps } from '../primitives';
|
|
3
|
+
import type { Position } from './ModalShell';
|
|
4
|
+
type ModalType = 'info' | 'warning' | 'error';
|
|
5
|
+
export interface ModalProps extends StyleProps {
|
|
6
|
+
type?: ModalType;
|
|
7
|
+
onClose?: React.MouseEventHandler;
|
|
8
|
+
closeOnOutsideClick?: boolean;
|
|
9
|
+
title?: React.ReactNode;
|
|
10
|
+
titleElement1?: JSX.Element;
|
|
11
|
+
titleElement2?: JSX.Element;
|
|
12
|
+
fullPage?: boolean;
|
|
13
|
+
childrenPadding?: string | number;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
footer?: React.ReactNode;
|
|
16
|
+
zIndexOverlay?: number;
|
|
17
|
+
showOverlay?: boolean;
|
|
18
|
+
position?: Position;
|
|
18
19
|
}
|
|
19
20
|
/**
|
|
20
|
-
*
|
|
21
|
-
* with a dark overlay and displays `children` as its contents in a white box
|
|
21
|
+
* For Desktop app and Helix (which includes Protocol Designer) use only.
|
|
22
22
|
*/
|
|
23
|
-
export declare
|
|
23
|
+
export declare const Modal: (props: ModalProps) => JSX.Element;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { IconProps } from '../icons';
|
|
3
|
+
export interface ModalHeaderProps {
|
|
4
|
+
title: React.ReactNode;
|
|
5
|
+
onClose?: React.MouseEventHandler;
|
|
6
|
+
titleElement1?: JSX.Element;
|
|
7
|
+
titleElement2?: JSX.Element;
|
|
8
|
+
backgroundColor?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
icon?: IconProps;
|
|
11
|
+
closeButton?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare const ModalHeader: (props: ModalHeaderProps) => JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { StyleProps } from '../primitives';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { StyleProps } from '../primitives';
|
|
3
|
+
export type Position = 'center' | 'bottomRight';
|
|
3
4
|
export interface ModalShellProps extends StyleProps {
|
|
4
5
|
/** Modal content */
|
|
5
6
|
children: React.ReactNode;
|
|
@@ -11,6 +12,14 @@ export interface ModalShellProps extends StyleProps {
|
|
|
11
12
|
footer?: React.ReactNode;
|
|
12
13
|
/** Optional full page takeover */
|
|
13
14
|
fullPage?: boolean;
|
|
15
|
+
/** Optional zIndex for the overlay */
|
|
16
|
+
zIndexOverlay?: number;
|
|
17
|
+
/** Optional position to make the modal appear at the center or bottom right */
|
|
18
|
+
position?: Position;
|
|
19
|
+
/** Optional visible overlay */
|
|
20
|
+
showOverlay?: boolean;
|
|
21
|
+
/** Optional remove padding */
|
|
22
|
+
noPadding?: boolean;
|
|
14
23
|
}
|
|
15
24
|
/**
|
|
16
25
|
* A ModalShell is a layout component for building more specific modals.
|
package/lib/modals/Overlay.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface SpinnerModalProps {
|
|
3
2
|
/** Additional/Override style */
|
|
4
3
|
contentsClassName?: string;
|
|
@@ -8,6 +7,7 @@ export interface SpinnerModalProps {
|
|
|
8
7
|
alertOverlay?: boolean;
|
|
9
8
|
}
|
|
10
9
|
/**
|
|
10
|
+
* @deprecated use Modal instead
|
|
11
11
|
* Spinner Modal with no background and optional message
|
|
12
12
|
*/
|
|
13
13
|
export declare function SpinnerModal(props: SpinnerModalProps): JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
1
|
+
import type * as React from 'react';
|
|
2
2
|
import { SpinnerModal } from './SpinnerModal';
|
|
3
3
|
import type { TitleBarProps } from '../structure';
|
|
4
4
|
export interface SpinnerModalPageProps extends React.ComponentProps<typeof SpinnerModal> {
|
|
@@ -6,6 +6,7 @@ export interface SpinnerModalPageProps extends React.ComponentProps<typeof Spinn
|
|
|
6
6
|
titleBar: TitleBarProps;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
|
+
* @deprecated use Modal instead
|
|
9
10
|
* Spinner Modal variant with TitleBar
|
|
10
11
|
*/
|
|
11
12
|
export declare function SpinnerModalPage(props: SpinnerModalPageProps): JSX.Element;
|
|
@@ -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';
|
package/lib/modals/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from './Modal';
|
|
2
1
|
export * from './AlertModal';
|
|
3
2
|
export * from './ContinueModal';
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
3
|
+
export * from './LegacyModal';
|
|
4
|
+
export * from './Modal';
|
|
5
|
+
export * from './ModalHeader';
|
|
6
6
|
export * from './ModalShell';
|
|
7
|
-
export * from './SpinnerModalPage';
|
|
8
|
-
export * from './BaseModal';
|
|
9
7
|
export * from './Overlay';
|
|
8
|
+
export * from './SpinnerModal';
|
|
9
|
+
export * from './SpinnerModalPage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { StyleProps } from '../../primitives';
|
|
3
|
+
import type { IconProps } from '../../icons';
|
|
4
|
+
export type BannerType = 'success' | 'warning' | 'error' | 'updating' | 'informing';
|
|
5
|
+
export interface BannerProps extends StyleProps {
|
|
6
|
+
/** name constant of the icon to display */
|
|
7
|
+
type: BannerType;
|
|
8
|
+
/** Banner contents */
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
/** optional handler to show close button/clear alert */
|
|
11
|
+
onCloseClick?: (() => void) | React.MouseEventHandler<HTMLButtonElement>;
|
|
12
|
+
/** Override the default Alert Icon */
|
|
13
|
+
icon?: IconProps;
|
|
14
|
+
/** some banner onCloseClicks fire events, this allows a spinner after click but before event finishes */
|
|
15
|
+
isCloseActionLoading?: boolean;
|
|
16
|
+
/** Override the Exit icon */
|
|
17
|
+
closeButton?: React.ReactNode;
|
|
18
|
+
/** Icon margin right for large banners */
|
|
19
|
+
iconMarginRight?: string;
|
|
20
|
+
/** Icon margin left for large banners */
|
|
21
|
+
iconMarginLeft?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare function Banner(props: BannerProps): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ModuleIconName } from '../../icons';
|
|
2
|
+
import type { StyleProps } from '../../primitives';
|
|
3
|
+
interface DeckLabelProps extends StyleProps {
|
|
4
|
+
/** deck label to display */
|
|
5
|
+
deckLabel: string;
|
|
6
|
+
iconName?: undefined;
|
|
7
|
+
}
|
|
8
|
+
interface HardwareIconProps extends StyleProps {
|
|
9
|
+
/** hardware icon name */
|
|
10
|
+
iconName: ModuleIconName | 'stacked';
|
|
11
|
+
deckLabel?: undefined;
|
|
12
|
+
}
|
|
13
|
+
export type DeckInfoLabelProps = (DeckLabelProps | HardwareIconProps) & {
|
|
14
|
+
highlight?: boolean;
|
|
15
|
+
svgSize?: string | number;
|
|
16
|
+
};
|
|
17
|
+
export declare const DeckInfoLabel: import("styled-components").StyledComponent<typeof DeckInfoLabelComponent, any, {}, never>;
|
|
18
|
+
declare function DeckInfoLabelComponent({ deckLabel, iconName, highlight, ...styleProps }: DeckInfoLabelProps): JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ModuleModel } from '@opentrons/shared-data';
|
|
2
|
+
export interface DeckLabelProps {
|
|
3
|
+
text: string;
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
moduleModel?: ModuleModel;
|
|
6
|
+
maxWidth?: string;
|
|
7
|
+
labelBorderRadius?: string;
|
|
8
|
+
isLast?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function DeckLabel({ text, isSelected, labelBorderRadius, moduleModel, maxWidth, isLast, }: DeckLabelProps): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface DropdownOption {
|
|
3
|
+
name: string;
|
|
4
|
+
value: string;
|
|
5
|
+
/** optional dropdown option for adding the liquid color icon */
|
|
6
|
+
liquidColor?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
tooltipText?: string;
|
|
9
|
+
}
|
|
10
|
+
export type DropdownBorder = 'rounded' | 'neutral';
|
|
11
|
+
export interface DropdownMenuProps {
|
|
12
|
+
/** dropdown options */
|
|
13
|
+
filterOptions: DropdownOption[];
|
|
14
|
+
/** click handler */
|
|
15
|
+
onClick: (value: string) => void;
|
|
16
|
+
/** current selected option */
|
|
17
|
+
currentOption: DropdownOption;
|
|
18
|
+
/** dropdown */
|
|
19
|
+
width?: string;
|
|
20
|
+
/** dropdown style type */
|
|
21
|
+
dropdownType?: DropdownBorder;
|
|
22
|
+
/** dropdown title */
|
|
23
|
+
title?: string;
|
|
24
|
+
/** dropdown item caption */
|
|
25
|
+
caption?: string | null;
|
|
26
|
+
/** text for tooltip */
|
|
27
|
+
tooltipText?: string | null;
|
|
28
|
+
/** html tabindex property */
|
|
29
|
+
tabIndex?: number;
|
|
30
|
+
/** optional error */
|
|
31
|
+
error?: string | null;
|
|
32
|
+
/** focus handler */
|
|
33
|
+
onFocus?: React.FocusEventHandler<HTMLButtonElement>;
|
|
34
|
+
/** blur handler */
|
|
35
|
+
onBlur?: React.FocusEventHandler<HTMLButtonElement>;
|
|
36
|
+
/** optional disabled */
|
|
37
|
+
disabled?: boolean;
|
|
38
|
+
/** force direction for pd after release this will be fixed and remove */
|
|
39
|
+
forceDirection?: boolean;
|
|
40
|
+
}
|
|
41
|
+
export declare function DropdownMenu(props: DropdownMenuProps): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { RunTimeParameter } from '@opentrons/shared-data';
|
|
2
|
+
interface ProtocolParameterItemsProps {
|
|
3
|
+
runTimeParameters: RunTimeParameter[];
|
|
4
|
+
t?: any;
|
|
5
|
+
}
|
|
6
|
+
/** used in both the desktop app and Protocol Library
|
|
7
|
+
* to display the run time parameters table
|
|
8
|
+
*/
|
|
9
|
+
export declare function ParametersTable({ runTimeParameters, t, }: ProtocolParameterItemsProps): JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/molecules/index.d.ts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './Banner';
|
|
2
|
+
export * from './DeckInfoLabel';
|
|
3
|
+
export * from './DeckLabel';
|
|
4
|
+
export * from './DropdownMenu';
|
|
5
|
+
export * from './InfoScreen';
|
|
6
|
+
export * from './LiquidIcon';
|
|
7
|
+
export * from './ParametersTable';
|
|
8
|
+
export * from './Tabs';
|
package/lib/nav/SidePanel.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { DeckLabelProps } from '../../molecules/DeckLabel';
|
|
3
|
+
interface DeckLabelSetProps {
|
|
4
|
+
deckLabels: DeckLabelProps[];
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const DeckLabelSet: React.ForwardRefExoticComponent<DeckLabelSetProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function EndUserAgreementFooter(): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface ToolboxProps {
|
|
3
|
+
title: JSX.Element;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
disableCloseButton?: boolean;
|
|
6
|
+
width?: string;
|
|
7
|
+
height?: string;
|
|
8
|
+
confirmButtonText?: string;
|
|
9
|
+
onConfirmClick?: () => void;
|
|
10
|
+
confirmButton?: JSX.Element;
|
|
11
|
+
onCloseClick?: () => void;
|
|
12
|
+
closeButton?: JSX.Element;
|
|
13
|
+
side?: 'left' | 'right';
|
|
14
|
+
horizontalSide?: 'top' | 'bottom';
|
|
15
|
+
childrenPadding?: string;
|
|
16
|
+
subHeader?: JSX.Element | null;
|
|
17
|
+
secondaryHeaderButton?: JSX.Element;
|
|
18
|
+
position?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare function Toolbox(props: ToolboxProps): JSX.Element;
|
package/lib/primitives/Btn.d.ts
CHANGED
|
@@ -1,61 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
import type {
|
|
1
|
+
import type { StyledComponent } from 'styled-components';
|
|
2
|
+
import type { StyleProps } from './types';
|
|
3
3
|
export declare const BUTTON_TYPE_SUBMIT: 'submit';
|
|
4
4
|
export declare const BUTTON_TYPE_RESET: 'reset';
|
|
5
5
|
export declare const BUTTON_TYPE_BUTTON: 'button';
|
|
6
|
-
type BtnComponent = PrimitiveComponent<'button'>;
|
|
7
6
|
/**
|
|
8
7
|
* Button primitive
|
|
9
8
|
*
|
|
10
9
|
* @component
|
|
11
10
|
*/
|
|
12
|
-
export declare const Btn:
|
|
11
|
+
export declare const Btn: StyledComponent<'button', any, StyleProps, any>;
|
|
13
12
|
/**
|
|
14
13
|
* Primary button variant
|
|
15
14
|
*
|
|
16
15
|
* @component
|
|
17
16
|
*/
|
|
18
|
-
export declare const PrimaryBtn:
|
|
17
|
+
export declare const PrimaryBtn: StyledComponent<"button", any, StyleProps, any>;
|
|
19
18
|
/**
|
|
20
19
|
* Secondary button variant
|
|
21
20
|
*
|
|
22
21
|
* @component
|
|
23
22
|
*/
|
|
24
|
-
export declare const SecondaryBtn:
|
|
23
|
+
export declare const SecondaryBtn: StyledComponent<"button", any, StyleProps, any>;
|
|
25
24
|
/**
|
|
26
25
|
* New primary button variant used in app
|
|
27
26
|
*
|
|
28
27
|
* @component
|
|
29
28
|
*/
|
|
30
|
-
export declare const NewPrimaryBtn:
|
|
29
|
+
export declare const NewPrimaryBtn: StyledComponent<"button", any, StyleProps, any>;
|
|
31
30
|
/**
|
|
32
31
|
* New secondary button variant used in app
|
|
33
32
|
*
|
|
34
33
|
* @component
|
|
35
34
|
*/
|
|
36
|
-
export declare const NewSecondaryBtn:
|
|
35
|
+
export declare const NewSecondaryBtn: StyledComponent<"button", any, StyleProps, any>;
|
|
37
36
|
/**
|
|
38
37
|
* Red primary button variant used in app
|
|
39
38
|
*
|
|
40
39
|
* @component
|
|
41
40
|
*/
|
|
42
|
-
export declare const NewAlertPrimaryBtn:
|
|
41
|
+
export declare const NewAlertPrimaryBtn: StyledComponent<"button", any, StyleProps, any>;
|
|
43
42
|
/**
|
|
44
43
|
* Red secondary button variant used in app
|
|
45
44
|
*
|
|
46
45
|
* @component
|
|
47
46
|
*/
|
|
48
|
-
export declare const NewAlertSecondaryBtn:
|
|
47
|
+
export declare const NewAlertSecondaryBtn: StyledComponent<"button", any, StyleProps, any>;
|
|
49
48
|
/**
|
|
50
49
|
* Light secondary button variant
|
|
51
50
|
*
|
|
52
51
|
* @component
|
|
53
52
|
*/
|
|
54
|
-
export declare const LightSecondaryBtn:
|
|
53
|
+
export declare const LightSecondaryBtn: StyledComponent<"button", any, StyleProps, any>;
|
|
55
54
|
/**
|
|
56
55
|
* Tertiary button variant
|
|
57
56
|
*
|
|
58
57
|
* @component
|
|
59
58
|
*/
|
|
60
|
-
export declare const TertiaryBtn:
|
|
61
|
-
export {};
|
|
59
|
+
export declare const TertiaryBtn: StyledComponent<"button", any, StyleProps, any>;
|
|
@@ -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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|