@agentiffai/design 0.1.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.
Files changed (82) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/LICENSE +21 -0
  3. package/README.md +187 -0
  4. package/assets/layout/main-pane-section.png +0 -0
  5. package/assets/layout/nav-complete.png +0 -0
  6. package/assets/layout/nav-horizontal-section.png +0 -0
  7. package/assets/layout/nav-vertical-section.png +0 -0
  8. package/assets/layout/pane-section-dropdowns.png +0 -0
  9. package/assets/layout/pane-section-header.png +0 -0
  10. package/dist/Window-B6e_UfLV.d.ts +429 -0
  11. package/dist/Window-CgGFIYHS.d.cts +429 -0
  12. package/dist/chunk-CNVJ5UF2.js +2069 -0
  13. package/dist/chunk-CNVJ5UF2.js.map +1 -0
  14. package/dist/chunk-CVHHTWDQ.cjs +72 -0
  15. package/dist/chunk-CVHHTWDQ.cjs.map +1 -0
  16. package/dist/chunk-H4VHCHCP.cjs +1268 -0
  17. package/dist/chunk-H4VHCHCP.cjs.map +1 -0
  18. package/dist/chunk-JQ6Q7MDQ.js +67 -0
  19. package/dist/chunk-JQ6Q7MDQ.js.map +1 -0
  20. package/dist/chunk-KNSPBTTJ.cjs +2158 -0
  21. package/dist/chunk-KNSPBTTJ.cjs.map +1 -0
  22. package/dist/chunk-MNXQDDWP.js +2143 -0
  23. package/dist/chunk-MNXQDDWP.js.map +1 -0
  24. package/dist/chunk-P4Q3MHIY.cjs +2093 -0
  25. package/dist/chunk-P4Q3MHIY.cjs.map +1 -0
  26. package/dist/chunk-PAOXD7DF.js +1253 -0
  27. package/dist/chunk-PAOXD7DF.js.map +1 -0
  28. package/dist/copilotkit/index.cjs +611 -0
  29. package/dist/copilotkit/index.cjs.map +1 -0
  30. package/dist/copilotkit/index.d.cts +162 -0
  31. package/dist/copilotkit/index.d.ts +162 -0
  32. package/dist/copilotkit/index.js +538 -0
  33. package/dist/copilotkit/index.js.map +1 -0
  34. package/dist/icons/index.cjs +48 -0
  35. package/dist/icons/index.cjs.map +1 -0
  36. package/dist/icons/index.d.cts +375 -0
  37. package/dist/icons/index.d.ts +375 -0
  38. package/dist/icons/index.js +3 -0
  39. package/dist/icons/index.js.map +1 -0
  40. package/dist/index.cjs +536 -0
  41. package/dist/index.cjs.map +1 -0
  42. package/dist/index.d-DYU1eVeb.d.cts +252 -0
  43. package/dist/index.d-DYU1eVeb.d.ts +252 -0
  44. package/dist/index.d.cts +185 -0
  45. package/dist/index.d.ts +185 -0
  46. package/dist/index.js +358 -0
  47. package/dist/index.js.map +1 -0
  48. package/dist/layout/index.cjs +48 -0
  49. package/dist/layout/index.cjs.map +1 -0
  50. package/dist/layout/index.d.cts +206 -0
  51. package/dist/layout/index.d.ts +206 -0
  52. package/dist/layout/index.js +3 -0
  53. package/dist/layout/index.js.map +1 -0
  54. package/dist/theme/index.cjs +24 -0
  55. package/dist/theme/index.cjs.map +1 -0
  56. package/dist/theme/index.d.cts +95 -0
  57. package/dist/theme/index.d.ts +95 -0
  58. package/dist/theme/index.js +3 -0
  59. package/dist/theme/index.js.map +1 -0
  60. package/package.json +148 -0
  61. package/public/assets/bg-set/brand-logos/Google.svg +1 -0
  62. package/public/assets/bg-set/brand-logos/Google2.svg +1 -0
  63. package/public/assets/bg-set/brand-logos/Microsoft.svg +1 -0
  64. package/public/assets/bg-set/brand-logos/Microsoft2.svg +1 -0
  65. package/public/assets/bg-set/brand-logos/Slack.svg +1 -0
  66. package/public/assets/bg-set/brand-logos/Slack2.svg +1 -0
  67. package/public/assets/bg-set/brand-logos/YouTube.svg +1 -0
  68. package/public/assets/bg-set/brand-logos/YouTube2.svg +1 -0
  69. package/public/assets/bg-set/pattern/Size=lg, Type=Waves Rays2.svg +1 -0
  70. package/public/assets/bg-set/pattern/Size=md, Type=Waves Rays2.svg +1 -0
  71. package/public/assets/bg-set/pattern/Size=sm, Type=Waves Rays2.svg +1 -0
  72. package/public/assets/bg-set/pattern/Size=xl, Type=Waves Rays2.svg +1 -0
  73. package/public/assets/bg-set/pattern/Size=xs, Type=Waves Rays2.svg +1 -0
  74. package/public/assets/icon-set/Icon-add-circle-fill.svg +1 -0
  75. package/public/assets/icon-set/Icon-calendar-fill.svg +1 -0
  76. package/public/assets/icon-set/Icon-chat-1-fill.svg +1 -0
  77. package/public/assets/icon-set/Icon-download-2-fill.svg +1 -0
  78. package/public/assets/icon-set/Icon-home-fill.svg +1 -0
  79. package/public/assets/icon-set/Icon-mic-fill.svg +1 -0
  80. package/public/assets/icon-set/Icon-settings-3-fill.svg +1 -0
  81. package/public/assets/icon-set/Icon-settings-fill.svg +1 -0
  82. package/public/assets/icon-set/Icon-settings-line.svg +1 -0
