Skip to content

Commit

Permalink
chore(im): removing more unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
aramos-adobe committed Jan 8, 2025
1 parent 9327ed4 commit 230c342
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/tooltip/stories/tooltip.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { disableDefaultModes } from "@spectrum-css/preview/modes";
import { isFocused, isOpen } from "@spectrum-css/preview/types";
import metadata from "../metadata/metadata.json";
import packageJson from "../package.json";
import { SemanticVariantGroup, TooltipPlacementGroup, TooltipShowOnHover } from "./template.js";
import { Template } from "./template.js";
import { PlacementVariants } from "./tooltip.test.js";

/**
Expand Down Expand Up @@ -101,7 +101,7 @@ Default.args = {};
* is its source's position. For example, for the position and modifier class `--top-left`, the tooltip is positioned
* at the top and the source is to the left. The default placement value if none is specified is at the top.
*/
export const Placement = TooltipPlacementGroup.bind({});
export const Placement = Template.bind({});
Placement.tags = ["!dev"];
Placement.parameters = {
chromatic: { disableSnapshot: true },
Expand All @@ -111,7 +111,7 @@ Placement.parameters = {
* A tooltip that shows on hover using CSS only. Note that this approach does not support text wrapping. Also, note
* that these tooltips will likely not work on touch-enabled devices without additional client-side scripting.
*/
export const ShowOnHover = TooltipShowOnHover.bind({});
export const ShowOnHover = Template.bind({});
ShowOnHover.tags = ["!dev"];
ShowOnHover.args = {
label: "Tooltip",
Expand All @@ -132,7 +132,7 @@ ShowOnHover.parameters = {
* customized. Unless it's being used to provide context about the exact same icon, a semantic tooltip should always
* show an icon. Doing this is essential for helping users with color vision deficiency to discern the message tone.
*/
export const SemanticVariants = SemanticVariantGroup.bind({});
export const SemanticVariants = Template.bind({});
SemanticVariants.tags = ["!dev"];
SemanticVariants.parameters = {
chromatic: { disableSnapshot: true },
Expand Down

0 comments on commit 230c342

Please sign in to comment.