@schandlergarcia/sf-web-components 1.2.18 → 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 (35) hide show
  1. package/dist/components/library/cards/ListCard.js +15 -15
  2. package/dist/components/library/cards/TableCard.js +22 -22
  3. package/dist/components/library/cards/TableCard.js.map +1 -1
  4. package/dist/components/library/cards/WidgetCard.js +4 -4
  5. package/dist/components/library/charts/D3Chart.js.map +1 -1
  6. package/dist/components/library/data/DataModeProvider.js +9 -9
  7. package/dist/components/library/data/DataModeProvider.js.map +1 -1
  8. package/dist/components/library/heroui/Collapsible.js +12 -16
  9. package/dist/components/library/heroui/Collapsible.js.map +1 -1
  10. package/dist/components/library/heroui/Select.js +6 -8
  11. package/dist/components/library/heroui/Select.js.map +1 -1
  12. package/dist/components/library/index.d.ts +4 -27
  13. package/dist/components/library/index.js +35 -39
  14. package/dist/components/library/index.js.map +1 -1
  15. package/dist/components/library/theme/AppThemeProvider.js +4 -4
  16. package/dist/components/library/theme/AppThemeProvider.js.map +1 -1
  17. package/dist/components/library/ui/Avatar.js +8 -8
  18. package/dist/components/library/ui/UIButton.d.ts +22 -11
  19. package/dist/components/library/ui/UIButton.js +23 -28
  20. package/dist/components/library/ui/UIButton.js.map +1 -1
  21. package/dist/components/library/ui/collapsible.d.ts +1 -1
  22. package/dist/components/library/ui/collapsible.js.map +1 -1
  23. package/dist/components/library/ui/dialog.d.ts +1 -1
  24. package/dist/components/library/ui/popover.d.ts +1 -1
  25. package/dist/components/library/ui/select.d.ts +1 -1
  26. package/dist/components/library/ui/select.js.map +1 -1
  27. package/dist/index.js +229 -227
  28. package/dist/index.js.map +1 -1
  29. package/package.json +9 -3
  30. package/src/components/library/index.jsx +5 -7
  31. package/src/components/library/ui/Collapsible.tsx +1 -1
  32. package/src/components/library/ui/Dialog.tsx +1 -1
  33. package/src/components/library/ui/Popover.tsx +1 -1
  34. package/src/components/library/ui/Select.tsx +1 -1
  35. package/src/components/library/ui/{UIButton.jsx → UIButton.tsx} +15 -14
package/dist/index.js CHANGED
@@ -1,241 +1,243 @@
1
1
  import { cn as o } from "./lib/utils.js";
