chore: extract tooltip into package

- chore: add sanity check unit test
- chore: added tailwind.config.js to fix build
- chore: .swcrc added for tests to pass
- chore(deps): sass is not a dependency
- fix: manually import the tooltip css to fix tooltips not showing up
- chore: Run lint:fix against code
- chore: Fix use of mock in @k8slens/core

Signed-off-by: Gabriel <gaccettola@mirantis.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Gabriel authored and Sebastian Malton committed 2023-04-19 09:21:04 -04:00
1 parent c7df928acc
commit 01059d8cb1
42 files changed
+268 -101

No files matched your search

@@ -14,7 +14,7 @@ import { observer } from "mobx-react";
import type { AvatarProps } from "../avatar";
import { Avatar } from "../avatar";
import { Icon } from "../icon";
import { Tooltip } from "../tooltip";
import { Tooltip } from "@k8slens/tooltip";
import type { NormalizeCatalogEntityContextMenu } from "../../catalog/normalize-menu-item.injectable";
import { withInjectables } from "@ogre-tools/injectable-react";
import normalizeCatalogEntityContextMenuInjectable from "../../catalog/normalize-menu-item.injectable";
@@ -8,7 +8,7 @@ import React, { useRef, useState } from "react";
import { Icon } from "../icon";
import { Badge } from "../badge";
import { HotbarSwitchCommand } from "./hotbar-switch-command";
import { Tooltip, TooltipPosition } from "../tooltip";
import { Tooltip, TooltipPosition } from "@k8slens/tooltip";
import { observer } from "mobx-react";
import { withInjectables } from "@ogre-tools/injectable-react";
import commandOverlayInjectable from "../command-palette/command-overlay.injectable";