Skip to content

Commit

Permalink
remove original Tooltip and re-export v1 from components barrel
Browse files Browse the repository at this point in the history
  • Loading branch information
mcwinter07 committed Jun 18, 2024
1 parent 2cfb884 commit f4e5c41
Show file tree
Hide file tree
Showing 19 changed files with 7 additions and 1,362 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/ButtonGroup/ButtonGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
FilterButtonBase,
FilterButtonBaseProps,
} from "~components/Filter/FilterButton/subcomponents/FilterButtonBase"
import { Tooltip, TooltipProps } from "~components/Tooltip"
import { Tooltip, TooltipProps } from "~components/__overlays__/Tooltip/v1"
import { OverrideClassName } from "~types/OverrideClassName"
import styles from "./ButtonGroup.module.scss"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react"
import { Meta } from "@storybook/react"
import { FilterButtonBase } from "~components/Filter/FilterButton/subcomponents/FilterButtonBase"
import { Tooltip } from "~components/Tooltip"
import { Tooltip } from "~components/__overlays__/Tooltip/v1"
import {
StickerSheet,
StickerSheetStory,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { forwardRef } from "react"
import { ButtonGroup, ButtonGroupProps } from "~components/ButtonGroup"
import { FilterTriggerRef } from "~components/Filter/Filter"
import { ClearIcon } from "~components/Icon"
import { Tooltip } from "~components/Tooltip"
import { Tooltip } from "~components/__overlays__/Tooltip/v1"
import { DataAttributes } from "~types/DataAttributes"
import { isRefObject } from "~utils/isRefObject"
import { FilterButton, FilterButtonProps } from "../FilterButton"
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/GuidanceBlock/GuidanceBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Heading, HeadingProps } from "~components/Heading"
import { ArrowForwardIcon } from "~components/Icon"
import { SceneProps, SpotProps } from "~components/Illustration"
import { Text } from "~components/Text"
import { Tooltip, TooltipProps } from "~components/Tooltip"
import { Tooltip, TooltipProps } from "~components/__overlays__/Tooltip/v1"
import { VariantType } from "./types"
import styles from "./GuidanceBlock.module.scss"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react"
import classnames from "classnames"
import { Tooltip } from "~components/Tooltip"
import { Tooltip } from "~components/__overlays__/Tooltip/v1"
import { OverrideClassName } from "~types/OverrideClassName"
import { ToggleIconButtonMoods } from "./types"
import styles from "./ToggleIconButton.module.scss"
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
SortAscendingIcon,
SortDescendingIcon,
} from "~components/Icon"
import { Tooltip } from "~components/Tooltip"
import { Tooltip } from "~components/__overlays__/Tooltip/v1"
import { OverrideClassName } from "~types/OverrideClassName"
import styles from "./Table.module.scss"

Expand Down
188 changes: 0 additions & 188 deletions packages/components/src/Tooltip/Tooltip.module.scss

This file was deleted.

91 changes: 0 additions & 91 deletions packages/components/src/Tooltip/Tooltip.spec.tsx

This file was deleted.

Loading

0 comments on commit f4e5c41

Please sign in to comment.