Skip to content

Commit 230c342

Browse files
committed
chore(im): removing more unused imports
1 parent 9327ed4 commit 230c342

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/tooltip/stories/tooltip.stories.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { disableDefaultModes } from "@spectrum-css/preview/modes";
22
import { isFocused, isOpen } from "@spectrum-css/preview/types";
33
import metadata from "../metadata/metadata.json";
44
import packageJson from "../package.json";
5-
import { SemanticVariantGroup, TooltipPlacementGroup, TooltipShowOnHover } from "./template.js";
5+
import { Template } from "./template.js";
66
import { PlacementVariants } from "./tooltip.test.js";
77

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

0 commit comments

Comments
 (0)