2
- import { Breadcrumb as t, BreadcrumbEllipsis as l, BreadcrumbItem as f, BreadcrumbLink as d, BreadcrumbList as s, BreadcrumbPage as p, BreadcrumbSeparator as u, PaginationContent as m, PaginationEllipsis as i, PaginationItem as x, PaginationLink as n, PaginationNext as g, PaginationPrevious as C, SelectContent as c, SelectItem as I, SelectTrigger as U, SelectValue as D } from "./components/library/index.js";
3
- import { default as P } from "./components/library/cards/ActionList.js";
4
- import { default as T } from "./components/library/cards/ActivityCard.js";
5
- import { Alert as h, AlertAction as F, AlertDescription as b, AlertTitle as k } from "./components/library/ui/Alert.js";
6
- import { default as y, useThemeMode as A } from "./components/library/theme/AppThemeProvider.js";
7
- import { default as L } from "./components/library/ui/Avatar.js";
8
- import { default as E } from "./components/library/cards/BaseCard.js";
9
- import { default as R } from "./components/library/cards/CalloutCard.js";
10
- import { default as V } from "./components/library/skeletons/CardSkeleton.js";
11
- import { default as N } from "./components/library/cards/ChartCard.js";
12
- import { default as j } from "./components/library/chat/ChatBar.js";
13
- import { default as z } from "./components/library/chat/ChatInput.js";
14
- import { default as Q } from "./components/library/chat/ChatMessage.js";
15
- import { default as Y } from "./components/library/chat/ChatMessageList.js";
16
- import { default as _ } from "./components/library/chat/ChatPanel.js";
17
- import { default as ee } from "./components/library/chat/ChatSuggestions.js";
18
- import { default as oe } from "./components/library/chat/ChatToolCall.js";
19
- import { default as te } from "./components/library/chat/ChatTypingIndicator.js";
20
- import { default as fe } from "./components/library/chat/ChatWelcome.js";
21
- import { default as se } from "./components/library/ui/Checkbox.js";
22
- import { default as ue } from "./components/library/charts/D3Chart.js";
23
- import { default as ie, useDataMode as xe } from "./components/library/data/DataModeProvider.js";
24
- import { default as ge } from "./components/library/data/DataModeToggle.js";
25
- import { default as ce } from "./components/library/ui/EmptyState.js";
26
- import { default as Ue } from "./components/library/cards/FeedPanel.js";
27
- import { default as He } from "./components/library/ui/FieldGroup.js";
28
- import { default as Se } from "./components/library/filters/FilterBar.js";
29
- import { default as Be } from "./components/library/forms/FormField.js";
30
- import { default as Fe } from "./components/library/forms/FormModal.js";
31
- import { default as ke } from "./components/library/forms/FormRenderer.js";
32
- import { default as ye } from "./components/library/forms/FormSection.js";
33
- import { default as ve } from "./components/library/charts/GeoMap.js";
34
- import { default as we } from "./components/library/heroui/Accordion.js";
35
- import { default as Ke } from "./components/library/heroui/Alert.js";
36
- import { default as Ge } from "./components/library/heroui/Badge.js";
37
- import { default as We } from "./components/library/heroui/Breadcrumbs.js";
38
- import { Button as Oe, default as je } from "./components/library/heroui/Button.js";
39
- import { default as ze } from "./components/library/heroui/Card.js";
40
- import { Collapsible as Qe, CollapsibleContent as Xe, CollapsibleTrigger as Ye, default as Ze } from "./components/library/heroui/Collapsible.js";
41
- import { DatePicker as $e, DatePickerCalendar as er, DatePickerContent as rr, DatePickerRangeTrigger as or, DatePickerTrigger as ar, default as tr } from "./components/library/heroui/DatePicker.js";
42
- import { Dialog as fr, DialogClose as dr, DialogContent as sr, DialogDescription as pr, DialogFooter as ur, DialogHeader as mr, DialogOverlay as ir, DialogPortal as xr, DialogTitle as nr, DialogTrigger as gr, default as Cr } from "./components/library/heroui/Dialog.js";
43
- import { default as Ir } from "./components/library/heroui/Drawer.js";
44
- import { default as Dr } from "./components/library/heroui/Dropdown.js";
45
- import { Field as Pr, FieldDescription as Sr, FieldError as Tr, FieldLabel as Br, default as hr } from "./components/library/heroui/Field.js";
46
- import { default as br } from "./components/library/heroui/Input.js";
47
- import { default as Mr } from "./components/library/heroui/Kbd.js";
48
- import { default as Ar } from "./components/library/heroui/Meter.js";
49
- import { default as Lr } from "./components/library/heroui/Modal.js";
50
- import { default as Er } from "./components/library/heroui/Pagination.js";
51
- import { default as Rr, Popover as Gr, PopoverContent as Vr, PopoverTrigger as Wr } from "./components/library/heroui/Popover.js";
52
- import { default as Or } from "./components/library/heroui/ProgressBar.js";
53
- import { default as qr } from "./components/library/heroui/ProgressCircle.js";
54
- import { default as Jr } from "./components/library/heroui/ScrollShadow.js";
55
- import { default as Xr, Select as Yr } from "./components/library/heroui/Select.js";
56
- import { default as _r } from "./components/library/heroui/Separator.js";
57
- import { default as eo } from "./components/library/heroui/Skeleton.js";
58
- import { default as oo } from "./components/library/heroui/Tabs.js";
59
- import { default as to } from "./components/library/heroui/Toast.js";
60
- import { default as fo } from "./components/library/heroui/Toggle.js";
61
- import { default as po } from "./components/library/heroui/Tooltip.js";
62
- import { default as mo } from "./components/library/ui/Label.js";
63
- import { default as xo } from "./components/library/cards/ListCard.js";
64
- import { default as go } from "./components/library/cards/MetricCard.js";
65
- import { default as co } from "./components/library/cards/MetricsStrip.js";
66
- import { default as Uo } from "./components/library/layout/PageContainer.js";
67
- import { default as Ho } from "./components/library/filters/SearchFilter.js";
68
- import { default as So } from "./components/library/cards/SectionCard.js";
69
- import { default as Bo } from "./components/library/filters/SelectFilter.js";
70
- import { default as Fo } from "./components/library/ui/Spinner.js";
71
- import { default as ko } from "./components/library/cards/StatusCard.js";
72
- import { default as yo } from "./components/library/cards/TableCard.js";
73
- import { default as vo } from "./components/library/filters/ToggleFilter.js";
74
- import { default as wo } from "./components/library/ui/UIButton.js";
75
- import { Card as Ko, CardContent as Ro, CardDescription as Go, CardFooter as Vo, CardHeader as Wo, CardTitle as No, default as Oo } from "./components/library/ui/Card.js";
76
- import { default as qo } from "./components/library/ui/Chip.js";
77
- import { default as Jo } from "./components/library/ui/Container.js";
78
- import { default as Xo } from "./components/library/ui/UIInput.js";
79
- import { default as Zo } from "./components/library/ui/Text.js";
80
- import { default as $o } from "./components/library/cards/WidgetCard.js";
81
- import { default as ra } from "./components/library/chat/useChatState.js";
82
- import { default as aa } from "./components/library/data/useDataSource.js";
83
- import { default as la } from "./components/library/forms/useFormState.js";
84
- import { default as da } from "./components/library/data/usePageFilters.js";
85
- import { Breadcrumbs as pa, Kbd as ua, Pagination as ma, ScrollShadow as ia, Separator as xa, Skeleton as na } from "@heroui/react";
86
- import { D3ChartTemplates as Ca } from "./components/library/charts/D3ChartTemplates.js";
87
- import { applyFilters as Ia, filterByDateRange as Ua, filterBySearch as Da, filterByToggle as Ha, filterByValue as Pa, sortByKey as Sa } from "./components/library/data/filterUtils.js";
2
+ import { Breadcrumb as t, BreadcrumbEllipsis as f, BreadcrumbItem as l, BreadcrumbLink as d, BreadcrumbList as s, BreadcrumbPage as p, BreadcrumbSeparator as m, PaginationContent as u, PaginationEllipsis as i, PaginationItem as x, PaginationLink as n, PaginationNext as g, PaginationPrevious as C } from "./components/library/index.js";
3
+ import { default as I } from "./components/library/cards/ActionList.js";
4
+ import { default as D } from "./components/library/cards/ActivityCard.js";
5
+ import { Alert as P, AlertAction as S, AlertDescription as T, AlertTitle as B } from "./components/library/ui/Alert.js";
6
+ import { default as F, useThemeMode as b } from "./components/library/theme/AppThemeProvider.js";
7
+ import { default as M } from "./components/library/ui/Avatar.js";
8
+ import { default as A } from "./components/library/cards/BaseCard.js";
9
+ import { default as L } from "./components/library/cards/CalloutCard.js";
10
+ import { default as E } from "./components/library/skeletons/CardSkeleton.js";
11
+ import { default as R } from "./components/library/cards/ChartCard.js";
12
+ import { default as V } from "./components/library/chat/ChatBar.js";
13
+ import { default as N } from "./components/library/chat/ChatInput.js";
14
+ import { default as j } from "./components/library/chat/ChatMessage.js";
15
+ import { default as z } from "./components/library/chat/ChatMessageList.js";
16
+ import { default as Q } from "./components/library/chat/ChatPanel.js";
17
+ import { default as Y } from "./components/library/chat/ChatSuggestions.js";
18
+ import { default as _ } from "./components/library/chat/ChatToolCall.js";
19
+ import { default as ee } from "./components/library/chat/ChatTypingIndicator.js";
20
+ import { default as oe } from "./components/library/chat/ChatWelcome.js";
21
+ import { default as te } from "./components/library/ui/Checkbox.js";
22
+ import { default as le } from "./components/library/charts/D3Chart.js";
23
+ import { default as se, useDataMode as pe } from "./components/library/data/DataModeProvider.js";
24
+ import { default as ue } from "./components/library/data/DataModeToggle.js";
25
+ import { default as xe } from "./components/library/ui/EmptyState.js";
26
+ import { default as ge } from "./components/library/cards/FeedPanel.js";
27
+ import { default as ce } from "./components/library/ui/FieldGroup.js";
28
+ import { default as Ue } from "./components/library/filters/FilterBar.js";
29
+ import { default as He } from "./components/library/forms/FormField.js";
30
+ import { default as Se } from "./components/library/forms/FormModal.js";
31
+ import { default as Be } from "./components/library/forms/FormRenderer.js";
32
+ import { default as Fe } from "./components/library/forms/FormSection.js";
33
+ import { default as ke } from "./components/library/charts/GeoMap.js";
34
+ import { default as ye } from "./components/library/heroui/Accordion.js";
35
+ import { default as ve } from "./components/library/heroui/Alert.js";
36
+ import { default as we } from "./components/library/heroui/Badge.js";
37
+ import { default as Ke } from "./components/library/heroui/Breadcrumbs.js";
38
+ import { Button as Ge, default as Ve } from "./components/library/heroui/Button.js";
39
+ import { default as Ne } from "./components/library/heroui/Card.js";
40
+ import { default as je } from "./components/library/heroui/Collapsible.js";
41
+ import { DatePicker as ze, DatePickerCalendar as Je, DatePickerContent as Qe, DatePickerRangeTrigger as Xe, DatePickerTrigger as Ye, default as Ze } from "./components/library/heroui/DatePicker.js";
42
+ import { Dialog as $e, DialogClose as er, DialogContent as rr, DialogDescription as or, DialogFooter as ar, DialogHeader as tr, DialogOverlay as fr, DialogPortal as lr, DialogTitle as dr, DialogTrigger as sr, default as pr } from "./components/library/heroui/Dialog.js";
43
+ import { default as ur } from "./components/library/heroui/Drawer.js";
44
+ import { default as xr } from "./components/library/heroui/Dropdown.js";
45
+ import { Field as gr, FieldDescription as Cr, FieldError as cr, FieldLabel as Ir, default as Ur } from "./components/library/heroui/Field.js";
46
+ import { default as Hr } from "./components/library/heroui/Input.js";
47
+ import { default as Sr } from "./components/library/heroui/Kbd.js";
48
+ import { default as Br } from "./components/library/heroui/Meter.js";
49
+ import { default as Fr } from "./components/library/heroui/Modal.js";
50
+ import { default as kr } from "./components/library/heroui/Pagination.js";
51
+ import { default as yr, Popover as Ar, PopoverContent as vr, PopoverTrigger as Lr } from "./components/library/heroui/Popover.js";
52
+ import { default as Er } from "./components/library/heroui/ProgressBar.js";
53
+ import { default as Rr } from "./components/library/heroui/ProgressCircle.js";
54
+ import { default as Vr } from "./components/library/heroui/ScrollShadow.js";
55
+ import { default as Nr } from "./components/library/heroui/Select.js";
56
+ import { default as jr } from "./components/library/heroui/Separator.js";
57
+ import { default as zr } from "./components/library/heroui/Skeleton.js";
58
+ import { default as Qr } from "./components/library/heroui/Tabs.js";
59
+ import { default as Yr } from "./components/library/heroui/Toast.js";
60
+ import { default as _r } from "./components/library/heroui/Toggle.js";
61
+ import { default as eo } from "./components/library/heroui/Tooltip.js";
62
+ import { default as oo } from "./components/library/ui/Label.js";
63
+ import { default as to } from "./components/library/cards/ListCard.js";
64
+ import { default as lo } from "./components/library/cards/MetricCard.js";
65
+ import { default as po } from "./components/library/cards/MetricsStrip.js";
66
+ import { default as uo } from "./components/library/layout/PageContainer.js";
67
+ import { default as xo } from "./components/library/filters/SearchFilter.js";
68
+ import { default as go } from "./components/library/cards/SectionCard.js";
69
+ import { default as co } from "./components/library/filters/SelectFilter.js";
70
+ import { default as Uo } from "./components/library/ui/Spinner.js";
71
+ import { default as Ho } from "./components/library/cards/StatusCard.js";
72
+ import { default as So } from "./components/library/cards/TableCard.js";
73
+ import { default as Bo } from "./components/library/filters/ToggleFilter.js";
74
+ import { default as Fo } from "./components/library/ui/UIButton.js";
75
+ import { Card as ko, CardContent as Mo, CardDescription as yo, CardFooter as Ao, CardHeader as vo, CardTitle as Lo, default as wo } from "./components/library/ui/Card.js";
76
+ import { default as Ko } from "./components/library/ui/Chip.js";
77
+ import { default as Go } from "./components/library/ui/Container.js";
78
+ import { default as Wo } from "./components/library/ui/UIInput.js";
79
+ import { default as Oo } from "./components/library/ui/Text.js";
80
+ import { default as qo } from "./components/library/cards/WidgetCard.js";
81
+ import { default as Jo } from "./components/library/chat/useChatState.js";
82
+ import { default as Xo } from "./components/library/data/useDataSource.js";
83
+ import { default as Zo } from "./components/library/forms/useFormState.js";
84
+ import { default as $o } from "./components/library/data/usePageFilters.js";
85
+ import { Breadcrumbs as ra, Kbd as oa, Pagination as aa, ScrollShadow as ta, Separator as fa, Skeleton as la } from "@heroui/react";
86
+ import { Collapsible as sa, CollapsibleContent as pa, CollapsibleTrigger as ma } from "./components/library/ui/Collapsible.js";
87
+ import { D3ChartTemplates as ia } from "./components/library/charts/D3ChartTemplates.js";
88
+ import { Select as na, SelectContent as ga, SelectItem as Ca, SelectTrigger as ca, SelectValue as Ia } from "./components/library/ui/Select.js";
89
+ import { applyFilters as Da, filterByDateRange as Ha, filterBySearch as Pa, filterByToggle as Sa, filterByValue as Ta, sortByKey as Ba } from "./components/library/data/filterUtils.js";
88
90
  export {
89
- P as ActionList,
90
- T as ActivityCard,
91
- h as Alert,
92
- F as AlertAction,
93
- b as AlertDescription,
94
- k as AlertTitle,
95
- y as AppThemeProvider,
96
- L as Avatar,
97
- E as BaseCard,
91
+ I as ActionList,
92
+ D as ActivityCard,
93
+ P as Alert,
94
+ S as AlertAction,
95
+ T as AlertDescription,
96
+ B as AlertTitle,
97
+ F as AppThemeProvider,
98
+ M as Avatar,
99
+ A as BaseCard,
98
100
  t as Breadcrumb,
99
- l as BreadcrumbEllipsis,
100
- f as BreadcrumbItem,
101
+ f as BreadcrumbEllipsis,
102
+ l as BreadcrumbItem,
101
103
  d as BreadcrumbLink,
102
104
  s as BreadcrumbList,
103
105
  p as BreadcrumbPage,
104
- u as BreadcrumbSeparator,
105
- pa as Breadcrumbs,
106
- Oe as Button,
107
- R as CalloutCard,
108
- Ko as Card,
109
- Ro as CardContent,
110
- Go as CardDescription,
111
- Vo as CardFooter,
112
- Wo as CardHeader,
113
- V as CardSkeleton,
114
- No as CardTitle,
115
- N as ChartCard,
116
- j as ChatBar,
117
- z as ChatInput,
118
- Q as ChatMessage,
119
- Y as ChatMessageList,
120
- _ as ChatPanel,
121
- ee as ChatSuggestions,
122
- oe as ChatToolCall,
123
- te as ChatTypingIndicator,
124
- fe as ChatWelcome,
125
- se as Checkbox,
126
- Qe as Collapsible,
127
- Xe as CollapsibleContent,
128
- Ye as CollapsibleTrigger,
129
- ue as D3Chart,
130
- Ca as D3ChartTemplates,
131
- ie as DataModeProvider,
132
- ge as DataModeToggle,
133
- $e as DatePicker,
134
- er as DatePickerCalendar,
135
- rr as DatePickerContent,
136
- or as DatePickerRangeTrigger,
137
- ar as DatePickerTrigger,
138
- fr as Dialog,
139
- dr as DialogClose,
140
- sr as DialogContent,
141
- pr as DialogDescription,
142
- ur as DialogFooter,
143
- mr as DialogHeader,
144
- ir as DialogOverlay,
145
- xr as DialogPortal,
146
- nr as DialogTitle,
147
- gr as DialogTrigger,
148
- ce as EmptyState,
149
- Ue as FeedPanel,
150
- Pr as Field,
151
- Sr as FieldDescription,
152
- Tr as FieldError,
153
- He as FieldGroup,
154
- Br as FieldLabel,
155
- Se as FilterBar,
156
- Be as FormField,
157
- Fe as FormModal,
158
- ke as FormRenderer,
159
- ye as FormSection,
160
- ve as GeoMap,
161
- we as HeroUIAccordion,
162
- Ke as HeroUIAlert,
163
- Ge as HeroUIBadge,
164
- We as HeroUIBreadcrumbs,
165
- je as HeroUIButton,
166
- ze as HeroUICard,
167
- Ze as HeroUICollapsible,
168
- tr as HeroUIDatePicker,
169
- Cr as HeroUIDialog,
170
- Ir as HeroUIDrawer,
171
- Dr as HeroUIDropdown,
172
- hr as HeroUIField,
173
- br as HeroUIInput,
174
- Mr as HeroUIKbd,
175
- Ar as HeroUIMeter,
176
- Lr as HeroUIModal,
177
- Er as HeroUIPagination,
178
- Rr as HeroUIPopover,
179
- Or as HeroUIProgressBar,
180
- qr as HeroUIProgressCircle,
181
- Jr as HeroUIScrollShadow,
182
- Xr as HeroUISelect,
183
- _r as HeroUISeparator,
184
- eo as HeroUISkeleton,
185
- oo as HeroUITabs,
186
- to as HeroUIToast,
187
- fo as HeroUIToggle,
188
- po as HeroUITooltip,
189
- ua as Kbd,
190
- mo as Label,
191
- xo as ListCard,
192
- go as MetricCard,
193
- co as MetricsStrip,
194
- Uo as PageContainer,
195
- ma as Pagination,
196
- m as PaginationContent,
106
+ m as BreadcrumbSeparator,
107
+ ra as Breadcrumbs,
108
+ Ge as Button,
109
+ L as CalloutCard,
110
+ ko as Card,
111
+ Mo as CardContent,
112
+ yo as CardDescription,
113
+ Ao as CardFooter,
114
+ vo as CardHeader,
115
+ E as CardSkeleton,
116
+ Lo as CardTitle,
117
+ R as ChartCard,
118
+ V as ChatBar,
119
+ N as ChatInput,
120
+ j as ChatMessage,
121
+ z as ChatMessageList,
122
+ Q as ChatPanel,
123
+ Y as ChatSuggestions,
124
+ _ as ChatToolCall,
125
+ ee as ChatTypingIndicator,
126
+ oe as ChatWelcome,
127
+ te as Checkbox,
128
+ sa as Collapsible,
129
+ pa as CollapsibleContent,
130
+ ma as CollapsibleTrigger,
131
+ le as D3Chart,
132
+ ia as D3ChartTemplates,
133
+ se as DataModeProvider,
134
+ ue as DataModeToggle,
135
+ ze as DatePicker,
136
+ Je as DatePickerCalendar,
137
+ Qe as DatePickerContent,
138
+ Xe as DatePickerRangeTrigger,
139
+ Ye as DatePickerTrigger,
140
+ $e as Dialog,
141
+ er as DialogClose,
142
+ rr as DialogContent,
143
+ or as DialogDescription,
144
+ ar as DialogFooter,
145
+ tr as DialogHeader,
146
+ fr as DialogOverlay,
147
+ lr as DialogPortal,
148
+ dr as DialogTitle,
149
+ sr as DialogTrigger,
150
+ xe as EmptyState,
151
+ ge as FeedPanel,
152
+ gr as Field,
153
+ Cr as FieldDescription,
154
+ cr as FieldError,
155
+ ce as FieldGroup,
156
+ Ir as FieldLabel,
157
+ Ue as FilterBar,
158
+ He as FormField,
159
+ Se as FormModal,
160
+ Be as FormRenderer,
161
+ Fe as FormSection,
162
+ ke as GeoMap,
163
+ ye as HeroUIAccordion,
164
+ ve as HeroUIAlert,
165
+ we as HeroUIBadge,
166
+ Ke as HeroUIBreadcrumbs,
167
+ Ve as HeroUIButton,
168
+ Ne as HeroUICard,
169
+ je as HeroUICollapsible,
170
+ Ze as HeroUIDatePicker,
171
+ pr as HeroUIDialog,
172
+ ur as HeroUIDrawer,
173
+ xr as HeroUIDropdown,
174
+ Ur as HeroUIField,
175
+ Hr as HeroUIInput,
176
+ Sr as HeroUIKbd,
177
+ Br as HeroUIMeter,
178
+ Fr as HeroUIModal,
179
+ kr as HeroUIPagination,
180
+ yr as HeroUIPopover,
181
+ Er as HeroUIProgressBar,
182
+ Rr as HeroUIProgressCircle,
183
+ Vr as HeroUIScrollShadow,
184
+ Nr as HeroUISelect,
185
+ jr as HeroUISeparator,
186
+ zr as HeroUISkeleton,
187
+ Qr as HeroUITabs,
188
+ Yr as HeroUIToast,
189
+ _r as HeroUIToggle,
190
+ eo as HeroUITooltip,
191
+ oa as Kbd,
192
+ oo as Label,
193
+ to as ListCard,
194
+ lo as MetricCard,
195
+ po as MetricsStrip,
196
+ uo as PageContainer,
197
+ aa as Pagination,
198
+ u as PaginationContent,
197
199
  i as PaginationEllipsis,
198
200
  x as PaginationItem,
199
201
  n as PaginationLink,
200
202
  g as PaginationNext,
201
203
  C as PaginationPrevious,
202
- Gr as Popover,
203
- Vr as PopoverContent,
204
- Wr as PopoverTrigger,
205
- ia as ScrollShadow,
206
- Ho as SearchFilter,
207
- So as SectionCard,
208
- Yr as Select,
209
- c as SelectContent,
210
- Bo as SelectFilter,
211
- I as SelectItem,
212
- U as SelectTrigger,
213
- D as SelectValue,
214
- xa as Separator,
215
- na as Skeleton,
216
- Fo as Spinner,
217
- ko as StatusCard,
218
- yo as TableCard,
219
- vo as ToggleFilter,
220
- wo as UIButton,
221
- Oo as UICard,
222
- qo as UIChip,
223
- Jo as UIContainer,
224
- Xo as UIInput,
225
- Zo as UIText,
226
- $o as WidgetCard,
227
- Ia as applyFilters,
204
+ Ar as Popover,
205
+ vr as PopoverContent,
206
+ Lr as PopoverTrigger,
207
+ ta as ScrollShadow,
208
+ xo as SearchFilter,
209
+ go as SectionCard,
210
+ na as Select,
211
+ ga as SelectContent,
212
+ co as SelectFilter,
213
+ Ca as SelectItem,
214
+ ca as SelectTrigger,
215
+ Ia as SelectValue,
216
+ fa as Separator,
217
+ la as Skeleton,
218
+ Uo as Spinner,
219
+ Ho as StatusCard,
220
+ So as TableCard,
221
+ Bo as ToggleFilter,
222
+ Fo as UIButton,
223
+ wo as UICard,
224
+ Ko as UIChip,
225
+ Go as UIContainer,
226
+ Wo as UIInput,
227
+ Oo as UIText,
228
+ qo as WidgetCard,
229
+ Da as applyFilters,
228
230
  o as cn,
229
- Ua as filterByDateRange,
230
- Da as filterBySearch,
231
- Ha as filterByToggle,
232
- Pa as filterByValue,
233
- Sa as sortByKey,
234
- ra as useChatState,
235
- xe as useDataMode,
236
- aa as useDataSource,
237
- la as useFormState,
238
- da as usePageFilters,
239
- A as useThemeMode
231
+ Ha as filterByDateRange,
232
+ Pa as filterBySearch,
233
+ Sa as filterByToggle,
234
+ Ta as filterByValue,
235
+ Ba as sortByKey,
236
+ Jo as useChatState,
237
+ pe as useDataMode,
238
+ Xo as useDataSource,
239
+ Zo as useFormState,
240
+ $o as usePageFilters,
241
+ b as useThemeMode
240
242
  };
