pelatform-ui 1.2.9 → 1.3.1

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 (42) hide show
  1. package/README.md +254 -120
  2. package/css/theme.css +1 -59
  3. package/dist/animation.d.ts +379 -3
  4. package/dist/animation.js +1785 -2
  5. package/dist/badge-Rr33PgV_.d.ts +15 -0
  6. package/dist/base.d.ts +1452 -1
  7. package/dist/base.js +12148 -2
  8. package/dist/button-Bc3N6jWT.d.ts +22 -0
  9. package/dist/chunk-4Z3DBWB6.js +193 -0
  10. package/dist/chunk-NW6KWHKZ.js +22 -0
  11. package/dist/chunk-Q2RH7YQE.js +857 -0
  12. package/dist/{chunk-NOAZYT3J.js → chunk-V3ET2B55.js} +2 -4
  13. package/dist/chunk-XKN6BR2K.js +59 -0
  14. package/dist/components.d.ts +472 -2129
  15. package/dist/components.js +969 -1421
  16. package/dist/hooks.d.ts +1197 -4
  17. package/dist/hooks.js +912 -5
  18. package/dist/index.d.ts +7 -84
  19. package/dist/index.js +1 -623
  20. package/dist/radix.d.ts +1440 -1
  21. package/dist/radix.js +11360 -2
  22. package/package.json +33 -22
  23. package/css/components/apexcharts.css +0 -101
  24. package/css/components/book.css +0 -19
  25. package/css/components/extra.css +0 -12
  26. package/css/components/image-input.css +0 -51
  27. package/css/components/leaflet.css +0 -25
  28. package/css/components/patterns.css +0 -34
  29. package/css/components/rating.css +0 -89
  30. package/css/components/scrollable.css +0 -118
  31. package/css/components/theme-transition.css +0 -51
  32. package/dist/chunk-HW52LCWN.js +0 -22
  33. package/dist/chunk-QEWGMDVY.js +0 -10
  34. package/dist/colors-CUDWvz1g.d.ts +0 -42
  35. package/dist/components-B1rw2xzN.d.ts +0 -46
  36. package/dist/utils.d.ts +0 -6
  37. package/dist/utils.js +0 -14
  38. /package/css/{shadcn → color}/gray.css +0 -0
  39. /package/css/{shadcn → color}/neutral.css +0 -0
  40. /package/css/{shadcn → color}/slate.css +0 -0
  41. /package/css/{shadcn → color}/stone.css +0 -0
  42. /package/css/{shadcn → color}/zinc.css +0 -0
