@stachelock/ui 0.6.1 → 0.6.3

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 (77) hide show
  1. package/dist/AvatarIcon-kcEI0AWe.js +4 -0
  2. package/dist/AvatarImage-YFR2etb8.js +4 -0
  3. package/dist/AvatarInitials-B7wCnBX9.js +4 -0
  4. package/dist/composables/index.js +33 -30
  5. package/dist/index.js +3409 -1140
  6. package/dist/src/components/UiBanner.d.ts +1 -1
  7. package/dist/src/components/UiLoadingDots.d.ts +1 -1
  8. package/dist/src/components/UiMenu.d.ts +1 -1
  9. package/dist/src/components/UiModal.d.ts +1 -1
  10. package/dist/src/components/avatars/AvatarIcon.d.ts +18 -0
  11. package/dist/src/components/avatars/AvatarImage.d.ts +25 -0
  12. package/dist/src/components/avatars/AvatarInitials.d.ts +15 -0
  13. package/dist/src/components/avatars/AvatarWithText.d.ts +129 -0
  14. package/dist/src/components/avatars/index.d.ts +4 -0
  15. package/dist/src/components/collection-editor/CollectionItemList.d.ts +42 -0
  16. package/dist/src/components/collection-editor/OrganizationsEditor.d.ts +29 -0
  17. package/dist/src/components/collection-editor/RelatedNamesEditor.d.ts +26 -0
  18. package/dist/src/components/collection-editor/SocialLinksEditor.d.ts +26 -0
  19. package/dist/src/components/collection-editor/index.d.ts +5 -0
  20. package/dist/src/components/formatters/DateFormatter.d.ts +119 -0
  21. package/dist/src/components/formatters/DateRangeFormatter.d.ts +63 -0
  22. package/dist/src/components/formatters/index.d.ts +2 -0
  23. package/dist/src/components/forms/FormFieldWrapper.d.ts +1 -1
  24. package/dist/src/components/icons/brands/DiscordBrandIcon.d.ts +2 -0
  25. package/dist/src/components/icons/brands/FacebookBrandIcon.d.ts +2 -0
  26. package/dist/src/components/icons/brands/GitHubBrandIcon.d.ts +2 -0
  27. package/dist/src/components/icons/brands/InstagramBrandIcon.d.ts +2 -0
  28. package/dist/src/components/icons/brands/LinkedInBrandIcon.d.ts +2 -0
  29. package/dist/src/components/icons/brands/PinterestBrandIcon.d.ts +2 -0
  30. package/dist/src/components/icons/brands/SnapchatBrandIcon.d.ts +2 -0
  31. package/dist/src/components/icons/brands/ThreadsBrandIcon.d.ts +2 -0
  32. package/dist/src/components/icons/brands/TikTokBrandIcon.d.ts +2 -0
  33. package/dist/src/components/icons/brands/TwitchBrandIcon.d.ts +2 -0
  34. package/dist/src/components/icons/brands/XBrandIcon.d.ts +2 -0
  35. package/dist/src/components/icons/brands/YouTubeBrandIcon.d.ts +2 -0
  36. package/dist/src/components/icons/brands/index.d.ts +12 -0
  37. package/dist/src/components/icons/index.d.ts +1 -0
  38. package/dist/src/components/index.d.ts +5 -0
  39. package/dist/src/components/inputs/AddressInput.d.ts +1 -1
  40. package/dist/src/components/inputs/ComboboxInput.d.ts +2 -2
  41. package/dist/src/components/inputs/DatepickerInput.d.ts +17 -17
  42. package/dist/src/components/inputs/EmailInput.d.ts +2 -2
  43. package/dist/src/components/inputs/ImageDropzoneInput.d.ts +326 -0
  44. package/dist/src/components/inputs/PhoneInput.d.ts +2 -2
  45. package/dist/src/components/inputs/RichTextInput.d.ts +2 -2
  46. package/dist/src/components/inputs/SelectInput.d.ts +2 -2
  47. package/dist/src/components/inputs/SelectTextInput.d.ts +4 -4
  48. package/dist/src/components/inputs/TagifyInput.d.ts +2 -2
  49. package/dist/src/components/inputs/TextInput.d.ts +3 -3
  50. package/dist/src/components/inputs/index.d.ts +1 -0
  51. package/dist/src/components/layouts/CardLayout.d.ts +1 -1
  52. package/dist/src/components/maps/UiInfoWindow.d.ts +2 -2
  53. package/dist/src/components/maps/UiMap.d.ts +1 -1
  54. package/dist/src/components/maps/UiMapAll.d.ts +6 -6
  55. package/dist/src/components/maps/UiMapMarker.d.ts +2 -2
  56. package/dist/src/components/modals/BaseModal.d.ts +1 -1
  57. package/dist/src/components/profiles/BentoProfileLayout.d.ts +9 -0
  58. package/dist/src/components/profiles/ProfileCard.d.ts +30 -0
  59. package/dist/src/components/profiles/ProfileContactCard.d.ts +12 -0
  60. package/dist/src/components/profiles/ProfileHeaderCard.d.ts +20 -0
  61. package/dist/src/components/profiles/ProfileLocationCard.d.ts +17 -0
  62. package/dist/src/components/profiles/ProfileOrganizationsCard.d.ts +11 -0
  63. package/dist/src/components/profiles/ProfilePersonalCard.d.ts +10 -0
  64. package/dist/src/components/profiles/ProfileProfessionalCard.d.ts +11 -0
  65. package/dist/src/components/profiles/ProfileRelatedNamesCard.d.ts +11 -0
  66. package/dist/src/components/profiles/index.d.ts +9 -0
  67. package/dist/src/components/wrappers/BackgroundGradientWrapper.d.ts +1 -1
  68. package/dist/src/composables/index.d.ts +1 -0
  69. package/dist/src/composables/useCollectionEditor.d.ts +64 -0
  70. package/dist/src/composables/useNotifications.d.ts +4 -4
  71. package/dist/src/types/collection-editor.d.ts +134 -0
  72. package/dist/src/types/index.d.ts +2 -0
  73. package/dist/src/types/profiles.d.ts +149 -0
  74. package/dist/style.css +1 -1
  75. package/dist/ui.css +1 -1
  76. package/dist/useCollectionEditor-BYyoAT0U.js +121 -0
  77. package/package.json +1 -1
