pelatform-ui 1.1.21 → 1.2.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 (51) hide show
  1. package/css/animations.css +48 -0
  2. package/css/shadcn/gray.css +105 -0
  3. package/css/shadcn/neutral.css +105 -0
  4. package/css/shadcn/slate.css +105 -0
  5. package/css/shadcn/stone.css +105 -0
  6. package/css/shadcn/zinc.css +105 -0
  7. package/css/styles/style-lyra.css +1335 -0
  8. package/css/styles/style-maia.css +1360 -0
  9. package/css/styles/style-mira.css +1362 -0
  10. package/css/styles/style-nova.css +1360 -0
  11. package/css/styles/style-vega.css +1356 -0
  12. package/css/theme.css +122 -182
  13. package/dist/animation.d.ts +3 -7
  14. package/dist/animation.js +40 -2
  15. package/dist/base.d.ts +1 -1
  16. package/dist/base.js +873 -2
  17. package/dist/chunk-4OZO7TEB.js +57803 -0
  18. package/dist/chunk-4VNS5WPM.js +42 -0
  19. package/dist/{chunk-M2YFAZ2T.js → chunk-5YSCAE7Y.js} +9 -3
  20. package/dist/chunk-7EOSDFS3.js +10 -0
  21. package/dist/chunk-B3I74Y4P.js +11228 -0
  22. package/dist/chunk-BQXV2NHY.js +100 -0
  23. package/dist/chunk-FC24ZVEO.js +553 -0
  24. package/dist/chunk-HW52LCWN.js +22 -0
  25. package/dist/chunk-WFCSII5G.js +28043 -0
  26. package/dist/colors-CUDWvz1g.d.ts +42 -0
  27. package/dist/components-B1rw2xzN.d.ts +46 -0
  28. package/dist/components.d.ts +23 -224
  29. package/dist/components.js +2378 -730
  30. package/dist/hooks.d.ts +2 -2
  31. package/dist/hooks.js +896 -4
  32. package/dist/index.d.ts +130 -2
  33. package/dist/index.js +637 -3
  34. package/dist/radix.d.ts +1 -0
  35. package/dist/radix.js +20737 -0
  36. package/package.json +20 -32
  37. package/css/components/apexcharts.css +0 -101
  38. package/css/components/book.css +0 -19
  39. package/css/components/extra.css +0 -12
  40. package/css/components/image-input.css +0 -51
  41. package/css/components/leaflet.css +0 -25
  42. package/css/components/patterns.css +0 -34
  43. package/css/components/rating.css +0 -89
  44. package/css/components/scrollable.css +0 -118
  45. package/css/components/theme-transition.css +0 -51
  46. package/dist/aria.d.ts +0 -1
  47. package/dist/aria.js +0 -2
  48. package/dist/default.d.ts +0 -1
  49. package/dist/default.js +0 -2
  50. package/dist/server.d.ts +0 -1
  51. package/dist/server.js +0 -2
