@synthex-engineers/refined-tech 0.0.0-stage → 1.0.0
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/README.md +187 -2
- package/dist/angular/index.cjs +1476 -0
- package/dist/angular/index.cjs.map +1 -0
- package/dist/angular/index.d.cts +237 -0
- package/dist/angular/index.d.ts +237 -0
- package/dist/angular/index.js +1463 -0
- package/dist/angular/index.js.map +1 -0
- package/dist/astro/components/ButtonOutline.astro +36 -0
- package/dist/astro/components/ButtonPrimary.astro +36 -0
- package/dist/astro/components/ButtonSecondary.astro +36 -0
- package/dist/astro/components/ClientTrustCard.astro +79 -0
- package/dist/astro/components/HelpTooltip.astro +119 -0
- package/dist/astro/components/LanguageSelectorPill.astro +35 -0
- package/dist/astro/components/ProcessStepCard.astro +68 -0
- package/dist/astro/components/SolutionBentoCard.astro +90 -0
- package/dist/astro/components/WavyUnderlineHeading.astro +90 -0
- package/dist/astro/index.d.ts +9 -0
- package/dist/astro/index.js +9 -0
- package/dist/chunk-EUXUH3YW.js +14 -0
- package/dist/chunk-EUXUH3YW.js.map +1 -0
- package/dist/chunk-PAHBEY3T.js +73 -0
- package/dist/chunk-PAHBEY3T.js.map +1 -0
- package/dist/index.cjs +910 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +82 -0
- package/dist/index.d.ts +82 -0
- package/dist/index.js +833 -0
- package/dist/index.js.map +1 -0
- package/dist/react/index.cjs +1171 -0
- package/dist/react/index.cjs.map +1 -0
- package/dist/react/index.d.cts +239 -0
- package/dist/react/index.d.ts +239 -0
- package/dist/react/index.js +1138 -0
- package/dist/react/index.js.map +1 -0
- package/dist/registry/components.json +791 -0
- package/dist/tokens/index.cjs +85 -0
- package/dist/tokens/index.cjs.map +1 -0
- package/dist/tokens/index.d.cts +133 -0
- package/dist/tokens/index.d.ts +133 -0
- package/dist/tokens/index.js +4 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/tokens/refined-tech.css +73 -0
- package/dist/tokens/tailwind-preset.d.ts +46 -0
- package/dist/tokens/tailwind-preset.js +74 -0
- package/package.json +93 -4
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
interface DropdownItem<T = any> {
|
|
4
|
+
value: T;
|
|
5
|
+
label: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
interface AnimatedDropdownProps {
|
|
9
|
+
items: DropdownItem[];
|
|
10
|
+
value: any;
|
|
11
|
+
onChange: (value: any) => void;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
header?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const AnimatedDropdown: React.FC<AnimatedDropdownProps>;
|
|
17
|
+
|
|
18
|
+
interface BadgeStatusProps {
|
|
19
|
+
label: string;
|
|
20
|
+
status?: 'success' | 'warning' | 'error' | 'neutral';
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
declare const BadgeStatus: React.FC<BadgeStatusProps>;
|
|
24
|
+
|
|
25
|
+
interface BentoGridCardProps {
|
|
26
|
+
title: string;
|
|
27
|
+
description: string;
|
|
28
|
+
icon?: React.ReactNode;
|
|
29
|
+
className?: string;
|
|
30
|
+
}
|
|
31
|
+
declare const BentoGridCard: React.FC<BentoGridCardProps>;
|
|
32
|
+
|
|
33
|
+
interface ButtonOutlineProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
34
|
+
children: React.ReactNode;
|
|
35
|
+
}
|
|
36
|
+
declare const ButtonOutline: React.FC<ButtonOutlineProps>;
|
|
37
|
+
|
|
38
|
+
interface ButtonPrimaryProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
39
|
+
children: React.ReactNode;
|
|
40
|
+
}
|
|
41
|
+
declare const ButtonPrimary: React.FC<ButtonPrimaryProps>;
|
|
42
|
+
|
|
43
|
+
interface ButtonSecondaryProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
44
|
+
children: React.ReactNode;
|
|
45
|
+
}
|
|
46
|
+
declare const ButtonSecondary: React.FC<ButtonSecondaryProps>;
|
|
47
|
+
|
|
48
|
+
interface ClientTrustCardProps {
|
|
49
|
+
clientName?: string;
|
|
50
|
+
location?: string;
|
|
51
|
+
href?: string;
|
|
52
|
+
logoSrc?: string;
|
|
53
|
+
className?: string;
|
|
54
|
+
}
|
|
55
|
+
declare const ClientTrustCard: React.FC<ClientTrustCardProps>;
|
|
56
|
+
|
|
57
|
+
interface CommandKTriggerProps {
|
|
58
|
+
placeholder?: string;
|
|
59
|
+
shortcut?: string;
|
|
60
|
+
onOpen?: () => void;
|
|
61
|
+
className?: string;
|
|
62
|
+
}
|
|
63
|
+
declare const CommandKTrigger: React.FC<CommandKTriggerProps>;
|
|
64
|
+
|
|
65
|
+
interface DropdownOption<T = any> {
|
|
66
|
+
value: T;
|
|
67
|
+
label: string;
|
|
68
|
+
disabled?: boolean;
|
|
69
|
+
}
|
|
70
|
+
interface DropdownSelectProps {
|
|
71
|
+
id?: string;
|
|
72
|
+
label?: string;
|
|
73
|
+
placeholder?: string;
|
|
74
|
+
required?: boolean;
|
|
75
|
+
disabled?: boolean;
|
|
76
|
+
errorText?: string;
|
|
77
|
+
options: DropdownOption[];
|
|
78
|
+
value: any;
|
|
79
|
+
onChange: (val: any) => void;
|
|
80
|
+
}
|
|
81
|
+
declare const DropdownSelect: React.FC<DropdownSelectProps>;
|
|
82
|
+
|
|
83
|
+
interface FooterBounceProps {
|
|
84
|
+
color?: string;
|
|
85
|
+
className?: string;
|
|
86
|
+
}
|
|
87
|
+
declare const FooterBounce: React.FC<FooterBounceProps>;
|
|
88
|
+
|
|
89
|
+
interface MagneticButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
90
|
+
children: React.ReactNode;
|
|
91
|
+
strength?: number;
|
|
92
|
+
}
|
|
93
|
+
declare const MagneticButton: React.FC<MagneticButtonProps>;
|
|
94
|
+
|
|
95
|
+
interface PreloaderProps {
|
|
96
|
+
onFinish?: () => void;
|
|
97
|
+
className?: string;
|
|
98
|
+
}
|
|
99
|
+
declare const Preloader: React.FC<PreloaderProps>;
|
|
100
|
+
|
|
101
|
+
interface HelpTooltipProps {
|
|
102
|
+
text: string;
|
|
103
|
+
title?: string;
|
|
104
|
+
ariaLabel?: string;
|
|
105
|
+
}
|
|
106
|
+
declare const HelpTooltip: React.FC<HelpTooltipProps>;
|
|
107
|
+
|
|
108
|
+
interface InputTextProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
109
|
+
}
|
|
110
|
+
declare const InputText: React.FC<InputTextProps>;
|
|
111
|
+
|
|
112
|
+
interface LanguageSelectorDropdownProps {
|
|
113
|
+
currentLang?: 'es' | 'en';
|
|
114
|
+
onLangChange?: (lang: 'es' | 'en') => void;
|
|
115
|
+
className?: string;
|
|
116
|
+
}
|
|
117
|
+
declare const LanguageSelectorDropdown: React.FC<LanguageSelectorDropdownProps>;
|
|
118
|
+
|
|
119
|
+
interface LanguageSelectorPillProps {
|
|
120
|
+
currentLang?: 'es' | 'en';
|
|
121
|
+
onLangChange?: (lang: 'es' | 'en') => void;
|
|
122
|
+
className?: string;
|
|
123
|
+
}
|
|
124
|
+
declare const LanguageSelectorPill: React.FC<LanguageSelectorPillProps>;
|
|
125
|
+
|
|
126
|
+
interface MagicLinkCardProps {
|
|
127
|
+
email: string;
|
|
128
|
+
onResend?: () => void;
|
|
129
|
+
className?: string;
|
|
130
|
+
}
|
|
131
|
+
declare const MagicLinkCard: React.FC<MagicLinkCardProps>;
|
|
132
|
+
|
|
133
|
+
interface ManifestoIconBoxProps {
|
|
134
|
+
size?: number;
|
|
135
|
+
className?: string;
|
|
136
|
+
}
|
|
137
|
+
declare const ManifestoIconBox: React.FC<ManifestoIconBoxProps>;
|
|
138
|
+
|
|
139
|
+
interface MetricCardProps {
|
|
140
|
+
label: string;
|
|
141
|
+
value: string;
|
|
142
|
+
trend?: string;
|
|
143
|
+
className?: string;
|
|
144
|
+
}
|
|
145
|
+
declare const MetricCard: React.FC<MetricCardProps>;
|
|
146
|
+
|
|
147
|
+
interface ModalDialogProps {
|
|
148
|
+
isOpen: boolean;
|
|
149
|
+
onClose: () => void;
|
|
150
|
+
title: string;
|
|
151
|
+
subtitle?: string;
|
|
152
|
+
size?: 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
153
|
+
showCloseButton?: boolean;
|
|
154
|
+
closeOnBackdrop?: boolean;
|
|
155
|
+
children: React.ReactNode;
|
|
156
|
+
footer?: React.ReactNode;
|
|
157
|
+
}
|
|
158
|
+
declare const ModalDialog: React.FC<ModalDialogProps>;
|
|
159
|
+
|
|
160
|
+
interface ProcessStepCardProps {
|
|
161
|
+
stepNumber?: string;
|
|
162
|
+
title: string;
|
|
163
|
+
description: string;
|
|
164
|
+
badge?: string;
|
|
165
|
+
icon?: React.ReactNode;
|
|
166
|
+
className?: string;
|
|
167
|
+
}
|
|
168
|
+
declare const ProcessStepCard: React.FC<ProcessStepCardProps>;
|
|
169
|
+
|
|
170
|
+
type SystemRoleView = 'ADMIN' | 'USER';
|
|
171
|
+
interface RoleViewSwitcherProps {
|
|
172
|
+
activeRole?: SystemRoleView;
|
|
173
|
+
onRoleChange?: (role: SystemRoleView) => void;
|
|
174
|
+
className?: string;
|
|
175
|
+
}
|
|
176
|
+
declare const RoleViewSwitcher: React.FC<RoleViewSwitcherProps>;
|
|
177
|
+
|
|
178
|
+
interface SolutionBentoCardProps {
|
|
179
|
+
title: string;
|
|
180
|
+
description: string;
|
|
181
|
+
badge?: string;
|
|
182
|
+
bulletPoints?: string[];
|
|
183
|
+
ctaText?: string;
|
|
184
|
+
ctaHref?: string;
|
|
185
|
+
icon?: React.ReactNode;
|
|
186
|
+
className?: string;
|
|
187
|
+
}
|
|
188
|
+
declare const SolutionBentoCard: React.FC<SolutionBentoCardProps>;
|
|
189
|
+
|
|
190
|
+
interface TableLedgerRowProps {
|
|
191
|
+
index: number;
|
|
192
|
+
hash: string;
|
|
193
|
+
timestamp: string;
|
|
194
|
+
verified?: boolean;
|
|
195
|
+
onCopyHash?: (hash: string) => void;
|
|
196
|
+
className?: string;
|
|
197
|
+
}
|
|
198
|
+
declare const TableLedgerRow: React.FC<TableLedgerRowProps>;
|
|
199
|
+
|
|
200
|
+
interface TimerWidgetProps {
|
|
201
|
+
time?: string;
|
|
202
|
+
active?: boolean;
|
|
203
|
+
onToggle?: () => void;
|
|
204
|
+
className?: string;
|
|
205
|
+
}
|
|
206
|
+
declare const TimerWidget: React.FC<TimerWidgetProps>;
|
|
207
|
+
|
|
208
|
+
interface ToggleSwitchProps {
|
|
209
|
+
label?: string;
|
|
210
|
+
checked?: boolean;
|
|
211
|
+
onChange?: (checked: boolean) => void;
|
|
212
|
+
className?: string;
|
|
213
|
+
}
|
|
214
|
+
declare const ToggleSwitch: React.FC<ToggleSwitchProps>;
|
|
215
|
+
|
|
216
|
+
interface WavyUnderlineHeadingProps {
|
|
217
|
+
prefixText?: string;
|
|
218
|
+
highlightText?: string;
|
|
219
|
+
strokeColor?: string;
|
|
220
|
+
className?: string;
|
|
221
|
+
showReload?: boolean;
|
|
222
|
+
}
|
|
223
|
+
declare const WavyUnderlineHeading: React.FC<WavyUnderlineHeadingProps>;
|
|
224
|
+
|
|
225
|
+
interface WorkspaceItem {
|
|
226
|
+
id: string;
|
|
227
|
+
name: string;
|
|
228
|
+
isMain?: boolean;
|
|
229
|
+
}
|
|
230
|
+
interface WorkspaceSwitcherProps {
|
|
231
|
+
workspaces?: WorkspaceItem[];
|
|
232
|
+
currentWorkspace?: WorkspaceItem;
|
|
233
|
+
onSelect?: (workspace: WorkspaceItem) => void;
|
|
234
|
+
className?: string;
|
|
235
|
+
}
|
|
236
|
+
declare const WorkspaceSwitcher: React.FC<WorkspaceSwitcherProps>;
|
|
237
|
+
|
|
238
|
+
export { AnimatedDropdown, BadgeStatus, BentoGridCard, ButtonOutline, ButtonPrimary, ButtonSecondary, ClientTrustCard, CommandKTrigger, DropdownSelect, FooterBounce, HelpTooltip, InputText, LanguageSelectorDropdown, LanguageSelectorPill, MagicLinkCard, MagneticButton, ManifestoIconBox, MetricCard, ModalDialog, Preloader, ProcessStepCard, RoleViewSwitcher, SolutionBentoCard, TableLedgerRow, TimerWidget, ToggleSwitch, WavyUnderlineHeading, WorkspaceSwitcher };
|
|
239
|
+
export type { AnimatedDropdownProps, BadgeStatusProps, BentoGridCardProps, ButtonOutlineProps, ButtonPrimaryProps, ButtonSecondaryProps, ClientTrustCardProps, CommandKTriggerProps, DropdownItem, DropdownOption, DropdownSelectProps, FooterBounceProps, HelpTooltipProps, InputTextProps, LanguageSelectorDropdownProps, LanguageSelectorPillProps, MagicLinkCardProps, MagneticButtonProps, ManifestoIconBoxProps, MetricCardProps, ModalDialogProps, PreloaderProps, ProcessStepCardProps, RoleViewSwitcherProps, SolutionBentoCardProps, SystemRoleView, TableLedgerRowProps, TimerWidgetProps, ToggleSwitchProps, WavyUnderlineHeadingProps, WorkspaceItem, WorkspaceSwitcherProps };
|