@agentiffai/design 1.3.28 → 1.4.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.
@@ -0,0 +1,398 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React__default, { SVGAttributes, SVGProps } from 'react';
3
+ import { AriaButtonProps } from '@react-aria/button';
4
+
5
+ type FacebookIconVariant = 'colored' | 'black' | 'white';
6
+ interface FacebookIconProps extends Omit<SVGAttributes<SVGSVGElement>, 'viewBox' | 'xmlns'> {
7
+ /**
8
+ * Visual variant of the icon
9
+ * - colored: Facebook brand colors (blue gradient)
10
+ * - black: Solid black
11
+ * - white: Solid white
12
+ */
13
+ variant?: FacebookIconVariant;
14
+ /**
15
+ * Size of the icon in pixels
16
+ */
17
+ size?: number;
18
+ /**
19
+ * Additional CSS class name
20
+ */
21
+ className?: string;
22
+ /**
23
+ * Accessible label for the icon
24
+ * Required for interactive icons, optional for decorative
25
+ */
26
+ 'aria-label'?: string;
27
+ /**
28
+ * Whether the icon is decorative (hidden from screen readers)
29
+ */
30
+ 'aria-hidden'?: boolean;
31
+ /**
32
+ * Click handler for interactive icons
33
+ */
34
+ onClick?: () => void;
35
+ }
36
+ /**
37
+ * Facebook brand icon component with three variants
38
+ *
39
+ * @example
40
+ * // Colored variant (default)
41
+ * <FacebookIcon />
42
+ *
43
+ * @example
44
+ * // Black variant with custom size
45
+ * <FacebookIcon variant="black" size={32} />
46
+ *
47
+ * @example
48
+ * // Interactive icon with click handler
49
+ * <FacebookIcon
50
+ * onClick={handleClick}
51
+ * aria-label="Share on Facebook"
52
+ * style={{ cursor: 'pointer' }}
53
+ * />
54
+ *
55
+ * @example
56
+ * // Decorative icon (hidden from screen readers)
57
+ * <FacebookIcon aria-hidden="true" />
58
+ */
59
+ declare function FacebookIcon({ variant, size, className, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, onClick, ...svgProps }: FacebookIconProps): react_jsx_runtime.JSX.Element;
60
+ declare namespace FacebookIcon {
61
+ var displayName: string;
62
+ }
63
+
64
+ type GmailIconVariant = 'colored' | 'black' | 'white';
65
+ interface GmailIconProps extends Partial<AriaButtonProps> {
66
+ variant?: GmailIconVariant;
67
+ size?: number;
68
+ className?: string;
69
+ style?: React.CSSProperties;
70
+ 'aria-label'?: string;
71
+ }
72
+
73
+ declare function GmailIcon({ variant, size, className, style, 'aria-label': ariaLabel, onPress, ...ariaProps }: GmailIconProps): react_jsx_runtime.JSX.Element;
74
+ declare namespace GmailIcon {
75
+ var displayName: string;
76
+ }
77
+
78
+ type InstagramVariant = 'colored' | 'black' | 'white';
79
+ interface InstagramIconProps extends Omit<SVGAttributes<SVGSVGElement>, 'viewBox' | 'xmlns'> {
80
+ /**
81
+ * Visual variant of the icon
82
+ * - colored: Instagram brand gradient (purple to yellow)
83
+ * - black: Solid black
84
+ * - white: Solid white
85
+ */
86
+ variant?: InstagramVariant;
87
+ /**
88
+ * Size of the icon in pixels
89
+ */
90
+ size?: number;
91
+ /**
92
+ * Additional CSS class name
93
+ */
94
+ className?: string;
95
+ /**
96
+ * Accessible label for the icon
97
+ * Required for interactive icons, optional for decorative
98
+ */
99
+ 'aria-label'?: string;
100
+ /**
101
+ * Whether the icon is decorative (hidden from screen readers)
102
+ */
103
+ 'aria-hidden'?: boolean;
104
+ /**
105
+ * Click handler for interactive icons
106
+ */
107
+ onClick?: () => void;
108
+ }
109
+ /**
110
+ * Instagram brand icon component with three variants
111
+ *
112
+ * @example
113
+ * // Colored variant (default)
114
+ * <InstagramIcon />
115
+ *
116
+ * @example
117
+ * // Black variant with custom size
118
+ * <InstagramIcon variant="black" size={32} />
119
+ *
120
+ * @example
121
+ * // Interactive icon with click handler
122
+ * <InstagramIcon
123
+ * onClick={handleClick}
124
+ * aria-label="Share on Instagram"
125
+ * style={{ cursor: 'pointer' }}
126
+ * />
127
+ *
128
+ * @example
129
+ * // Decorative icon (hidden from screen readers)
130
+ * <InstagramIcon aria-hidden="true" />
131
+ */
132
+ declare function InstagramIcon({ variant, size, className, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, onClick, ...svgProps }: InstagramIconProps): react_jsx_runtime.JSX.Element;
133
+ declare namespace InstagramIcon {
134
+ var displayName: string;
135
+ }
136
+
137
+ type LinkedInIconVariant = 'colored' | 'black' | 'white';
138
+ interface LinkedInIconProps extends Partial<AriaButtonProps> {
139
+ variant?: LinkedInIconVariant;
140
+ size?: number;
141
+ className?: string;
142
+ 'aria-label'?: string;
143
+ }
144
+ declare function LinkedInIcon({ variant, size, className, 'aria-label': ariaLabel, onPress, ...ariaProps }: LinkedInIconProps): react_jsx_runtime.JSX.Element;
145
+ declare namespace LinkedInIcon {
146
+ var displayName: string;
147
+ }
148
+
149
+ type PostizIconVariant = 'colored' | 'black' | 'white';
150
+ interface PostizIconProps extends Partial<AriaButtonProps> {
151
+ variant?: PostizIconVariant;
152
+ size?: number;
153
+ className?: string;
154
+ style?: React.CSSProperties;
155
+ 'aria-label'?: string;
156
+ }
157
+
158
+ /**
159
+ * Postiz logo - Official Postiz social media scheduling platform logo
160
+ * Brand colors: Purple (#612bd3), Dark (#131019), White (#fff)
161
+ */
162
+ declare function PostizIcon({ variant, size, className, style, 'aria-label': ariaLabel, onPress, ...ariaProps }: PostizIconProps): react_jsx_runtime.JSX.Element;
163
+ declare namespace PostizIcon {
164
+ var displayName: string;
165
+ }
166
+
167
+ type RedditIconVariant = 'colored' | 'black' | 'white';
168
+ interface RedditIconProps extends Omit<SVGAttributes<SVGSVGElement>, 'viewBox' | 'fill' | 'xmlns'> {
169
+ /** Visual variant of the icon */
170
+ variant?: RedditIconVariant;
171
+ /** Size of the icon in pixels */
172
+ size?: number;
173
+ /** Additional CSS class */
174
+ className?: string;
175
+ /** Click handler for interactive icons */
176
+ onClick?: () => void;
177
+ /** Accessible label for screen readers */
178
+ 'aria-label'?: string;
179
+ }
180
+ declare function RedditIcon({ variant, size, className, onClick, 'aria-label': ariaLabel, ...svgProps }: RedditIconProps): react_jsx_runtime.JSX.Element;
181
+ declare namespace RedditIcon {
182
+ var displayName: string;
183
+ }
184
+
185
+ type SlackIconVariant = 'colored' | 'black' | 'white';
186
+ interface SlackIconProps {
187
+ variant?: SlackIconVariant;
188
+ size?: number;
189
+ className?: string;
190
+ onClick?: (event: React__default.MouseEvent<SVGSVGElement>) => void;
191
+ 'aria-label'?: string;
192
+ }
193
+ declare function SlackIcon({ variant, size, className, onClick, 'aria-label': ariaLabel, }: SlackIconProps): react_jsx_runtime.JSX.Element;
194
+ declare namespace SlackIcon {
195
+ var displayName: string;
196
+ }
197
+
198
+ type TelegramIconVariant = 'colored' | 'black' | 'white';
199
+ interface TelegramIconProps extends Omit<SVGAttributes<SVGSVGElement>, 'viewBox' | 'xmlns'> {
200
+ /**
201
+ * Visual variant of the icon
202
+ * - colored: Telegram brand colors (blue gradient)
203
+ * - black: Solid black
204
+ * - white: Solid white
205
+ */
206
+ variant?: TelegramIconVariant;
207
+ /**
208
+ * Size of the icon in pixels
209
+ */
210
+ size?: number;
211
+ /**
212
+ * Additional CSS class name
213
+ */
214
+ className?: string;
215
+ /**
216
+ * Accessible label for the icon
217
+ * Required for interactive icons, optional for decorative
218
+ */
219
+ 'aria-label'?: string;
220
+ /**
221
+ * Whether the icon is decorative (hidden from screen readers)
222
+ */
223
+ 'aria-hidden'?: boolean;
224
+ /**
225
+ * Click handler for interactive icons
226
+ */
227
+ onClick?: () => void;
228
+ }
229
+ /**
230
+ * Telegram brand icon component with three variants
231
+ *
232
+ * Features:
233
+ * - Three variants: colored (gradient), black, and white
234
+ * - Customizable size (default 24px)
235
+ * - Accessible with proper ARIA attributes
236
+ * - Works as both decorative and interactive elements
237
+ * - Inline SVG for optimal performance
238
+ *
239
+ * @example
240
+ * // Colored variant (default)
241
+ * <TelegramIcon />
242
+ *
243
+ * @example
244
+ * // Black variant with custom size
245
+ * <TelegramIcon variant="black" size={32} />
246
+ *
247
+ * @example
248
+ * // Interactive icon with click handler
249
+ * <TelegramIcon
250
+ * onClick={handleClick}
251
+ * aria-label="Share on Telegram"
252
+ * style={{ cursor: 'pointer' }}
253
+ * />
254
+ *
255
+ * @example
256
+ * // Decorative icon (hidden from screen readers)
257
+ * <TelegramIcon aria-hidden="true" />
258
+ */
259
+ declare function TelegramIcon({ variant, size, className, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, onClick, ...svgProps }: TelegramIconProps): react_jsx_runtime.JSX.Element;
260
+ declare namespace TelegramIcon {
261
+ var displayName: string;
262
+ }
263
+
264
+ type WhatsAppIconVariant = 'colored' | 'black' | 'white';
265
+ interface WhatsAppIconProps extends Omit<SVGProps<SVGSVGElement>, 'children'> {
266
+ /**
267
+ * Visual variant of the icon
268
+ * - colored: Green WhatsApp brand color (#25D366) on white background
269
+ * - black: Solid black icon
270
+ * - white: Solid white icon
271
+ * @default 'colored'
272
+ */
273
+ variant?: WhatsAppIconVariant;
274
+ /**
275
+ * Size of the icon in pixels
276
+ * @default 24
277
+ */
278
+ size?: number;
279
+ /**
280
+ * Additional CSS class name
281
+ */
282
+ className?: string;
283
+ /**
284
+ * Accessible label for the icon
285
+ * Required for interactive icons, optional for decorative ones
286
+ */
287
+ 'aria-label'?: string;
288
+ /**
289
+ * Whether the icon is decorative only (hidden from screen readers)
290
+ * @default false
291
+ */
292
+ 'aria-hidden'?: boolean;
293
+ /**
294
+ * Click handler for interactive icons
295
+ */
296
+ onClick?: () => void;
297
+ }
298
+ /**
299
+ * WhatsApp brand icon component with three visual variants.
300
+ * Built with accessibility in mind - supports both decorative and interactive use cases.
301
+ *
302
+ * @example
303
+ * ```tsx
304
+ * // Decorative icon
305
+ * <WhatsAppIcon variant="colored" aria-hidden />
306
+ *
307
+ * // Interactive icon (button/link)
308
+ * <WhatsAppIcon
309
+ * variant="white"
310
+ * aria-label="Share on WhatsApp"
311
+ * onClick={handleShare}
312
+ * />
313
+ *
314
+ * // Custom size
315
+ * <WhatsAppIcon size={32} variant="black" />
316
+ * ```
317
+ */
318
+ declare function WhatsAppIcon({ variant, size, className, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, onClick, ...svgProps }: WhatsAppIconProps): react_jsx_runtime.JSX.Element;
319
+ declare namespace WhatsAppIcon {
320
+ var displayName: string;
321
+ }
322
+
323
+ type XIconVariant = 'colored' | 'black' | 'white';
324
+ interface XIconProps {
325
+ /**
326
+ * The variant of the X icon to display
327
+ * @default 'colored'
328
+ */
329
+ variant?: XIconVariant;
330
+ /**
331
+ * The size of the icon in pixels
332
+ * @default 24
333
+ */
334
+ size?: number;
335
+ /**
336
+ * Additional CSS class name
337
+ */
338
+ className?: string;
339
+ /**
340
+ * Click handler for interactive icons
341
+ */
342
+ onClick?: (event: React__default.MouseEvent<SVGSVGElement>) => void;
343
+ /**
344
+ * Accessible label for the icon
345
+ * If not provided and icon is interactive, defaults to "X (formerly Twitter) icon"
346
+ */
347
+ 'aria-label'?: string;
348
+ /**
349
+ * Whether the icon is purely decorative (will hide from screen readers)
350
+ * @default false
351
+ */
352
+ decorative?: boolean;
353
+ }
354
+ /**
355
+ * XIcon component - Displays the X (formerly Twitter) icon with three variants
356
+ *
357
+ * This component renders the X social media icon with support for colored (black),
358
+ * explicit black, and white variants. It's fully accessible and can be used as both
359
+ * a decorative element and an interactive button.
360
+ *
361
+ * @example
362
+ * ```tsx
363
+ * // Colored variant (default, black)
364
+ * <XIcon />
365
+ *
366
+ * // White variant for dark backgrounds
367
+ * <XIcon variant="white" size={32} />
368
+ *
369
+ * // Interactive icon with click handler
370
+ * <XIcon
371
+ * variant="colored"
372
+ * onClick={() => window.open('https://x.com/yourhandle')}
373
+ * aria-label="Visit our X profile"
374
+ * />
375
+ *
376
+ * // Decorative icon (hidden from screen readers)
377
+ * <XIcon decorative />
378
+ * ```
379
+ */
380
+ declare function XIcon({ variant, size, className, onClick, 'aria-label': ariaLabel, decorative, }: XIconProps): react_jsx_runtime.JSX.Element;
381
+ declare namespace XIcon {
382
+ var displayName: string;
383
+ }
384
+
385
+ type YouTubeIconVariant = 'colored' | 'black' | 'white';
386
+ interface YouTubeIconProps {
387
+ variant?: YouTubeIconVariant;
388
+ size?: number;
389
+ className?: string;
390
+ onClick?: () => void;
391
+ 'aria-label'?: string;
392
+ }
393
+ declare function YouTubeIcon({ variant, size, className, onClick, 'aria-label': ariaLabel, }: YouTubeIconProps): react_jsx_runtime.JSX.Element;
394
+ declare namespace YouTubeIcon {
395
+ var displayName: string;
396
+ }
397
+
398
+ export { type FacebookIconProps as F, type GmailIconProps as G, type InstagramIconProps as I, type LinkedInIconProps as L, type PostizIconProps as P, type RedditIconProps as R, type SlackIconProps as S, type TelegramIconProps as T, type WhatsAppIconProps as W, type XIconProps as X, type YouTubeIconProps as Y, type FacebookIconVariant as a, FacebookIcon as b, type GmailIconVariant as c, GmailIcon as d, type InstagramVariant as e, InstagramIcon as f, type LinkedInIconVariant as g, LinkedInIcon as h, type PostizIconVariant as i, PostizIcon as j, type RedditIconVariant as k, RedditIcon as l, type SlackIconVariant as m, SlackIcon as n, type TelegramIconVariant as o, TelegramIcon as p, type WhatsAppIconVariant as q, WhatsAppIcon as r, type XIconVariant as s, XIcon as t, type YouTubeIconVariant as u, YouTubeIcon as v };