@catalystsoftware/ui 1.0.4 → 1.0.5
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/data/tailwind.config.js +261 -3821
- package/dist/components/catalyst-ui/buttons/burger.tsx +207 -0
- package/dist/components/catalyst-ui/core/data-display/timeline.tsx +210 -0
- package/dist/components/catalyst-ui/core/feedback/alert.tsx +491 -0
- package/dist/components/catalyst-ui/core/feedback/spinner-1.tsx +65 -0
- package/dist/components/catalyst-ui/core/feedback/toast.tsx +1857 -0
- package/dist/components/catalyst-ui/core/navigation/menu.tsx +164 -0
- package/dist/components/catalyst-ui/forms/toggle-class.tsx +176 -0
- package/dist/components/catalyst-ui/hooks/use-copy-to-clipboard.tsx +419 -0
- package/dist/components/catalyst-ui/hooks/use-counter.tsx +13 -0
- package/dist/components/catalyst-ui/hooks/use-event-listener.tsx +23 -0
- package/dist/components/catalyst-ui/hooks/use-export-markdown.tsx +47 -0
- package/dist/components/catalyst-ui/hooks/use-focus.tsx +17 -0
- package/dist/components/catalyst-ui/hooks/use-interval.tsx +23 -0
- package/dist/components/catalyst-ui/hooks/use-is-client.tsx +16 -0
- package/dist/components/catalyst-ui/hooks/use-media-query.tsx +19 -0
- package/dist/components/catalyst-ui/hooks/use-mobile.tsx +19 -0
- package/dist/components/catalyst-ui/hooks/use-resize-observer.tsx +81 -0
- package/dist/components/catalyst-ui/hooks/use-timeout.tsx +21 -0
- package/dist/components/catalyst-ui/hooks/use-timer.tsx +209 -0
- package/dist/components/catalyst-ui/hooks/use-toggle.tsx +12 -0
- package/dist/components/catalyst-ui/media/image.tsx +13 -0
- package/dist/components/catalyst-ui/overlays/dual-sidebar.tsx +4142 -0
- package/dist/components/catalyst-ui/overlays/sidebar-original.tsx +726 -0
- package/dist/components/catalyst-ui/primitives/accordion.tsx +250 -0
- package/dist/components/catalyst-ui/primitives/alert-dialog.tsx +126 -0
- package/dist/components/catalyst-ui/primitives/aspect-ratio.tsx +9 -0
- package/dist/components/catalyst-ui/primitives/avatar.tsx +296 -0
- package/dist/components/catalyst-ui/primitives/badge.tsx +57 -0
- package/dist/components/catalyst-ui/primitives/breadcrumb.tsx +101 -0
- package/dist/components/catalyst-ui/primitives/button.tsx +265 -0
- package/dist/components/catalyst-ui/primitives/calendar-v4.tsx +208 -0
- package/dist/components/catalyst-ui/primitives/calendar.tsx +295 -0
- package/dist/components/catalyst-ui/primitives/card.tsx +618 -0
- package/dist/components/catalyst-ui/primitives/carousel.tsx +238 -0
- package/dist/components/catalyst-ui/primitives/chart.tsx +347 -0
- package/dist/components/catalyst-ui/primitives/checkbox.tsx +225 -0
- package/dist/components/catalyst-ui/primitives/collapsible.tsx +212 -0
- package/dist/components/catalyst-ui/primitives/command.tsx +393 -0
- package/dist/components/catalyst-ui/primitives/context-menu.tsx +236 -0
- package/dist/components/catalyst-ui/primitives/dialog.tsx +471 -0
- package/dist/components/catalyst-ui/primitives/drawer.tsx +761 -0
- package/dist/components/catalyst-ui/primitives/dropdown-menu.tsx +290 -0
- package/dist/components/catalyst-ui/primitives/empty.tsx +104 -0
- package/dist/components/catalyst-ui/primitives/field.tsx +244 -0
- package/dist/components/catalyst-ui/primitives/hover-card.tsx +124 -0
- package/dist/components/catalyst-ui/primitives/input-otp.tsx +76 -0
- package/dist/components/catalyst-ui/primitives/input.tsx +64 -0
- package/dist/components/catalyst-ui/primitives/item.tsx +196 -0
- package/dist/components/catalyst-ui/primitives/kbd.tsx +75 -0
- package/dist/components/catalyst-ui/primitives/label.tsx +24 -0
- package/dist/components/catalyst-ui/primitives/navigation-menu.tsx +150 -0
- package/dist/components/catalyst-ui/primitives/pagination.tsx +198 -0
- package/dist/components/catalyst-ui/primitives/popover.tsx +232 -0
- package/dist/components/catalyst-ui/primitives/progress.tsx +34 -0
- package/dist/components/catalyst-ui/primitives/radio-group.tsx +43 -0
- package/dist/components/catalyst-ui/primitives/resizable.tsx +56 -0
- package/dist/components/catalyst-ui/primitives/select.tsx +155 -0
- package/dist/components/catalyst-ui/primitives/separator.tsx +74 -0
- package/dist/components/catalyst-ui/primitives/sheet.tsx +126 -0
- package/dist/components/catalyst-ui/primitives/skeleton.tsx +15 -0
- package/dist/components/catalyst-ui/primitives/slider.tsx +27 -0
- package/dist/components/catalyst-ui/primitives/switch.tsx +187 -0
- package/dist/components/catalyst-ui/primitives/tabs.tsx +335 -0
- package/dist/components/catalyst-ui/primitives/textarea.tsx +24 -0
- package/dist/components/catalyst-ui/primitives/toggle-group.tsx +55 -0
- package/dist/components/catalyst-ui/primitives/toggle.tsx +42 -0
- package/dist/components/catalyst-ui/primitives/tooltip.tsx +116 -0
- package/dist/components/catalyst-ui/utils/basic-auth.tsx +40 -0
- package/dist/components/catalyst-ui/utils/context-storage.tsx +19 -0
- package/dist/components/catalyst-ui/utils/cors-middleware.tsx +71 -0
- package/dist/components/catalyst-ui/utils/deferred-content.tsx +595 -0
- package/dist/components/catalyst-ui/utils/honeypot-middleware.tsx +38 -0
- package/dist/components/catalyst-ui/utils/incId.tsx +75 -0
- package/dist/components/catalyst-ui/utils/jwk-auth.tsx +36 -0
- package/dist/components/catalyst-ui/utils/request-id.tsx +14 -0
- package/dist/components/catalyst-ui/utils/secure-headers.tsx +37 -0
- package/dist/components/catalyst-ui/utils/server-timing.tsx +23 -0
- package/dist/components/catalyst-ui/utils/utils.ts +43 -0
- package/dist/components/catalyst-ui/utils/with-cookie.tsx +43 -0
- package/dist/components/catalyst-ui/x/accordian-x.tsx +428 -0
- package/dist/components/catalyst-ui/x/alert-x.tsx +413 -0
- package/dist/components/catalyst-ui/x/animated-text-x.tsx +2242 -0
- package/dist/components/catalyst-ui/x/avatar-x.tsx +515 -0
- package/dist/components/catalyst-ui/x/badge-x.tsx +670 -0
- package/dist/components/catalyst-ui/x/button-X.tsx +2857 -0
- package/dist/components/catalyst-ui/x/button-group-x.tsx +847 -0
- package/dist/components/catalyst-ui/x/calendar-x.tsx +1910 -0
- package/dist/components/catalyst-ui/x/card-x.tsx +2597 -0
- package/dist/components/catalyst-ui/x/checkbox-x.tsx +656 -0
- package/dist/components/catalyst-ui/x/collapsible-x.tsx +1360 -0
- package/dist/components/catalyst-ui/x/combobox-x.tsx +911 -0
- package/dist/components/catalyst-ui/x/data-table-x.tsx +1753 -0
- package/dist/components/catalyst-ui/x/date-picker-x.tsx +648 -0
- package/dist/components/catalyst-ui/x/dialog-x.tsx +659 -0
- package/dist/components/catalyst-ui/x/dropdown-menu-x.tsx +612 -0
- package/dist/components/catalyst-ui/x/hover-card-x.tsx +375 -0
- package/dist/components/catalyst-ui/x/icon-x.tsx +840 -0
- package/dist/components/catalyst-ui/x/input-mask-x.tsx +981 -0
- package/dist/components/catalyst-ui/x/input-otp-x.tsx +659 -0
- package/dist/components/catalyst-ui/x/loader-x.tsx +1757 -0
- package/dist/components/catalyst-ui/x/pagination-x.tsx +622 -0
- package/dist/components/catalyst-ui/x/popover-x.tsx +744 -0
- package/dist/components/catalyst-ui/x/radio-group-x.tsx +499 -0
- package/dist/components/catalyst-ui/x/select-x.tsx +1127 -0
- package/dist/components/catalyst-ui/x/sheet-x.tsx +668 -0
- package/dist/components/catalyst-ui/x/switch-x.tsx +681 -0
- package/dist/components/catalyst-ui/x/table-x.tsx +574 -0
- package/dist/components/catalyst-ui/x/tabs-x.tsx +839 -0
- package/dist/components/catalyst-ui/x/textarea-x.tsx +1263 -0
- package/dist/components/catalyst-ui/x/tooltip-x.tsx +396 -0
- package/dist/components/catalyst-ui/x/tracker-x.tsx +560 -0
- package/dist/data/bg-data.tsx +901 -0
- package/dist/data/buttons-data.tsx +2327 -0
- package/dist/data/charts-data.tsx +102 -0
- package/dist/data/chat-data.tsx +83 -0
- package/dist/data/code-data.tsx +1040 -0
- package/dist/data/comboboxes-data.tsx +1843 -0
- package/dist/data/command-data.tsx +1381 -0
- package/dist/data/core-data.tsx +15953 -0
- package/dist/data/crm-data.tsx +47 -0
- package/dist/data/data.tsx +159 -0
- package/dist/data/date-and-time-data.tsx +554 -0
- package/dist/data/dependencies.tsx +7 -0
- package/dist/data/ecommerce-data.tsx +1387 -0
- package/dist/data/forms-data.tsx +7890 -0
- package/dist/data/hooks-data.tsx +5487 -0
- package/dist/data/index.ts +34 -0
- package/dist/data/inputs-data.tsx +557 -0
- package/dist/data/interactive-data.tsx +5394 -0
- package/dist/data/lofi-data.tsx +18295 -0
- package/dist/data/marketing-data.tsx +2546 -0
- package/dist/data/media-data.tsx +1510 -0
- package/dist/data/motion-data.tsx +5801 -0
- package/dist/data/overlay-data.tsx +4136 -0
- package/dist/data/pdf-data.tsx +124 -0
- package/dist/data/pos-data.tsx +213 -0
- package/dist/data/postcss.config.js +6 -0
- package/dist/data/primitive-data.tsx +5170 -0
- package/dist/data/prompt-data.tsx +1226 -0
- package/dist/data/requiredLibs.ts +4 -0
- package/dist/data/sandbox-data.tsx +1 -0
- package/dist/data/sidebars-data.tsx +5421 -0
- package/dist/data/stacks-data.tsx +32 -0
- package/dist/data/table-data.tsx +706 -0
- package/dist/data/tailwind.config.js +270 -0
- package/dist/data/tailwind.config.ngin.js +3830 -0
- package/dist/data/tailwind.css +431 -0
- package/dist/data/tools-data.tsx +6910 -0
- package/dist/data/typography-data.tsx +2050 -0
- package/dist/data/utils-data.tsx +6500 -0
- package/dist/data/x-data.tsx +1171 -0
- package/dist/data.tsx +159 -0
- package/package.json +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -362
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export const crmPages = [];
|
|
2
|
+
export const crmTools = [
|
|
3
|
+
{
|
|
4
|
+
name: "Scripts Editor",
|
|
5
|
+
value: "scripts-editor",
|
|
6
|
+
importPath: "~/components/catalyst-ui/crm/tools/scripts-editor",
|
|
7
|
+
multiImport: null,
|
|
8
|
+
path: "/components/catalyst-ui/crm/tools/scripts-editor.tsx",
|
|
9
|
+
premium: true,
|
|
10
|
+
category: "CRM: Tools ",
|
|
11
|
+
tags: ["ui", "components", "interactive"],
|
|
12
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
13
|
+
dependencies: ["react", "lucide-react", "@remix-run", "@monaco-editor"],
|
|
14
|
+
basicusage: `
|
|
15
|
+
<ScriptsEditor />`,
|
|
16
|
+
usage: null,
|
|
17
|
+
usagePath: null,
|
|
18
|
+
props: {},
|
|
19
|
+
desc: null,
|
|
20
|
+
status: null,
|
|
21
|
+
lastUpdated: null
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: "Scripts Viewer",
|
|
25
|
+
value: "scripts-viewer",
|
|
26
|
+
importPath: "~/components/catalyst-ui/crm/tools/scripts-viewer",
|
|
27
|
+
multiImport: null,
|
|
28
|
+
path: "/components/catalyst-ui/crm/tools/scripts-viewer.tsx",
|
|
29
|
+
premium: true,
|
|
30
|
+
category: "CRM: Tools ",
|
|
31
|
+
tags: ["ui", "components", "interactive"],
|
|
32
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
33
|
+
dependencies: ["react", "lucide-react", "@remix-run"],
|
|
34
|
+
basicusage: `
|
|
35
|
+
<ScriptsViewer />`,
|
|
36
|
+
usage: null,
|
|
37
|
+
usagePath: null,
|
|
38
|
+
props: {},
|
|
39
|
+
desc: null,
|
|
40
|
+
status: null,
|
|
41
|
+
lastUpdated: null
|
|
42
|
+
}
|
|
43
|
+
];
|
|
44
|
+
export const combinedCRM = [
|
|
45
|
+
...crmTools,
|
|
46
|
+
...crmPages,
|
|
47
|
+
];
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
// remove line
|
|
2
|
+
// remove line
|
|
3
|
+
// remove line
|
|
4
|
+
import { combinedCore, } from "./data/core-data";
|
|
5
|
+
import { combinedCRM, } from "./data/crm-data";
|
|
6
|
+
import { combinedEcom, } from "./data/ecommerce-data";
|
|
7
|
+
import { combinedTools, } from "./data/tools-data";
|
|
8
|
+
import { hooksArray } from "./data/hooks-data";
|
|
9
|
+
import { lofiSection } from "./data/lofi-data";
|
|
10
|
+
import { combinedPdf } from "./data/pdf-data";
|
|
11
|
+
import { utilsData } from "./data/utils-data";
|
|
12
|
+
import { utilsBlocks } from "./data/utils-data";
|
|
13
|
+
import { sidebarnavcomps, } from "./data/sidebars-data";
|
|
14
|
+
import { buttonsData } from "./data/buttons-data";
|
|
15
|
+
import { chartComps } from "./data/charts-data";
|
|
16
|
+
import { codeData } from "./data/code-data";
|
|
17
|
+
import { componentsTimeData } from "./data/date-and-time-data";
|
|
18
|
+
import { formsData } from "./data/forms-data";
|
|
19
|
+
import { interactiveData } from "./data/interactive-data";
|
|
20
|
+
import { componentsMedia } from "./data/media-data";
|
|
21
|
+
import { OverlayData } from "./data/overlay-data";
|
|
22
|
+
import { primitiveDaata } from "./data/primitive-data";
|
|
23
|
+
import { aiPrompt } from "./data/prompt-data";
|
|
24
|
+
import { aiPromptBlocks } from "./data/prompt-data";
|
|
25
|
+
import { componentsTable } from "./data/table-data";
|
|
26
|
+
import { backgroundData } from "./data/bg-data";
|
|
27
|
+
import { componentsTypography } from "./data/typography-data";
|
|
28
|
+
import { combinedPos } from "./data/pos-data";
|
|
29
|
+
import { marketingSections, marketingPages, marketingFeedback } from "./data/marketing-data";
|
|
30
|
+
import { inputs } from "./data/inputs-data";
|
|
31
|
+
import { xData } from "./data/x-data";
|
|
32
|
+
import { Motions } from "./data/motion-data";
|
|
33
|
+
|
|
34
|
+
export const combinedSections = [
|
|
35
|
+
...backgroundData,
|
|
36
|
+
...buttonsData,
|
|
37
|
+
...chartComps,
|
|
38
|
+
...codeData,
|
|
39
|
+
...combinedCore,
|
|
40
|
+
...combinedCRM,
|
|
41
|
+
...componentsTimeData,
|
|
42
|
+
...combinedEcom,
|
|
43
|
+
...formsData,
|
|
44
|
+
...hooksArray,
|
|
45
|
+
...interactiveData,
|
|
46
|
+
...lofiSection,
|
|
47
|
+
...marketingSections,
|
|
48
|
+
...marketingPages,
|
|
49
|
+
...marketingFeedback,
|
|
50
|
+
...componentsMedia,
|
|
51
|
+
...OverlayData,
|
|
52
|
+
...combinedPdf,
|
|
53
|
+
...combinedPos,
|
|
54
|
+
...primitiveDaata,
|
|
55
|
+
...aiPrompt,
|
|
56
|
+
...sidebarnavcomps,
|
|
57
|
+
...componentsTable,
|
|
58
|
+
...combinedTools,
|
|
59
|
+
...componentsTypography,
|
|
60
|
+
...utilsData,
|
|
61
|
+
...utilsBlocks,
|
|
62
|
+
...inputs,
|
|
63
|
+
...xData,
|
|
64
|
+
...Motions,
|
|
65
|
+
];
|
|
66
|
+
|
|
67
|
+
export const combinedBlocksArray = [
|
|
68
|
+
// remove line
|
|
69
|
+
// remove line
|
|
70
|
+
// remove line
|
|
71
|
+
...aiPromptBlocks,
|
|
72
|
+
]
|
|
73
|
+
|
|
74
|
+
export const combinedBoth = [
|
|
75
|
+
...combinedSections,
|
|
76
|
+
...combinedBlocksArray
|
|
77
|
+
]
|
|
78
|
+
export const categories = [
|
|
79
|
+
{ name: "Chat" },
|
|
80
|
+
{ name: "Background" },
|
|
81
|
+
{ name: "Blocks" },
|
|
82
|
+
{ name: "Forms: Blocks" },
|
|
83
|
+
{ name: "Interactive: Blocks" },
|
|
84
|
+
{ name: "Core: Blocks" },
|
|
85
|
+
{ name: "Marketing: Blocks" },
|
|
86
|
+
{ name: "E-Commerce: Blocks" },
|
|
87
|
+
{ name: "E-Commerce Pricing: Blocks" },
|
|
88
|
+
{ name: "E-Commerce Product: Blocks" },
|
|
89
|
+
{ name: "E-Commerce Checkout: Blocks" },
|
|
90
|
+
{ name: "E-Commerce Order: Blocks" },
|
|
91
|
+
{ name: "E-Commerce Payment Form: Blocks" },
|
|
92
|
+
{ name: "E-Commerce Shopping Cart: Blocks" },
|
|
93
|
+
{ name: "Buttons: Blocks" },
|
|
94
|
+
{ name: "Charts: Blocks" },
|
|
95
|
+
{ name: "CRM: Blocks" },
|
|
96
|
+
{ name: "Code: Blocks" },
|
|
97
|
+
{ name: "Media: Blocks" },
|
|
98
|
+
{ name: "Primitives: Blocks" },
|
|
99
|
+
{ name: "Prompt: Blocks" },
|
|
100
|
+
{ name: "POS: Blocks" },
|
|
101
|
+
{ name: "Overlays: Blocks" },
|
|
102
|
+
{ name: "Sidebars: Blocks" },
|
|
103
|
+
{ name: "Table: Blocks" },
|
|
104
|
+
{ name: "Tools: Blocks" },
|
|
105
|
+
{ name: "Utils: Blocks" },
|
|
106
|
+
{ name: "Typography: Blocks" },
|
|
107
|
+
{ name: "PDF: Blocks" },
|
|
108
|
+
{ name: "Date and Time: Blocks" },
|
|
109
|
+
{ name: "Core: Minimalist: Blocks" },
|
|
110
|
+
{ name: "Buttons" },
|
|
111
|
+
{ name: "Charts" },
|
|
112
|
+
{ name: "Core: Components" },
|
|
113
|
+
{ name: "Core: Data Display" },
|
|
114
|
+
{ name: "Core: Feedback" },
|
|
115
|
+
{ name: "Core: Forms" },
|
|
116
|
+
{ name: "Core: Headings" },
|
|
117
|
+
{ name: "Core: Layout" },
|
|
118
|
+
{ name: "Core: Lists" },
|
|
119
|
+
{ name: "Core: Login - Sign-up - Register Core: Blocks" },
|
|
120
|
+
{ name: "Core: Modules" },
|
|
121
|
+
{ name: "Core: Navbars" },
|
|
122
|
+
{ name: "Core: Sections" },
|
|
123
|
+
{ name: "Core: Shell" },
|
|
124
|
+
{ name: "Core: Minimalist" },
|
|
125
|
+
{ name: "CRM" },
|
|
126
|
+
{ name: "CRM: Pages" },
|
|
127
|
+
{ name: "CRM: Tools" },
|
|
128
|
+
{ name: "Date and Time" },
|
|
129
|
+
{ name: "Code" },
|
|
130
|
+
{ name: "Comboboxes" },
|
|
131
|
+
{ name: "Commands" },
|
|
132
|
+
{ name: "E-Commerce: Components" },
|
|
133
|
+
{ name: "E-Commerce: Modules" },
|
|
134
|
+
{ name: "E-Commerce: Pages" },
|
|
135
|
+
{ name: "E-Commerce: Payment Form" },
|
|
136
|
+
{ name: "Forms" },
|
|
137
|
+
{ name: "Inputs" },
|
|
138
|
+
{ name: "Hooks" },
|
|
139
|
+
{ name: "Interactive" },
|
|
140
|
+
{ name: "Lo-Fi" },
|
|
141
|
+
{ name: "Marketing" },
|
|
142
|
+
{ name: "Marketing: Elements" },
|
|
143
|
+
{ name: "Marketing: Pages" },
|
|
144
|
+
{ name: "Marketing: Sections" },
|
|
145
|
+
{ name: "Media" },
|
|
146
|
+
{ name: "Motions" },
|
|
147
|
+
{ name: "Primitives" },
|
|
148
|
+
{ name: "Prompt" },
|
|
149
|
+
{ name: "POS" },
|
|
150
|
+
{ name: "Overlays" },
|
|
151
|
+
{ name: "PDF" },
|
|
152
|
+
{ name: "Sidebars" },
|
|
153
|
+
{ name: "Sidebars: Nav Components" },
|
|
154
|
+
{ name: "Table" },
|
|
155
|
+
{ name: "Tools" },
|
|
156
|
+
{ name: "Typography" },
|
|
157
|
+
{ name: "Utils" },
|
|
158
|
+
{ name: "X" },
|
|
159
|
+
];
|