@@ -0,0 +1,375 @@
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<AriaButtonProps, 'children'> {
80
+ /**
81
+ * The variant of the Instagram icon
82
+ * - 'colored': Instagram brand gradient (purple to yellow)
83
+ * - 'black': Solid black icon
84
+ * - 'white': Solid white icon
85
+ * @default 'colored'
86
+ */
87
+ variant?: InstagramVariant;
88
+ /**
89
+ * Size of the icon in pixels
90
+ * @default 24
91
+ */
92
+ size?: number;
93
+ /**
94
+ * Additional CSS class name
95
+ */
96
+ className?: string;
97
+ /**
98
+ * Accessible label for the icon
99
+ * @default 'Instagram'
100
+ */
101
+ 'aria-label'?: string;
102
+ }
103
+ /**
104
+ * InstagramIcon component - Displays the Instagram logo with multiple variants
105
+ *
106
+ * This component renders the Instagram logo with three visual variants:
107
+ * colored (brand gradient), black, and white. It uses React ARIA for
108
+ * accessibility and can function as both a decorative icon and an
109
+ * interactive button.
110
+ *
111
+ * @example
112
+ * ```tsx
113
+ * // Colored variant (default)
114
+ * <InstagramIcon />
115
+ *
116
+ * // Black variant with custom size
117
+ * <InstagramIcon variant="black" size={32} />
118
+ *
119
+ * // Interactive icon with click handler
120
+ * <InstagramIcon
121
+ * variant="colored"
122
+ * onPress={() => window.open('https://instagram.com')}
123
+ * aria-label="Follow us on Instagram"
124
+ * />
125
+ * ```
126
+ */
127
+ declare function InstagramIcon({ variant, size, className, 'aria-label': ariaLabel, onPress, ...ariaProps }: InstagramIconProps): react_jsx_runtime.JSX.Element;
128
+ declare namespace InstagramIcon {
129
+ var displayName: string;
130
+ }
131
+
132
+ type LinkedInIconVariant = 'colored' | 'black' | 'white';
133
+ interface LinkedInIconProps extends Partial<AriaButtonProps> {
134
+ variant?: LinkedInIconVariant;
135
+ size?: number;
136
+ className?: string;
137
+ 'aria-label'?: string;
138
+ }
139
+ declare function LinkedInIcon({ variant, size, className, 'aria-label': ariaLabel, onPress, ...ariaProps }: LinkedInIconProps): react_jsx_runtime.JSX.Element;
140
+ declare namespace LinkedInIcon {
141
+ var displayName: string;
142
+ }
143
+
144
+ type RedditIconVariant = 'colored' | 'black' | 'white';
145
+ interface RedditIconProps extends Omit<SVGAttributes<SVGSVGElement>, 'viewBox' | 'fill' | 'xmlns'> {
146
+ /** Visual variant of the icon */
147
+ variant?: RedditIconVariant;
148
+ /** Size of the icon in pixels */
149
+ size?: number;
150
+ /** Additional CSS class */
151
+ className?: string;
152
+ /** Click handler for interactive icons */
153
+ onClick?: () => void;
154
+ /** Accessible label for screen readers */
155
+ 'aria-label'?: string;
156
+ }
157
+ declare function RedditIcon({ variant, size, className, onClick, 'aria-label': ariaLabel, ...svgProps }: RedditIconProps): react_jsx_runtime.JSX.Element;
158
+ declare namespace RedditIcon {
159
+ var displayName: string;
160
+ }
161
+
162
+ type SlackIconVariant = 'colored' | 'black' | 'white';
163
+ interface SlackIconProps {
164
+ variant?: SlackIconVariant;
165
+ size?: number;
166
+ className?: string;
167
+ onClick?: (event: React__default.MouseEvent<SVGSVGElement>) => void;
168
+ 'aria-label'?: string;
169
+ }
170
+ declare function SlackIcon({ variant, size, className, onClick, 'aria-label': ariaLabel, }: SlackIconProps): react_jsx_runtime.JSX.Element;
171
+ declare namespace SlackIcon {
172
+ var displayName: string;
173
+ }
174
+
175
+ type TelegramIconVariant = 'colored' | 'black' | 'white';
176
+ interface TelegramIconProps extends Omit<SVGAttributes<SVGSVGElement>, 'viewBox' | 'xmlns'> {
177
+ /**
178
+ * Visual variant of the icon
179
+ * - colored: Telegram brand colors (blue gradient)
180
+ * - black: Solid black
181
+ * - white: Solid white
182
+ */
183
+ variant?: TelegramIconVariant;
184
+ /**
185
+ * Size of the icon in pixels
186
+ */
187
+ size?: number;
188
+ /**
189
+ * Additional CSS class name
190
+ */
191
+ className?: string;
192
+ /**
193
+ * Accessible label for the icon
194
+ * Required for interactive icons, optional for decorative
195
+ */
196
+ 'aria-label'?: string;
197
+ /**
198
+ * Whether the icon is decorative (hidden from screen readers)
199
+ */
200
+ 'aria-hidden'?: boolean;
201
+ /**
202
+ * Click handler for interactive icons
203
+ */
204
+ onClick?: () => void;
205
+ }
206
+ /**
207
+ * Telegram brand icon component with three variants
208
+ *
209
+ * Features:
210
+ * - Three variants: colored (gradient), black, and white
211
+ * - Customizable size (default 24px)
212
+ * - Accessible with proper ARIA attributes
213
+ * - Works as both decorative and interactive elements
214
+ * - Inline SVG for optimal performance
215
+ *
216
+ * @example
217
+ * // Colored variant (default)
218
+ * <TelegramIcon />
219
+ *
220
+ * @example
221
+ * // Black variant with custom size
222
+ * <TelegramIcon variant="black" size={32} />
223
+ *
224
+ * @example
225
+ * // Interactive icon with click handler
226
+ * <TelegramIcon
227
+ * onClick={handleClick}
228
+ * aria-label="Share on Telegram"
229
+ * style={{ cursor: 'pointer' }}
230
+ * />
231
+ *
232
+ * @example
233
+ * // Decorative icon (hidden from screen readers)
234
+ * <TelegramIcon aria-hidden="true" />
235
+ */
236
+ declare function TelegramIcon({ variant, size, className, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, onClick, ...svgProps }: TelegramIconProps): react_jsx_runtime.JSX.Element;
237
+ declare namespace TelegramIcon {
238
+ var displayName: string;
239
+ }
240
+
241
+ type WhatsAppIconVariant = 'colored' | 'black' | 'white';
242
+ interface WhatsAppIconProps extends Omit<SVGProps<SVGSVGElement>, 'children'> {
243
+ /**
244
+ * Visual variant of the icon
245
+ * - colored: Green WhatsApp brand color (#25D366) on white background
246
+ * - black: Solid black icon
247
+ * - white: Solid white icon
248
+ * @default 'colored'
249
+ */
250
+ variant?: WhatsAppIconVariant;
251
+ /**
252
+ * Size of the icon in pixels
253
+ * @default 24
254
+ */
255
+ size?: number;
256
+ /**
257
+ * Additional CSS class name
258
+ */
259
+ className?: string;
260
+ /**
261
+ * Accessible label for the icon
262
+ * Required for interactive icons, optional for decorative ones
263
+ */
264
+ 'aria-label'?: string;
265
+ /**
266
+ * Whether the icon is decorative only (hidden from screen readers)
267
+ * @default false
268
+ */
269
+ 'aria-hidden'?: boolean;
270
+ /**
271
+ * Click handler for interactive icons
272
+ */
273
+ onClick?: () => void;
274
+ }
275
+ /**
276
+ * WhatsApp brand icon component with three visual variants.
277
+ * Built with accessibility in mind - supports both decorative and interactive use cases.
278
+ *
279
+ * @example
280
+ * ```tsx
281
+ * // Decorative icon
282
+ * <WhatsAppIcon variant="colored" aria-hidden />
283
+ *
284
+ * // Interactive icon (button/link)
285
+ * <WhatsAppIcon
286
+ * variant="white"
287
+ * aria-label="Share on WhatsApp"
288
+ * onClick={handleShare}
289
+ * />
290
+ *
291
+ * // Custom size
292
+ * <WhatsAppIcon size={32} variant="black" />
293
+ * ```
294
+ */
295
+ declare function WhatsAppIcon({ variant, size, className, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, onClick, ...svgProps }: WhatsAppIconProps): react_jsx_runtime.JSX.Element;
296
+ declare namespace WhatsAppIcon {
297
+ var displayName: string;
298
+ }
299
+
300
+ type XIconVariant = 'colored' | 'black' | 'white';
301
+ interface XIconProps {
302
+ /**
303
+ * The variant of the X icon to display
304
+ * @default 'colored'
305
+ */
306
+ variant?: XIconVariant;
307
+ /**
308
+ * The size of the icon in pixels
309
+ * @default 24
310
+ */
311
+ size?: number;
312
+ /**
313
+ * Additional CSS class name
314
+ */
315
+ className?: string;
316
+ /**
317
+ * Click handler for interactive icons
318
+ */
319
+ onClick?: (event: React__default.MouseEvent<SVGSVGElement>) => void;
320
+ /**
321
+ * Accessible label for the icon
322
+ * If not provided and icon is interactive, defaults to "X (formerly Twitter) icon"
323
+ */
324
+ 'aria-label'?: string;
325
+ /**
326
+ * Whether the icon is purely decorative (will hide from screen readers)
327
+ * @default false
328
+ */
329
+ decorative?: boolean;
330
+ }
331
+ /**
332
+ * XIcon component - Displays the X (formerly Twitter) icon with three variants
333
+ *
334
+ * This component renders the X social media icon with support for colored (black),
335
+ * explicit black, and white variants. It's fully accessible and can be used as both
336
+ * a decorative element and an interactive button.
337
+ *
338
+ * @example
339
+ * ```tsx
340
+ * // Colored variant (default, black)
341
+ * <XIcon />
342
+ *
343
+ * // White variant for dark backgrounds
344
+ * <XIcon variant="white" size={32} />
345
+ *
346
+ * // Interactive icon with click handler
347
+ * <XIcon
348
+ * variant="colored"
349
+ * onClick={() => window.open('https://x.com/yourhandle')}
350
+ * aria-label="Visit our X profile"
351
+ * />
352
+ *
353
+ * // Decorative icon (hidden from screen readers)
354
+ * <XIcon decorative />
355
+ * ```
356
+ */
357
+ declare function XIcon({ variant, size, className, onClick, 'aria-label': ariaLabel, decorative, }: XIconProps): react_jsx_runtime.JSX.Element;
358
+ declare namespace XIcon {
359
+ var displayName: string;
360
+ }
361
+
362
+ type YouTubeIconVariant = 'colored' | 'black' | 'white';
363
+ interface YouTubeIconProps {
364
+ variant?: YouTubeIconVariant;
365
+ size?: number;
366
+ className?: string;
367
+ onClick?: () => void;
368
+ 'aria-label'?: string;
369
+ }
370
+ declare function YouTubeIcon({ variant, size, className, onClick, 'aria-label': ariaLabel, }: YouTubeIconProps): react_jsx_runtime.JSX.Element;
371
+ declare namespace YouTubeIcon {
372
+ var displayName: string;
373
+ }
374
+
375
+ export { FacebookIcon, type FacebookIconProps, type FacebookIconVariant, GmailIcon, type GmailIconProps, type GmailIconVariant, InstagramIcon, type InstagramIconProps, type InstagramVariant, LinkedInIcon, type LinkedInIconProps, type LinkedInIconVariant, RedditIcon, type RedditIconProps, type RedditIconVariant, SlackIcon, type SlackIconProps, type SlackIconVariant, TelegramIcon, type TelegramIconProps, type TelegramIconVariant, WhatsAppIcon, type WhatsAppIconProps, type WhatsAppIconVariant, XIcon, type XIconProps, type XIconVariant, YouTubeIcon, type YouTubeIconProps, type YouTubeIconVariant };