package/dist/index.d.ts CHANGED
@@ -1,85 +1,8 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React__default, { ComponentType, SVGProps } from 'react';
3
- export { B as BaseComponentProps, I as ImageComponentProps, L as LinkComponentProps } from './components-B1rw2xzN.js';
4
-
5
- /**
6
- * Props interface for icon components
7
- * Extends standard HTML SVG element attributes for full customization
8
- */
9
- type IconProps = React__default.HTMLAttributes<SVGElement>;
10
- /**
11
- * Collection of brand and service icons
12
- *
13
- * This object contains SVG icons for popular brands, services, and technologies.
14
- * All icons are designed to be scalable and themeable using CSS currentColor.
15
- * Icon keys use PascalCase (capitalized first letter) for consistency.
16
- *
17
- * @example
18
- * ```tsx
19
- * // Basic usage
20
- * <Icons.Google className="w-6 h-6" />
21
- *
22
- * // With custom styling
23
- * <Icons.Github
24
- * className="w-8 h-8 text-gray-600 hover:text-gray-900"
25
- * onClick={handleGitHubClick}
26
- * />
27
- *
28
- * // Colorful variants
29
- * <Icons.GoogleColorful className="w-10 h-10" />
30
- * <Icons.FacebookColorful className="w-10 h-10" />
31
- * ```
32
- */
33
- declare const Icons: {
34
- Anthropic: (props: IconProps) => react_jsx_runtime.JSX.Element;
35
- Apple: (props: IconProps) => react_jsx_runtime.JSX.Element;
36
- Aria: (props: IconProps) => react_jsx_runtime.JSX.Element;
37
- Discord: (props: IconProps) => react_jsx_runtime.JSX.Element;
38
- Dropbox: (props: IconProps) => react_jsx_runtime.JSX.Element;
39
- Facebook: (props: IconProps) => react_jsx_runtime.JSX.Element;
40
- FacebookColorful: (props: IconProps) => react_jsx_runtime.JSX.Element;
41
- Github: (props: IconProps) => react_jsx_runtime.JSX.Element;
42
- Gitlab: (props: IconProps) => react_jsx_runtime.JSX.Element;
43
- Google: (props: IconProps) => react_jsx_runtime.JSX.Element;
44
- GoogleColorful: (props: IconProps) => react_jsx_runtime.JSX.Element;
45
- Huggingface: (props: IconProps) => react_jsx_runtime.JSX.Element;
46
- Instagram: (props: IconProps) => react_jsx_runtime.JSX.Element;
47
- Kick: (props: IconProps) => react_jsx_runtime.JSX.Element;
48
- Linear: (props: IconProps) => react_jsx_runtime.JSX.Element;
49
- Linkedin: (props: IconProps) => react_jsx_runtime.JSX.Element;
50
- LinkedinColorful: (props: IconProps) => react_jsx_runtime.JSX.Element;
51
- Microsoft: (props: IconProps) => react_jsx_runtime.JSX.Element;
52
- Nextjs: (props: IconProps) => react_jsx_runtime.JSX.Element;
53
- Notion: (props: IconProps) => react_jsx_runtime.JSX.Element;
54
- Npm: (props: IconProps) => react_jsx_runtime.JSX.Element;
55
- Openai: (props: IconProps) => react_jsx_runtime.JSX.Element;
56
- Paypal: (props: IconProps) => react_jsx_runtime.JSX.Element;
57
- Pelatform: (props: IconProps) => react_jsx_runtime.JSX.Element;
58
- Pnpm: (props: IconProps) => react_jsx_runtime.JSX.Element;
59
- Postgresql: (props: IconProps) => react_jsx_runtime.JSX.Element;
60
- Prisma: (props: IconProps) => react_jsx_runtime.JSX.Element;
61
- Radix: (props: IconProps) => react_jsx_runtime.JSX.Element;
62
- Radixui: (props: IconProps) => react_jsx_runtime.JSX.Element;
63
- React: (props: IconProps) => react_jsx_runtime.JSX.Element;
64
- Reddit: (props: IconProps) => react_jsx_runtime.JSX.Element;
65
- Roblox: (props: IconProps) => react_jsx_runtime.JSX.Element;
66
- Scira: (props: IconProps) => react_jsx_runtime.JSX.Element;
67
- Scribble: (props: IconProps) => react_jsx_runtime.JSX.Element;
68
- Slack: (props: IconProps) => react_jsx_runtime.JSX.Element;
69
- Spotify: (props: IconProps) => react_jsx_runtime.JSX.Element;
70
- Supabase: (props: IconProps) => react_jsx_runtime.JSX.Element;
71
- Tailwind: (props: IconProps) => react_jsx_runtime.JSX.Element;
72
- Telegram: (props: IconProps) => react_jsx_runtime.JSX.Element;
73
- Tiktok: (props: IconProps) => react_jsx_runtime.JSX.Element;
74
- Twitch: (props: IconProps) => react_jsx_runtime.JSX.Element;
75
- Twitter: (props: IconProps) => react_jsx_runtime.JSX.Element;
76
- Vk: (props: IconProps) => react_jsx_runtime.JSX.Element;
77
- WhatsApp: (props: IconProps) => react_jsx_runtime.JSX.Element;
78
- X: (props: IconProps) => react_jsx_runtime.JSX.Element;
79
- Yarn: (props: IconProps) => react_jsx_runtime.JSX.Element;
80
- Youtube: (props: IconProps) => react_jsx_runtime.JSX.Element;
81
- Zoom: (props: IconProps) => react_jsx_runtime.JSX.Element;
82
- };
1
+ import { ComponentType, SVGProps, ComponentProps } from 'react';
2
+ import { B as Badge } from './badge-Rr33PgV_.js';
3
+ import 'react/jsx-runtime';
4
+ import 'class-variance-authority/types';
5
+ import 'class-variance-authority';
83
6
 
84
7
  /**
85
8
  * Menu item interface
@@ -110,7 +33,7 @@ interface MenuItem {
110
33
  /** Badge text */
111
34
  badge?: string;
112
35
  /** Badge variant */
113
- badgeVariant?: "primary" | "destructive" | "success" | "info" | "warning" | "secondary" | "outline";
36
+ badgeVariant?: ComponentProps<typeof Badge>["variant"];
114
37
  /** Collapse configuration */
115
38
  collapse?: boolean;
116
39
  /** Title when collapsed */
@@ -123,4 +46,4 @@ interface MenuItem {
123
46
  */
124
47
  type MenuConfig = MenuItem[];
125
48
 
126
- export { Icons, type MenuConfig, type MenuItem };
49
+ export type { MenuConfig, MenuItem };