@@ -0,0 +1,149 @@
1
+ /**
2
+ * Profile component types
3
+ *
4
+ * Types for the Bento-style profile layout components
5
+ */
6
+ /**
7
+ * Profile image/avatar information
8
+ */
9
+ export interface ProfileImage {
10
+ url?: string;
11
+ public_id?: string;
12
+ secure_url?: string;
13
+ [key: string]: unknown;
14
+ }
15
+ /**
16
+ * Professional information
17
+ */
18
+ export interface ProfessionalInfo {
19
+ title?: string;
20
+ company?: string;
21
+ department?: string;
22
+ linkedin?: string;
23
+ [key: string]: unknown;
24
+ }
25
+ /**
26
+ * Address information
27
+ */
28
+ export interface AddressInfo {
29
+ name?: string;
30
+ description?: string;
31
+ street?: string;
32
+ suite?: string;
33
+ city?: string;
34
+ state?: string;
35
+ zip?: string;
36
+ country?: string;
37
+ geocode?: {
38
+ location?: {
39
+ lat: number;
40
+ lng: number;
41
+ };
42
+ formatted_address?: string;
43
+ [key: string]: unknown;
44
+ };
45
+ [key: string]: unknown;
46
+ }
47
+ /**
48
+ * Social link item
49
+ */
50
+ export interface SocialLinkItem {
51
+ id?: string;
52
+ platform: string;
53
+ handle?: string;
54
+ url?: string;
55
+ [key: string]: unknown;
56
+ }
57
+ /**
58
+ * Organization/position item
59
+ */
60
+ export interface OrganizationItem {
61
+ id?: string;
62
+ organization?: string | {
63
+ name: string;
64
+ id?: string;
65
+ };
66
+ position?: string | {
67
+ name: string;
68
+ id?: string;
69
+ };
70
+ position_prefix?: string;
71
+ position_suffix?: string;
72
+ start_date?: Date | string | null;
73
+ end_date?: Date | string | null;
74
+ status?: string;
75
+ [key: string]: unknown;
76
+ }
77
+ /**
78
+ * Related name item
79
+ */
80
+ export interface RelatedNameItem {
81
+ id?: string;
82
+ name?: string;
83
+ first_name?: string;
84
+ last_name?: string;
85
+ label?: string | {
86
+ name: string;
87
+ id?: string;
88
+ };
89
+ birthday?: Date | string | null;
90
+ relationship?: string;
91
+ [key: string]: unknown;
92
+ }
93
+ /**
94
+ * Profile data object
95
+ * Flexible structure to accommodate different data sources
96
+ */
97
+ export interface ProfileData {
98
+ id?: string;
99
+ uid?: string;
100
+ name?: string;
101
+ first_name?: string;
102
+ last_name?: string;
103
+ nickname?: string;
104
+ prefix?: string;
105
+ suffix?: string;
106
+ email?: string;
107
+ phone?: string;
108
+ website?: string;
109
+ birthday?: Date | string | null;
110
+ profile_image?: ProfileImage | string;
111
+ image?: string;
112
+ professional?: ProfessionalInfo;
113
+ address?: AddressInfo | AddressInfo[];
114
+ latLng?: {
115
+ lat: number;
116
+ lng: number;
117
+ };
118
+ _geoloc?: {
119
+ lat: number;
120
+ lng: number;
121
+ };
122
+ social?: SocialLinkItem[];
123
+ organizations?: OrganizationItem[];
124
+ relatedNames?: RelatedNameItem[];
125
+ related_names?: RelatedNameItem[];
126
+ status?: 'active' | 'inactive' | string;
127
+ [key: string]: unknown;
128
+ }
129
+ /**
130
+ * Profile preview configuration
131
+ */
132
+ export interface ProfilePreviewConfig {
133
+ showContact?: boolean;
134
+ showLocation?: boolean;
135
+ showProfessional?: boolean;
136
+ showPersonal?: boolean;
137
+ showOrganizations?: boolean;
138
+ showRelatedNames?: boolean;
139
+ showSocial?: boolean;
140
+ animationEnabled?: boolean;
141
+ animationDelay?: number;
142
+ }
143
+ /**
144
+ * Props for BentoProfileLayout
145
+ */
146
+ export interface BentoProfileLayoutProps {
147
+ profile: ProfileData;
148
+ config?: ProfilePreviewConfig;
149
+ }