@syscore/ui-library 1.1.12 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/components/icons/AchievementBadges.tsx +33 -0
- package/client/components/icons/ConceptIcons.tsx +169 -22
- package/client/components/icons/NavLogo.tsx +4 -4
- package/client/components/icons/ProviderBadges.tsx +28 -28
- package/client/components/icons/ProviderSeals.tsx +35 -35
- package/client/components/icons/StandardLogo.tsx +47 -0
- package/client/components/icons/UtilityChevronDown.tsx +1 -1
- package/client/components/icons/UtilityClearRegular.tsx +43 -0
- package/client/components/icons/UtilityCompare.tsx +71 -0
- package/client/components/icons/UtilityHome.tsx +26 -0
- package/client/components/icons/UtilityReset.tsx +7 -7
- package/client/components/icons/UtilitySave.tsx +35 -0
- package/client/components/icons/UtilityScopeLarge.tsx +86 -0
- package/client/components/icons/UtilityShow.tsx +41 -0
- package/client/components/icons/UtilityTarget.tsx +21 -0
- package/client/components/icons/UtilityTargetActive.tsx +34 -0
- package/client/components/icons/UtilityText.tsx +8 -8
- package/client/components/ui/breadcrumb.tsx +26 -4
- package/client/components/ui/button.tsx +30 -18
- package/client/components/ui/card.tsx +2 -2
- package/client/components/ui/code-badge.tsx +25 -0
- package/client/components/ui/dialog.tsx +4 -4
- package/client/components/ui/input.tsx +53 -9
- package/client/components/ui/label.tsx +2 -2
- package/client/components/ui/{Navigation.tsx → navigation.tsx} +291 -250
- package/client/components/ui/select.tsx +20 -20
- package/client/components/ui/tabs.tsx +27 -178
- package/client/components/ui/{Tag.tsx → tag.tsx} +11 -10
- package/client/components/ui/textarea.tsx +1 -1
- package/client/components/ui/toggle-group.tsx +19 -2
- package/client/components/ui/toggle.tsx +2 -2
- package/client/components/ui/tooltip.tsx +148 -8
- package/client/global.css +18 -11
- package/client/ui/AspectRatio.stories.tsx +1 -1
- package/client/ui/Button.stories.tsx +5 -5
- package/client/ui/Card.stories.tsx +223 -2
- package/client/ui/CodeBadge.stories.tsx +76 -0
- package/client/ui/Dialog.stories.tsx +52 -5
- package/client/ui/Icons.stories.tsx +31 -31
- package/client/ui/Input.stories.tsx +125 -0
- package/client/ui/Label.stories.tsx +8 -11
- package/client/ui/Navigation.stories.tsx +1 -1
- package/client/ui/RadioGroup/RadioGroup.stories.tsx +1 -1
- package/client/ui/SearchField.stories.tsx +1 -1
- package/client/ui/{Select/Select.stories.tsx → Select.stories.tsx} +2 -2
- package/client/ui/{Switch/Switch.stories.tsx → Switch.stories.tsx} +3 -3
- package/client/ui/Tabs.stories.tsx +174 -10
- package/client/ui/Tag.stories.tsx +48 -1
- package/client/ui/{Textarea/Textarea.stories.tsx → Textarea.stories.tsx} +9 -10
- package/client/ui/Toggle.stories.tsx +3 -3
- package/client/ui/Tooltip.stories.tsx +28 -4
- package/client/ui/WELLDashboard/WELLDashboard.stories.tsx +1 -1
- package/dist/ui/index.cjs.js +1 -1
- package/dist/ui/index.d.ts +4 -5
- package/dist/ui/index.es.js +460 -518
- package/package.json +2 -2
- package/client/components/ui/StrategyTable.tsx +0 -303
- package/client/ui/Input/Input.stories.tsx +0 -69
- package/client/ui/StrategyTable.stories.tsx +0 -138
- /package/client/components/ui/{SearchField.tsx → search.tsx} +0 -0
- /package/client/hooks/{UseTabs.tsx → use-tabs.tsx} +0 -0
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
Tooltip,
|
|
4
4
|
TooltipContent,
|
|
5
5
|
TooltipTrigger,
|
|
6
|
-
} from "
|
|
7
|
-
import { Separator } from "
|
|
8
|
-
import { Button } from "
|
|
6
|
+
} from "../components/ui/tooltip";
|
|
7
|
+
import { Separator } from "../components/ui/separator";
|
|
8
|
+
import { Button } from "../components/ui/button";
|
|
9
9
|
|
|
10
10
|
const meta = {
|
|
11
11
|
title: "Review/Tooltip",
|
|
@@ -46,7 +46,7 @@ export const WithContent: Story = {
|
|
|
46
46
|
render: () => (
|
|
47
47
|
<div className="p-16">
|
|
48
48
|
<Tooltip>
|
|
49
|
-
<TooltipTrigger>Hover</TooltipTrigger>
|
|
49
|
+
<TooltipTrigger>Hover with Content</TooltipTrigger>
|
|
50
50
|
<TooltipContent className="w-[400px]" alignOffset={500}>
|
|
51
51
|
<div className="space-y-4">
|
|
52
52
|
<h4 className="text-white font-semibold body-base">Header</h4>
|
|
@@ -70,3 +70,27 @@ export const WithContent: Story = {
|
|
|
70
70
|
</div>
|
|
71
71
|
),
|
|
72
72
|
};
|
|
73
|
+
|
|
74
|
+
export const Click: Story = {
|
|
75
|
+
render: () => (
|
|
76
|
+
<div className="p-16">
|
|
77
|
+
<Tooltip trigger="click">
|
|
78
|
+
<TooltipTrigger >
|
|
79
|
+
Click me
|
|
80
|
+
</TooltipTrigger>
|
|
81
|
+
<TooltipContent>
|
|
82
|
+
<div className="space-y-3">
|
|
83
|
+
<h4 className="text-white font-semibold text-base">
|
|
84
|
+
Click Tooltip
|
|
85
|
+
</h4>
|
|
86
|
+
<div className="space-y-1">
|
|
87
|
+
<p className="text-white/90 text-sm">
|
|
88
|
+
This tooltip opens on click and closes when clicking outside.
|
|
89
|
+
</p>
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
</TooltipContent>
|
|
93
|
+
</Tooltip>
|
|
94
|
+
</div>
|
|
95
|
+
),
|
|
96
|
+
};
|