package/dist/index.d.ts CHANGED
@@ -1,2 +1,130 @@
1
- export * from '@pelatform/ui.general';
2
- export * from '@pelatform/utils';
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React__default, { ComponentType, SVGProps } from 'react';
3
+ import { ClassValue } from 'clsx';
4
+ export { D as DEFAULT_THEME_MODE, M as META_THEME_COLORS, T as THEME_MODES, a as ThemeMode } from './colors-CUDWvz1g.js';
5
+ export { B as BaseComponentProps, I as ImageComponentProps, L as LinkComponentProps } from './components-B1rw2xzN.js';
6
+
7
+ /**
8
+ * Props interface for icon components
9
+ * Extends standard HTML SVG element attributes for full customization
10
+ */
11
+ type IconProps = React__default.HTMLAttributes<SVGElement>;
12
+ /**
13
+ * Collection of brand and service icons
14
+ *
15
+ * This object contains SVG icons for popular brands, services, and technologies.
16
+ * All icons are designed to be scalable and themeable using CSS currentColor.
17
+ * Icon keys use PascalCase (capitalized first letter) for consistency.
18
+ *
19
+ * @example
20
+ * ```tsx
21
+ * // Basic usage
22
+ * <Icons.Google className="w-6 h-6" />
23
+ *
24
+ * // With custom styling
25
+ * <Icons.Github
26
+ * className="w-8 h-8 text-gray-600 hover:text-gray-900"
27
+ * onClick={handleGitHubClick}
28
+ * />
29
+ *
30
+ * // Colorful variants
31
+ * <Icons.GoogleColorful className="w-10 h-10" />
32
+ * <Icons.FacebookColorful className="w-10 h-10" />
33
+ * ```
34
+ */
35
+ declare const Icons: {
36
+ Anthropic: (props: IconProps) => react_jsx_runtime.JSX.Element;
37
+ Apple: (props: IconProps) => react_jsx_runtime.JSX.Element;
38
+ Aria: (props: IconProps) => react_jsx_runtime.JSX.Element;
39
+ Discord: (props: IconProps) => react_jsx_runtime.JSX.Element;
40
+ Dropbox: (props: IconProps) => react_jsx_runtime.JSX.Element;
41
+ Facebook: (props: IconProps) => react_jsx_runtime.JSX.Element;
42
+ FacebookColorful: (props: IconProps) => react_jsx_runtime.JSX.Element;
43
+ Github: (props: IconProps) => react_jsx_runtime.JSX.Element;
44
+ Gitlab: (props: IconProps) => react_jsx_runtime.JSX.Element;
45
+ Google: (props: IconProps) => react_jsx_runtime.JSX.Element;
46
+ GoogleColorful: (props: IconProps) => react_jsx_runtime.JSX.Element;
47
+ Huggingface: (props: IconProps) => react_jsx_runtime.JSX.Element;
48
+ Instagram: (props: IconProps) => react_jsx_runtime.JSX.Element;
49
+ Kick: (props: IconProps) => react_jsx_runtime.JSX.Element;
50
+ Linear: (props: IconProps) => react_jsx_runtime.JSX.Element;
51
+ Linkedin: (props: IconProps) => react_jsx_runtime.JSX.Element;
52
+ LinkedinColorful: (props: IconProps) => react_jsx_runtime.JSX.Element;
53
+ Microsoft: (props: IconProps) => react_jsx_runtime.JSX.Element;
54
+ Nextjs: (props: IconProps) => react_jsx_runtime.JSX.Element;
55
+ Notion: (props: IconProps) => react_jsx_runtime.JSX.Element;
56
+ Npm: (props: IconProps) => react_jsx_runtime.JSX.Element;
57
+ Openai: (props: IconProps) => react_jsx_runtime.JSX.Element;
58
+ Paypal: (props: IconProps) => react_jsx_runtime.JSX.Element;
59
+ Pelatform: (props: IconProps) => react_jsx_runtime.JSX.Element;
60
+ Pnpm: (props: IconProps) => react_jsx_runtime.JSX.Element;
61
+ Postgresql: (props: IconProps) => react_jsx_runtime.JSX.Element;
62
+ Prisma: (props: IconProps) => react_jsx_runtime.JSX.Element;
63
+ Radix: (props: IconProps) => react_jsx_runtime.JSX.Element;
64
+ Radixui: (props: IconProps) => react_jsx_runtime.JSX.Element;
65
+ React: (props: IconProps) => react_jsx_runtime.JSX.Element;
66
+ Reddit: (props: IconProps) => react_jsx_runtime.JSX.Element;
67
+ Roblox: (props: IconProps) => react_jsx_runtime.JSX.Element;
68
+ Scira: (props: IconProps) => react_jsx_runtime.JSX.Element;
69
+ Scribble: (props: IconProps) => react_jsx_runtime.JSX.Element;
70
+ Slack: (props: IconProps) => react_jsx_runtime.JSX.Element;
71
+ Spotify: (props: IconProps) => react_jsx_runtime.JSX.Element;
72
+ Supabase: (props: IconProps) => react_jsx_runtime.JSX.Element;
73
+ Tailwind: (props: IconProps) => react_jsx_runtime.JSX.Element;
74
+ Telegram: (props: IconProps) => react_jsx_runtime.JSX.Element;
75
+ Tiktok: (props: IconProps) => react_jsx_runtime.JSX.Element;
76
+ Twitch: (props: IconProps) => react_jsx_runtime.JSX.Element;
77
+ Twitter: (props: IconProps) => react_jsx_runtime.JSX.Element;
78
+ Vk: (props: IconProps) => react_jsx_runtime.JSX.Element;
79
+ WhatsApp: (props: IconProps) => react_jsx_runtime.JSX.Element;
80
+ X: (props: IconProps) => react_jsx_runtime.JSX.Element;
81
+ Yarn: (props: IconProps) => react_jsx_runtime.JSX.Element;
82
+ Youtube: (props: IconProps) => react_jsx_runtime.JSX.Element;
83
+ Zoom: (props: IconProps) => react_jsx_runtime.JSX.Element;
84
+ };
85
+
86
+ declare function cn(...inputs: ClassValue[]): string;
87
+
88
+ /**
89
+ * Menu item interface
90
+ */
91
+ interface MenuItem {
92
+ /** Heading text */
93
+ heading?: string;
94
+ /** Menu item title */
95
+ title?: string;
96
+ /** Navigation path */
97
+ path?: string;
98
+ /** Menu item icon component */
99
+ icon?: ComponentType<SVGProps<SVGSVGElement>>;
100
+ /** Whether to show separator */
101
+ separator?: boolean;
102
+ /** Root path for active state matching */
103
+ rootPath?: string;
104
+ /** Child menu items */
105
+ children?: MenuConfig;
106
+ /** Children index for nested items */
107
+ childrenIndex?: number;
108
+ /** Whether the item is external */
109
+ external?: boolean;
110
+ /** Whether the item is disabled */
111
+ disabled?: boolean;
112
+ /** Disable text */
113
+ disabledText?: string;
114
+ /** Badge text */
115
+ badge?: string;
116
+ /** Badge variant */
117
+ badgeVariant?: "primary" | "destructive" | "success" | "info" | "warning" | "secondary" | "outline";
118
+ /** Collapse configuration */
119
+ collapse?: boolean;
120
+ /** Title when collapsed */
121
+ collapseTitle?: string;
122
+ /** Title when expanded */
123
+ expandTitle?: string;
124
+ }
125
+ /**
126
+ * Type aliases for backward compatibility
127
+ */
128
+ type MenuConfig = MenuItem[];
129
+
130
+ export { Icons, type MenuConfig, type MenuItem, cn };