Skip to content

Commit

Permalink
chore: fix < Tip /> imports to be from vibe-storybook-components (#1693)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyRoyt authored Oct 22, 2023
1 parent 3785ffd commit a7e8237
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 29 deletions.
4 changes: 2 additions & 2 deletions src/components/Avatar/__stories__/avatar.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
TOOLTIP
} from "../../../storybook/components/related-components/component-description-map";
import { WhatsNew } from "../../Icon/Icons";
import { Tip, createStoryMetaSettingsDecorator } from "../../../storybook";
import { StoryDescription, Link, ComponentRules, createComponentTemplate } from "vibe-storybook-components";
import { createStoryMetaSettingsDecorator } from "../../../storybook";
import { Tip, StoryDescription, Link, ComponentRules, createComponentTemplate } from "vibe-storybook-components";
import Tooltip from "../../Tooltip/Tooltip";
import { Counter, Flex } from "../..";
import { femaleIcon, guest, home, maleIcon, minus, owner, person1, person2, person3 } from "./assets";
Expand Down
4 changes: 2 additions & 2 deletions src/components/Box/__stories__/Box.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Box } from "../../../components";
import { ArgsTable, Canvas, Meta, Story } from "@storybook/addon-docs";
import { Tip, createStoryMetaSettingsDecorator } from "../../../storybook";
import { UsageGuidelines } from "vibe-storybook-components";
import { createStoryMetaSettingsDecorator } from "../../../storybook";
import { UsageGuidelines, Tip } from "vibe-storybook-components";
import {
DIALOG_CONTENT_CONTAINER,
DIVIDER,
Expand Down
4 changes: 2 additions & 2 deletions src/components/Heading/__stories__/Heading.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { ArgsTable, Story, Canvas, Meta } from "@storybook/addon-docs";
import { createStoryMetaSettingsDecorator, Tip } from "../../../storybook";
import { createStoryMetaSettingsDecorator } from "../../../storybook";
import Flex from "../../Flex/Flex";
import { createComponentTemplate } from "vibe-storybook-components";
import Heading from "../Heading";
import { OVERFLOW_TITLE_CONTAINER_ID, ONE_LINE_ELLIPSIS_TEST_ID } from "../__tests__/heading-tests-constants";
import { Link } from "vibe-storybook-components";
import { Link, Tip } from "vibe-storybook-components";
import { headingOverflowSuite } from "../__tests__/Heading.interactions";
import Divider from "../../Divider/Divider";
import Text from "../../Text/Text";
Expand Down
3 changes: 1 addition & 2 deletions src/components/HiddenText/__stories__/HiddenText.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import HiddenText from "../HiddenText";
import { ArgsTable, Canvas, Meta, Story } from "@storybook/addon-docs";
import { createComponentTemplate } from "vibe-storybook-components";
import { createComponentTemplate, Tip } from "vibe-storybook-components";
import {
CLICKABLE,
HEADING,
TEXT_FIELD
} from "../../../storybook/components/related-components/component-description-map";
import { Tip } from "../../../storybook/components";

<Meta title="Accessibility/HiddenText" component={HiddenText} />

Expand Down
3 changes: 1 addition & 2 deletions src/components/List/__stories__/List.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import ListItem from "../../ListItem/ListItem";
import ListItemIcon from "../../ListItemIcon/ListItemIcon";
import ListItemAvatar from "../../ListItemAvatar/ListItemAvatar";
import ListTitle from "../../ListTitle/ListTitle";
import { Tip } from "../../../storybook/components";
import { MENU, TABS, WIZARD } from "../../../storybook/components/related-components/component-description-map";
import Add from "../../Icon/Icons/components/Add";
import Filter from "../../Icon/Icons/components/Filter";
Expand All @@ -18,7 +17,7 @@ import Avatar from "../../Avatar/Avatar";
import { Icon } from "../../index";
import DropdownChevronDown from "../../Icon/Icons/components/DropdownChevronDown";
import DialogContentContainer from "../../DialogContentContainer/DialogContentContainer";
import { StoryDescription, Link } from "vibe-storybook-components";
import { StoryDescription, Link, Tip } from "vibe-storybook-components";
import { createStoryMetaSettingsDecorator } from "../../../storybook";
import { Flex } from "../../";
import { person1, person2, person3 } from "../../Avatar/__stories__/assets";
Expand Down
3 changes: 2 additions & 1 deletion src/components/Loader/__stories__/Loader.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import Loader from "../Loader";
import { ArgsTable, Canvas, Meta, Story } from "@storybook/addon-docs";
import { createStoryMetaSettingsDecorator, Tip } from "../../../storybook";
import { createStoryMetaSettingsDecorator } from "../../../storybook";
import {
StoryDescription,
Link,
UsageGuidelines,
ComponentRules,
Tip,
createComponentTemplate
} from "vibe-storybook-components";
import { Button, DialogContentContainer, Flex, Search } from "../..";
Expand Down
4 changes: 2 additions & 2 deletions src/components/Modal/__stories__/modal.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useCallback, useRef, useState } from "react";
import { ArgsTable, Canvas, Meta, Story } from "@storybook/addon-docs";
import { createStoryMetaSettingsDecorator, Tip } from "../../../storybook";
import { ComponentRules, UsageGuidelines, Link } from "vibe-storybook-components";
import { createStoryMetaSettingsDecorator } from "../../../storybook";
import { ComponentRules, UsageGuidelines, Link, Tip } from "vibe-storybook-components";
import ModalContent from "../ModalContent/ModalContent";
import ModalFooter from "../ModalFooter/ModalFooter";
import ModalHeader from "../ModalHeader/ModalHeader";
Expand Down
3 changes: 1 addition & 2 deletions src/components/Search/__stories__/Search.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import Search from "../Search";
import { createStoryMetaSettingsDecorator } from "../../../storybook";
import DialogContentContainer from "../../DialogContentContainer/DialogContentContainer";
import Combobox from "../../Combobox/Combobox";
import { Tip } from "../../../storybook/components";
import { Link, UsageGuidelines, createComponentTemplate } from "vibe-storybook-components";
import { Link, UsageGuidelines, Tip, createComponentTemplate } from "vibe-storybook-components";
import {
COMBOBOX,
DROPDOWN,
Expand Down
4 changes: 2 additions & 2 deletions src/components/Slider/__stories__/Slider.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ArgsTable, Canvas, Meta, Story } from "@storybook/addon-docs";
import { createStoryMetaSettingsDecorator, Tip } from "../../../storybook";
import { createComponentTemplate, Link, UsageGuidelines, VerticalStories } from "vibe-storybook-components";
import { createStoryMetaSettingsDecorator } from "../../../storybook";
import { createComponentTemplate, Link, UsageGuidelines, VerticalStories, Tip } from "vibe-storybook-components";
import {
PROGRESS_BAR,
TOGGLE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import {
} from "../../Icon/Icons";
import { BUTTON, BUTTON_GROUP, MENU } from "../../../storybook/components/related-components/component-description-map";
import SplitButtonExampleDialog from "./SplitButtonExampleDialog";
import { Tip, createStoryMetaSettingsDecorator } from "../../../storybook";
import { Link, UsageGuidelines, createComponentTemplate } from "vibe-storybook-components";
import { createStoryMetaSettingsDecorator } from "../../../storybook";
import { Tip, Link, UsageGuidelines, createComponentTemplate } from "vibe-storybook-components";
import "./splitButton.stories.scss";
import SplitButtonMenu from "../SplitButtonMenu/SplitButtonMenu";
import MenuItem from "../../Menu/MenuItem/MenuItem";
Expand Down
4 changes: 2 additions & 2 deletions src/components/Text/__stories__/Text.stories.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import cx from "classnames";
import { ArgsTable, Story, Canvas, Meta } from "@storybook/addon-docs";
import { createStoryMetaSettingsDecorator, Tip } from "../../../storybook";
import { createStoryMetaSettingsDecorator } from "../../../storybook";
import Text from "../Text";
import { Link, createComponentTemplate } from "vibe-storybook-components";
import { Link, Tip, createComponentTemplate } from "vibe-storybook-components";
import Flex from "../../Flex/Flex";
import Button from "../../Button/Button";
import { ONE_LINE_ELLIPSIS_TEST_ID, OVERFLOW_TEXT_CONTAINER_ID } from "../__tests__/text-tests-constants";
Expand Down
3 changes: 1 addition & 2 deletions src/components/Toast/__stories__/toast.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import Toast from "../Toast";
import { createStoryMetaSettingsDecorator } from "../../../storybook";
import Flex from "../../Flex/Flex";
import Button from "../../Button/Button";
import { Tip } from "../../../storybook/components";
import { Link, UsageGuidelines, createComponentTemplate } from "vibe-storybook-components";
import { Link, UsageGuidelines, Tip, createComponentTemplate } from "vibe-storybook-components";
import {
ALERT_BANNER,
ATTENTION_BOX,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import { generateItems } from "./virtualizedList.components";
import { useCallback } from "react";
import { Flex } from "../../";
import styles from "./virtualizedList.module.scss";
import { Tip } from "../../../storybook";
import { UsageGuidelines } from "vibe-storybook-components";
import { UsageGuidelines, Tip } from "vibe-storybook-components";

<Meta title="Navigation/VirtualizedList" component={VirtualizedList} />

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { useCallback, useRef } from "react";
import { Canvas, Meta, Story } from "@storybook/addon-docs";
import { Tip } from "../../../storybook";
import { Link } from "vibe-storybook-components";
import { Link, Tip } from "vibe-storybook-components";
import useClickableProps from "../useClickableProps";
import "./useClickableProps.stories.scss";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { useRef, useState } from "react";
import { Canvas, Meta, Story } from "@storybook/addon-docs";
import { Tip } from "../../../storybook";
import { FunctionArgument, FunctionArguments, Link } from "vibe-storybook-components";
import { FunctionArgument, FunctionArguments, Link, Tip } from "vibe-storybook-components";
import useIsOverflowing from "../useIsOverflowing";
import { EditableInput, Flex, Tooltip } from "../../../components";
import styles from "./useIsOverflowing.stories.module.scss";
Expand Down

0 comments on commit a7e8237

Please sign in to comment.