241
243
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schandlergarcia/sf-web-components",
3
- "version": "1.2.18",
3
+ "version": "1.3.1",
4
4
  "description": "Reusable Salesforce web components library with Tailwind CSS v4 and shadcn/ui",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -46,11 +46,14 @@
46
46
  "@heroicons/react": "^2.0.0",
47
47
  "@heroui/react": "^3.0.0",
48
48
  "@heroui/styles": "^3.0.0",
49
+ "@radix-ui/react-collapsible": "^1.0.0",
50
+ "@radix-ui/react-dialog": "^1.0.0",
51
+ "@radix-ui/react-popover": "^1.0.0",
52
+ "@radix-ui/react-select": "^2.0.0",
49
53
  "@tailwindcss/vite": "^4.0.0",
50
54
  "d3": "^7.0.0",
51
55
  "framer-motion": "^12.0.0",
52
56
  "lucide-react": ">=0.500.0",
53
- "radix-ui": "^1.4.0",
54
57
  "react": "^18.0.0 || ^19.0.0",
55
58
  "react-day-picker": "^9.0.0",
56
59
  "react-dom": "^18.0.0 || ^19.0.0",
@@ -68,11 +71,14 @@
68
71
  "tailwind-merge": "^3.5.0"
69
72
  },
70
73
  "devDependencies": {
74
+ "@radix-ui/react-collapsible": "^1.1.12",
75
+ "@radix-ui/react-dialog": "^1.1.15",
76
+ "@radix-ui/react-popover": "^1.1.15",
77
+ "@radix-ui/react-select": "^2.2.6",
71
78
  "@types/react": "^19.2.5",
72
79
  "@types/react-dom": "^19.2.3",
73
80
  "@vitejs/plugin-react": "^5.1.1",
74
81
  "date-fns": "^4.0.0",
75
- "radix-ui": "^1.4.3",
76
82
  "react-day-picker": "^9.14.0",
77
83
  "sonner": "^1.7.0",
78
84
  "typescript": "~5.9.3",
@@ -24,7 +24,8 @@ export { default as Alert, AlertTitle, AlertDescription, AlertAction } from "./u
24
24
  // shadcn-compatible components from heroui/ (HeroUI-based)
25
25
  export { default as HeroUIDialog, Dialog, DialogTrigger, DialogPortal, DialogClose, DialogOverlay, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription } from "./heroui/Dialog";
26
26
  export { default as HeroUIField, Field, FieldLabel, FieldDescription, FieldError } from "./heroui/Field";
27
- export { default as HeroUICollapsible, Collapsible, CollapsibleTrigger, CollapsibleContent } from "./heroui/Collapsible";
27
+ export { default as HeroUICollapsible } from "./heroui/Collapsible";
28
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent } from "./ui/Collapsible";
28
29
  export { default as HeroUIPopover, Popover, PopoverTrigger, PopoverContent } from "./heroui/Popover";
