@catalystsoftware/ui 1.0.5 → 1.0.7
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/dist/data/data.tsx +29 -29
- package/dist/data/tailwind.config.js +3821 -261
- package/dist/data.tsx +29 -29
- package/package.json +4 -3
- package/components/catalyst-ui/buttons/burger.tsx +0 -207
- package/components/catalyst-ui/core/data-display/timeline.tsx +0 -210
- package/components/catalyst-ui/core/feedback/alert.tsx +0 -491
- package/components/catalyst-ui/core/feedback/spinner-1.tsx +0 -65
- package/components/catalyst-ui/core/feedback/toast.tsx +0 -1857
- package/components/catalyst-ui/core/navigation/menu.tsx +0 -164
- package/components/catalyst-ui/forms/toggle-class.tsx +0 -176
- package/components/catalyst-ui/hooks/use-copy-to-clipboard.tsx +0 -419
- package/components/catalyst-ui/hooks/use-counter.tsx +0 -13
- package/components/catalyst-ui/hooks/use-event-listener.tsx +0 -23
- package/components/catalyst-ui/hooks/use-export-markdown.tsx +0 -47
- package/components/catalyst-ui/hooks/use-focus.tsx +0 -17
- package/components/catalyst-ui/hooks/use-interval.tsx +0 -23
- package/components/catalyst-ui/hooks/use-is-client.tsx +0 -16
- package/components/catalyst-ui/hooks/use-media-query.tsx +0 -19
- package/components/catalyst-ui/hooks/use-mobile.tsx +0 -19
- package/components/catalyst-ui/hooks/use-resize-observer.tsx +0 -81
- package/components/catalyst-ui/hooks/use-timeout.tsx +0 -21
- package/components/catalyst-ui/hooks/use-timer.tsx +0 -209
- package/components/catalyst-ui/hooks/use-toggle.tsx +0 -12
- package/components/catalyst-ui/media/image.tsx +0 -13
- package/components/catalyst-ui/overlays/dual-sidebar.tsx +0 -4142
- package/components/catalyst-ui/overlays/sidebar-original.tsx +0 -726
- package/components/catalyst-ui/primitives/accordion.tsx +0 -250
- package/components/catalyst-ui/primitives/alert-dialog.tsx +0 -126
- package/components/catalyst-ui/primitives/aspect-ratio.tsx +0 -9
- package/components/catalyst-ui/primitives/avatar.tsx +0 -296
- package/components/catalyst-ui/primitives/badge.tsx +0 -57
- package/components/catalyst-ui/primitives/breadcrumb.tsx +0 -101
- package/components/catalyst-ui/primitives/button.tsx +0 -265
- package/components/catalyst-ui/primitives/calendar-v4.tsx +0 -208
- package/components/catalyst-ui/primitives/calendar.tsx +0 -295
- package/components/catalyst-ui/primitives/card.tsx +0 -618
- package/components/catalyst-ui/primitives/carousel.tsx +0 -238
- package/components/catalyst-ui/primitives/chart.tsx +0 -347
- package/components/catalyst-ui/primitives/checkbox.tsx +0 -225
- package/components/catalyst-ui/primitives/collapsible.tsx +0 -212
- package/components/catalyst-ui/primitives/command.tsx +0 -393
- package/components/catalyst-ui/primitives/context-menu.tsx +0 -236
- package/components/catalyst-ui/primitives/dialog.tsx +0 -471
- package/components/catalyst-ui/primitives/drawer.tsx +0 -761
- package/components/catalyst-ui/primitives/dropdown-menu.tsx +0 -290
- package/components/catalyst-ui/primitives/empty.tsx +0 -104
- package/components/catalyst-ui/primitives/field.tsx +0 -244
- package/components/catalyst-ui/primitives/hover-card.tsx +0 -124
- package/components/catalyst-ui/primitives/input-otp.tsx +0 -76
- package/components/catalyst-ui/primitives/input.tsx +0 -64
- package/components/catalyst-ui/primitives/item.tsx +0 -196
- package/components/catalyst-ui/primitives/kbd.tsx +0 -75
- package/components/catalyst-ui/primitives/label.tsx +0 -24
- package/components/catalyst-ui/primitives/navigation-menu.tsx +0 -150
- package/components/catalyst-ui/primitives/pagination.tsx +0 -198
- package/components/catalyst-ui/primitives/popover.tsx +0 -232
- package/components/catalyst-ui/primitives/progress.tsx +0 -34
- package/components/catalyst-ui/primitives/radio-group.tsx +0 -43
- package/components/catalyst-ui/primitives/resizable.tsx +0 -56
- package/components/catalyst-ui/primitives/select.tsx +0 -155
- package/components/catalyst-ui/primitives/separator.tsx +0 -74
- package/components/catalyst-ui/primitives/sheet.tsx +0 -126
- package/components/catalyst-ui/primitives/skeleton.tsx +0 -15
- package/components/catalyst-ui/primitives/slider.tsx +0 -27
- package/components/catalyst-ui/primitives/switch.tsx +0 -187
- package/components/catalyst-ui/primitives/tabs.tsx +0 -335
- package/components/catalyst-ui/primitives/textarea.tsx +0 -24
- package/components/catalyst-ui/primitives/toggle-group.tsx +0 -55
- package/components/catalyst-ui/primitives/toggle.tsx +0 -42
- package/components/catalyst-ui/primitives/tooltip.tsx +0 -116
- package/components/catalyst-ui/utils/basic-auth.tsx +0 -40
- package/components/catalyst-ui/utils/context-storage.tsx +0 -19
- package/components/catalyst-ui/utils/cors-middleware.tsx +0 -71
- package/components/catalyst-ui/utils/deferred-content.tsx +0 -595
- package/components/catalyst-ui/utils/honeypot-middleware.tsx +0 -38
- package/components/catalyst-ui/utils/incId.tsx +0 -75
- package/components/catalyst-ui/utils/jwk-auth.tsx +0 -36
- package/components/catalyst-ui/utils/request-id.tsx +0 -14
- package/components/catalyst-ui/utils/secure-headers.tsx +0 -37
- package/components/catalyst-ui/utils/server-timing.tsx +0 -23
- package/components/catalyst-ui/utils/utils.ts +0 -43
- package/components/catalyst-ui/utils/with-cookie.tsx +0 -43
- package/components/catalyst-ui/x/accordian-x.tsx +0 -428
- package/components/catalyst-ui/x/alert-x.tsx +0 -413
- package/components/catalyst-ui/x/animated-text-x.tsx +0 -2242
- package/components/catalyst-ui/x/avatar-x.tsx +0 -515
- package/components/catalyst-ui/x/badge-x.tsx +0 -670
- package/components/catalyst-ui/x/button-X.tsx +0 -2857
- package/components/catalyst-ui/x/button-group-x.tsx +0 -847
- package/components/catalyst-ui/x/calendar-x.tsx +0 -1910
- package/components/catalyst-ui/x/card-x.tsx +0 -2597
- package/components/catalyst-ui/x/checkbox-x.tsx +0 -656
- package/components/catalyst-ui/x/collapsible-x.tsx +0 -1360
- package/components/catalyst-ui/x/combobox-x.tsx +0 -911
- package/components/catalyst-ui/x/data-table-x.tsx +0 -1753
- package/components/catalyst-ui/x/date-picker-x.tsx +0 -648
- package/components/catalyst-ui/x/dialog-x.tsx +0 -659
- package/components/catalyst-ui/x/dropdown-menu-x.tsx +0 -612
- package/components/catalyst-ui/x/hover-card-x.tsx +0 -375
- package/components/catalyst-ui/x/icon-x.tsx +0 -840
- package/components/catalyst-ui/x/input-mask-x.tsx +0 -981
- package/components/catalyst-ui/x/input-otp-x.tsx +0 -659
- package/components/catalyst-ui/x/loader-x.tsx +0 -1757
- package/components/catalyst-ui/x/pagination-x.tsx +0 -622
- package/components/catalyst-ui/x/popover-x.tsx +0 -744
- package/components/catalyst-ui/x/radio-group-x.tsx +0 -499
- package/components/catalyst-ui/x/select-x.tsx +0 -1127
- package/components/catalyst-ui/x/sheet-x.tsx +0 -668
- package/components/catalyst-ui/x/switch-x.tsx +0 -681
- package/components/catalyst-ui/x/table-x.tsx +0 -574
- package/components/catalyst-ui/x/tabs-x.tsx +0 -839
- package/components/catalyst-ui/x/textarea-x.tsx +0 -1263
- package/components/catalyst-ui/x/tooltip-x.tsx +0 -396
- package/components/catalyst-ui/x/tracker-x.tsx +0 -560
- package/data/bg-data.tsx +0 -901
- package/data/buttons-data.tsx +0 -2327
- package/data/charts-data.tsx +0 -102
- package/data/chat-data.tsx +0 -83
- package/data/code-data.tsx +0 -1040
- package/data/comboboxes-data.tsx +0 -1843
- package/data/command-data.tsx +0 -1381
- package/data/core-data.tsx +0 -15953
- package/data/crm-data.tsx +0 -47
- package/data/data.tsx +0 -159
- package/data/date-and-time-data.tsx +0 -554
- package/data/dependencies.tsx +0 -7
- package/data/ecommerce-data.tsx +0 -1387
- package/data/forms-data.tsx +0 -7890
- package/data/hooks-data.tsx +0 -5487
- package/data/index.ts +0 -34
- package/data/inputs-data.tsx +0 -557
- package/data/interactive-data.tsx +0 -5394
- package/data/lofi-data.tsx +0 -18295
- package/data/marketing-data.tsx +0 -2546
- package/data/media-data.tsx +0 -1510
- package/data/motion-data.tsx +0 -5801
- package/data/overlay-data.tsx +0 -4136
- package/data/pdf-data.tsx +0 -124
- package/data/pos-data.tsx +0 -213
- package/data/postcss.config.js +0 -6
- package/data/primitive-data.tsx +0 -5170
- package/data/prompt-data.tsx +0 -1226
- package/data/requiredLibs.ts +0 -4
- package/data/sandbox-data.tsx +0 -1
- package/data/sidebars-data.tsx +0 -5421
- package/data/stacks-data.tsx +0 -32
- package/data/table-data.tsx +0 -706
- package/data/tailwind.config.js +0 -270
- package/data/tailwind.config.ngin.js +0 -3830
- package/data/tailwind.css +0 -431
- package/data/tools-data.tsx +0 -6910
- package/data/typography-data.tsx +0 -2050
- package/data/utils-data.tsx +0 -6500
- package/data/x-data.tsx +0 -1171
package/data/charts-data.tsx
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
export const chartComps = [
|
|
2
|
-
{
|
|
3
|
-
name: "chart-display",
|
|
4
|
-
value: "chart-display",
|
|
5
|
-
importPath: "~/components/catalyst-ui/charts/chart-display",
|
|
6
|
-
multiImport: "EnhancedChart, EnhancedChartDemo",
|
|
7
|
-
path: "/components/catalyst-ui/charts/chart-display.tsx",
|
|
8
|
-
premium: true,
|
|
9
|
-
source: null,
|
|
10
|
-
category: "Charts: Blocks",
|
|
11
|
-
tags: ["ui", "components", "interactive"],
|
|
12
|
-
features: ["Responsive", "TypeScript", "Accessible"],
|
|
13
|
-
dependencies: ["react", "recharts", "lucide-react"],
|
|
14
|
-
usage: null,
|
|
15
|
-
usagePath: "/components/catalyst-ui/charts/chart-display.tsx",
|
|
16
|
-
props: {},
|
|
17
|
-
desc: null,
|
|
18
|
-
status: null,
|
|
19
|
-
lastUpdated: null
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
name: "chart-toolbar",
|
|
23
|
-
value: "chart-toolbar",
|
|
24
|
-
importPath: "~/components/catalyst-ui/charts/chart-toolbar",
|
|
25
|
-
multiImport: "EnhancedChart, EnhancedChartDemo",
|
|
26
|
-
path: "/components/catalyst-ui/charts/chart-toolbar.tsx",
|
|
27
|
-
premium: true,
|
|
28
|
-
source: null,
|
|
29
|
-
category: "Charts: Blocks",
|
|
30
|
-
tags: ["ui", "components", "interactive"],
|
|
31
|
-
features: ["Responsive", "TypeScript", "Accessible"],
|
|
32
|
-
dependencies: ["react", "recharts", "lucide-react"],
|
|
33
|
-
usage: null,
|
|
34
|
-
usagePath: "/components/catalyst-ui/charts/chart-toolbar.tsx",
|
|
35
|
-
props: {},
|
|
36
|
-
desc: null,
|
|
37
|
-
status: null,
|
|
38
|
-
lastUpdated: null
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
name: "Enhanced Chart",
|
|
42
|
-
value: "enhanced-chart",
|
|
43
|
-
importPath: "~/components/catalyst-ui/charts/enhanced-chart",
|
|
44
|
-
multiImport: "EnhancedChart, EnhancedChartDemo",
|
|
45
|
-
path: "/components/catalyst-ui/charts/enhanced-chart.tsx",
|
|
46
|
-
premium: true,
|
|
47
|
-
source: null,
|
|
48
|
-
category: "Charts: Blocks",
|
|
49
|
-
tags: ["ui", "components", "interactive"],
|
|
50
|
-
features: ["Responsive", "TypeScript", "Accessible"],
|
|
51
|
-
dependencies: ["react", "recharts", "lucide-react"],
|
|
52
|
-
usage: null,
|
|
53
|
-
usagePath: "/components/catalyst-ui/charts/enhanced-chart.tsx",
|
|
54
|
-
props: {
|
|
55
|
-
"MetricCard": [
|
|
56
|
-
{ name: "metric", type: "string", default: null }
|
|
57
|
-
],
|
|
58
|
-
"ChartControls": [
|
|
59
|
-
{ name: "type", type: "string", default: null },
|
|
60
|
-
{ name: "onTypeChange", type: "string", default: null },
|
|
61
|
-
{ name: "exportable", type: "string", default: null },
|
|
62
|
-
{ name: "onExport", type: "string", default: null },
|
|
63
|
-
{ name: "filterable", type: "string", default: null },
|
|
64
|
-
{ name: "onFilter", type: "string", default: null },
|
|
65
|
-
{ name: "searchable", type: "string", default: null },
|
|
66
|
-
{ name: "onSearch", type: "string", default: null },
|
|
67
|
-
{ name: "fullscreen", type: "string", default: null },
|
|
68
|
-
{ name: "onFullscreen", type: "string", default: null }
|
|
69
|
-
],
|
|
70
|
-
"EnhancedChart": [
|
|
71
|
-
{ name: "data", type: "string", default: null },
|
|
72
|
-
{ name: "config", type: "string", default: null },
|
|
73
|
-
{ name: "title", type: "string", default: null },
|
|
74
|
-
{ name: "description", type: "string", default: null },
|
|
75
|
-
{ name: "type", type: "string", default: "bar" },
|
|
76
|
-
{ name: "variant", type: "string", default: "default" },
|
|
77
|
-
{ name: "metrics", type: "string", default: null },
|
|
78
|
-
{ name: "exportable", type: "boolean", default: false },
|
|
79
|
-
{ name: "filterable", type: "boolean", default: false },
|
|
80
|
-
{ name: "searchable", type: "boolean", default: false },
|
|
81
|
-
{ name: "dateRange", type: "boolean", default: false },
|
|
82
|
-
{ name: "fullscreen", type: "boolean", default: false },
|
|
83
|
-
{ name: "className", type: "string", default: null },
|
|
84
|
-
{ name: "height", type: "number", default: 400 },
|
|
85
|
-
{ name: "showGrid", type: "boolean", default: true },
|
|
86
|
-
{ name: "showXAxis", type: "boolean", default: true },
|
|
87
|
-
{ name: "showYAxis", type: "boolean", default: true },
|
|
88
|
-
{ name: "showTooltip", type: "boolean", default: true },
|
|
89
|
-
{ name: "showLegend", type: "boolean", default: true },
|
|
90
|
-
{ name: "colorScheme", type: "string", default: "default" },
|
|
91
|
-
{ name: "animation", type: "boolean", default: true },
|
|
92
|
-
{ name: "responsive", type: "boolean", default: true },
|
|
93
|
-
{ name: "dataKey", type: "string", default: "date" },
|
|
94
|
-
{ name: "onDataPointClick", type: "string", default: null },
|
|
95
|
-
{ name: "onExport", type: "string", default: null }
|
|
96
|
-
],
|
|
97
|
-
},
|
|
98
|
-
desc: null,
|
|
99
|
-
status: null,
|
|
100
|
-
lastUpdated: null
|
|
101
|
-
},
|
|
102
|
-
];
|
package/data/chat-data.tsx
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
// @dev app/components/catalyst-ui/data/chat-data.tsx:12
|
|
2
|
-
export const chatData = [
|
|
3
|
-
{
|
|
4
|
-
name: "message dock",
|
|
5
|
-
value: "message-dock",
|
|
6
|
-
importPath: "~/components/catalyst-ui/chat/message-dock",
|
|
7
|
-
multiImport: null,
|
|
8
|
-
basicusage: `
|
|
9
|
-
const customCharacters: Character[] = [
|
|
10
|
-
{ emoji: "✨", name: "Sparkle", online: false },
|
|
11
|
-
{
|
|
12
|
-
emoji: "🧙♂️",
|
|
13
|
-
name: "Wizard",
|
|
14
|
-
online: true,
|
|
15
|
-
backgroundColor: "bg-emerald-200 dark:bg-emerald-300",
|
|
16
|
-
gradientColors: "#a7f3d0, #ecfdf5",
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
emoji: "🦄",
|
|
20
|
-
name: "Unicorn",
|
|
21
|
-
online: true,
|
|
22
|
-
backgroundColor: "bg-violet-200 dark:bg-violet-300",
|
|
23
|
-
gradientColors: "#c4b5fd, #f5f3ff",
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
emoji: "🐵",
|
|
27
|
-
name: "Monkey",
|
|
28
|
-
online: true,
|
|
29
|
-
backgroundColor: "bg-amber-200 dark:bg-amber-300",
|
|
30
|
-
gradientColors: "#fde68a, #fffbeb",
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
emoji: "🤖",
|
|
34
|
-
name: "Robot",
|
|
35
|
-
online: false,
|
|
36
|
-
backgroundColor: "bg-rose-200 dark:bg-rose-300",
|
|
37
|
-
gradientColors: "#fecaca, #fef2f2",
|
|
38
|
-
},
|
|
39
|
-
];
|
|
40
|
-
export default function MessageDockDemo() {
|
|
41
|
-
const handleMessageSend = (message: string, character: Character, index: number) => {
|
|
42
|
-
console.log("Message sent:", { message, character: character.name, index });
|
|
43
|
-
};
|
|
44
|
-
const handleCharacterSelect = (character: Character) => {
|
|
45
|
-
console.log("Character selected:", character.name);
|
|
46
|
-
};
|
|
47
|
-
const handleDockToggle = (isExpanded: boolean) => {
|
|
48
|
-
console.log("Dock expanded:", isExpanded);
|
|
49
|
-
};
|
|
50
|
-
return (
|
|
51
|
-
<div className="flex items-center justify-center min-h-[120px] w-full p-6">
|
|
52
|
-
<MessageDock
|
|
53
|
-
characters={customCharacters}
|
|
54
|
-
onMessageSend={handleMessageSend}
|
|
55
|
-
onCharacterSelect={handleCharacterSelect}
|
|
56
|
-
onDockToggle={handleDockToggle}
|
|
57
|
-
expandedWidth={400}
|
|
58
|
-
placeholder={(name) => \`Message \${name}...\`}
|
|
59
|
-
enableAnimations={true}
|
|
60
|
-
closeOnSend={true}
|
|
61
|
-
autoFocus={true}
|
|
62
|
-
className="relative"
|
|
63
|
-
/>
|
|
64
|
-
</div>
|
|
65
|
-
);
|
|
66
|
-
}`,
|
|
67
|
-
path: "/components/catalyst-ui/chat/message-dock.tsx",
|
|
68
|
-
source: null,
|
|
69
|
-
usagePath: "/components/catalyst-ui/chat/message-dock.tsx",
|
|
70
|
-
usage: null,
|
|
71
|
-
premium: true,
|
|
72
|
-
category: "Chat",
|
|
73
|
-
tags: ["backgrounds", "particles", "animated", "canvas", "interactive", "mouse"],
|
|
74
|
-
features: ["Responsive", "TypeScript", "Accessible", "Canvas Rendering", "Mouse Interaction", "Magnetic Effect", "Customizable Colors", "Velocity Control"],
|
|
75
|
-
dependencies: ["react"],
|
|
76
|
-
props: {
|
|
77
|
-
"message-dock": [],
|
|
78
|
-
},
|
|
79
|
-
desc: null,
|
|
80
|
-
status: null,
|
|
81
|
-
lastUpdated: null
|
|
82
|
-
},
|
|
83
|
-
];
|