29
30
  export { default as HeroUIDatePicker, DatePicker, DatePickerTrigger, DatePickerContent, DatePickerCalendar, DatePickerRangeTrigger } from "./heroui/DatePicker";
30
31
 
@@ -136,13 +137,10 @@ export { default as HeroUIMeter } from "./heroui/Meter";
136
137
  export { default as HeroUISkeleton, Skeleton } from "./heroui/Skeleton";
137
138
 
138
139
  // HeroUI wrappers — pickers & forms
139
- export { default as HeroUISelect, Select } from "./heroui/Select";
140
+ export { default as HeroUISelect } from "./heroui/Select";
140
141
 
141
- // Re-export Select subcomponents for shadcn compatibility
142
- export const SelectTrigger = ({ children, size, ...props }) => React.createElement('button', props, children);
143
- export const SelectValue = ({ placeholder, ...props }) => React.createElement('span', props, placeholder);
144
- export const SelectContent = ({ children, ...props }) => React.createElement('div', props, children);
145
- export const SelectItem = ({ children, ...props }) => React.createElement('div', props, children);
142
+ // Re-export full Radix Select suite from ui/Select for shadcn compatibility
143
+ export { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from "./ui/Select";
146
144
 
147
145
  // HeroUI wrappers — utilities
148
146
  export { default as HeroUIKbd, Kbd } from "./heroui/Kbd";
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { Collapsible as CollapsiblePrimitive } from "radix-ui";
2
+ import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
3
3
 
4
4
  function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>) {
5
5
  return <CollapsiblePrimitive.Root {...props} />;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { Dialog as DialogPrimitive } from "radix-ui";
2
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
3
3
 
4
4
  function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) {
5
5
  return <DialogPrimitive.Root {...props} />;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { Popover as PopoverPrimitive } from "radix-ui";
2
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
3
3
 
4
4
  function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) {
5
5
  return <PopoverPrimitive.Root {...props} />;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { Select as SelectPrimitive } from "radix-ui";
2
+ import * as SelectPrimitive from "@radix-ui/react-select";
3
3
 
4
4
  function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>) {
5
5
  return <SelectPrimitive.Root {...props} />;