@fayz-ai/ui 0.9.0 → 0.10.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.
- package/README.md +2 -2
- package/dist/analytics/AnalyticsCard.d.ts +10 -0
- package/dist/analytics/AnalyticsCard.d.ts.map +1 -0
- package/dist/analytics/AnalyticsControls.d.ts +18 -0
- package/dist/analytics/AnalyticsControls.d.ts.map +1 -0
- package/dist/analytics/AnalyticsGrid.d.ts +16 -0
- package/dist/analytics/AnalyticsGrid.d.ts.map +1 -0
- package/dist/analytics/context.d.ts +58 -0
- package/dist/analytics/context.d.ts.map +1 -0
- package/dist/analytics/derive.d.ts +81 -0
- package/dist/analytics/derive.d.ts.map +1 -0
- package/dist/analytics/index.d.ts +13 -0
- package/dist/analytics/index.d.ts.map +1 -0
- package/dist/analytics/range.d.ts +22 -0
- package/dist/analytics/range.d.ts.map +1 -0
- package/dist/{chunk-PVIB724L.js → chunk-22EVFMS3.js} +5 -3
- package/dist/chunk-22EVFMS3.js.map +1 -0
- package/dist/{chunk-G6OKZ7WL.js → chunk-6V5MGYXH.js} +13 -9
- package/dist/chunk-6V5MGYXH.js.map +1 -0
- package/dist/{chunk-KV3MHB6N.js → chunk-H63TOSQ7.js} +196 -53
- package/dist/chunk-H63TOSQ7.js.map +1 -0
- package/dist/{chunk-OUPJDGKE.js → chunk-I6CPKAOD.js} +134 -37
- package/dist/chunk-I6CPKAOD.js.map +1 -0
- package/dist/{chunk-YRVE4FOD.js → chunk-OKZ6WQB3.js} +3 -3
- package/dist/chunk-OKZ6WQB3.js.map +1 -0
- package/dist/{chunk-S5KNM4D2.js → chunk-SEIY2F5F.js} +235 -107
- package/dist/chunk-SEIY2F5F.js.map +1 -0
- package/dist/{chunk-75EFDLST.js → chunk-VAKWUUVC.js} +157 -6
- package/dist/chunk-VAKWUUVC.js.map +1 -0
- package/dist/dashboard/OnboardingWidget.d.ts +2 -14
- package/dist/dashboard/OnboardingWidget.d.ts.map +1 -1
- package/dist/dashboard/SidebarOnboarding.d.ts +28 -0
- package/dist/dashboard/SidebarOnboarding.d.ts.map +1 -0
- package/dist/dashboard/index.d.ts +2 -0
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/index.js +4 -4
- package/dist/dashboard/types.d.ts +18 -0
- package/dist/dashboard/types.d.ts.map +1 -1
- package/dist/dashboard/useOnboardingProgress.d.ts +28 -0
- package/dist/dashboard/useOnboardingProgress.d.ts.map +1 -0
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +960 -14
- package/dist/index.js.map +1 -1
- package/dist/layout/AppShell.d.ts +14 -1
- package/dist/layout/AppShell.d.ts.map +1 -1
- package/dist/layout/ModulePage.d.ts +11 -2
- package/dist/layout/ModulePage.d.ts.map +1 -1
- package/dist/layout/Sidebar.d.ts +8 -1
- package/dist/layout/Sidebar.d.ts.map +1 -1
- package/dist/layout/index.js +4 -4
- package/dist/lib/cn.d.ts.map +1 -0
- package/dist/preset.d.ts +3 -0
- package/dist/preset.d.ts.map +1 -0
- package/dist/primitives/data-table.d.ts +19 -4
- package/dist/primitives/data-table.d.ts.map +1 -1
- package/dist/primitives/date-picker.d.ts +4 -2
- package/dist/primitives/date-picker.d.ts.map +1 -1
- package/dist/primitives/filter-chip.d.ts +26 -0
- package/dist/primitives/filter-chip.d.ts.map +1 -0
- package/dist/primitives/header-tabs.d.ts +32 -0
- package/dist/primitives/header-tabs.d.ts.map +1 -0
- package/dist/primitives/hint.d.ts +25 -0
- package/dist/primitives/hint.d.ts.map +1 -0
- package/dist/primitives/index.d.ts +7 -0
- package/dist/primitives/index.d.ts.map +1 -1
- package/dist/primitives/index.js +4 -4
- package/dist/primitives/list-view.d.ts +14 -1
- package/dist/primitives/list-view.d.ts.map +1 -1
- package/dist/primitives/page-header.d.ts +23 -0
- package/dist/primitives/page-header.d.ts.map +1 -0
- package/dist/primitives/stat-tiles.d.ts +30 -0
- package/dist/primitives/stat-tiles.d.ts.map +1 -0
- package/dist/primitives/switch.d.ts +11 -0
- package/dist/primitives/switch.d.ts.map +1 -0
- package/dist/stores/index.d.ts +1 -0
- package/dist/stores/index.d.ts.map +1 -1
- package/dist/stores/page-header.store.d.ts +69 -0
- package/dist/stores/page-header.store.d.ts.map +1 -0
- package/package.json +6 -15
- package/dist/chunk-75EFDLST.js.map +0 -1
- package/dist/chunk-G6OKZ7WL.js.map +0 -1
- package/dist/chunk-KV3MHB6N.js.map +0 -1
- package/dist/chunk-OUPJDGKE.js.map +0 -1
- package/dist/chunk-PVIB724L.js.map +0 -1
- package/dist/chunk-S5KNM4D2.js.map +0 -1
- package/dist/chunk-YRVE4FOD.js.map +0 -1
- package/dist/utils/cn.d.ts.map +0 -1
- package/src/dashboard/ChartWidget.tsx +0 -50
- package/src/dashboard/ChartWidgetInner.tsx +0 -83
- package/src/dashboard/DashboardCanvas.tsx +0 -210
- package/src/dashboard/DashboardCustomizeMenu.tsx +0 -53
- package/src/dashboard/DashboardGrid.tsx +0 -35
- package/src/dashboard/DashboardRange.tsx +0 -62
- package/src/dashboard/GoldCard.tsx +0 -38
- package/src/dashboard/KpiCard.tsx +0 -238
- package/src/dashboard/OnboardingWidget.tsx +0 -140
- package/src/dashboard/TableWidget.tsx +0 -51
- package/src/dashboard/define.ts +0 -53
- package/src/dashboard/icon.ts +0 -13
- package/src/dashboard/index.ts +0 -38
- package/src/dashboard/layout.ts +0 -50
- package/src/dashboard/preferences.ts +0 -71
- package/src/dashboard/types.ts +0 -41
- package/src/icons.ts +0 -66
- package/src/index.ts +0 -238
- package/src/layout/AppShell.tsx +0 -987
- package/src/layout/ContentSplit.tsx +0 -153
- package/src/layout/ModulePage.tsx +0 -466
- package/src/layout/PageTransition.tsx +0 -57
- package/src/layout/SaveBar.tsx +0 -247
- package/src/layout/Sidebar.tsx +0 -535
- package/src/layout/Topbar.tsx +0 -462
- package/src/layout/index.ts +0 -39
- package/src/layout/useCrossModuleBack.ts +0 -30
- package/src/primitives/Avatar.tsx +0 -48
- package/src/primitives/SearchCombobox.tsx +0 -216
- package/src/primitives/badge.tsx +0 -68
- package/src/primitives/breadcrumb.tsx +0 -43
- package/src/primitives/button.tsx +0 -60
- package/src/primitives/card.tsx +0 -79
- package/src/primitives/checkbox.tsx +0 -53
- package/src/primitives/confirm-dialog.tsx +0 -125
- package/src/primitives/currency-input.tsx +0 -121
- package/src/primitives/data-table.tsx +0 -160
- package/src/primitives/date-picker.tsx +0 -225
- package/src/primitives/dropdown.tsx +0 -196
- package/src/primitives/index.ts +0 -87
- package/src/primitives/input.tsx +0 -50
- package/src/primitives/list-view.tsx +0 -252
- package/src/primitives/markdown-editor.tsx +0 -75
- package/src/primitives/markdown.tsx +0 -169
- package/src/primitives/modal.tsx +0 -156
- package/src/primitives/phone-link.tsx +0 -138
- package/src/primitives/popover.tsx +0 -30
- package/src/primitives/search-select.tsx +0 -314
- package/src/primitives/segmented-control.tsx +0 -66
- package/src/primitives/select.tsx +0 -157
- package/src/primitives/separator.tsx +0 -29
- package/src/primitives/sheet.tsx +0 -181
- package/src/primitives/skeleton.tsx +0 -46
- package/src/primitives/tabs.tsx +0 -53
- package/src/primitives/time-picker.tsx +0 -148
- package/src/primitives/toast.tsx +0 -46
- package/src/primitives/tooltip.tsx +0 -28
- package/src/stores/index.ts +0 -10
- package/src/stores/layout.store.ts +0 -31
- package/src/stores/theme.store.ts +0 -457
- package/src/tailwind.ts +0 -43
- package/src/theme/index.ts +0 -94
- package/src/theme/preset.ts +0 -209
- package/src/theme/presets.ts +0 -106
- package/src/utils/cn.ts +0 -6
- /package/dist/{utils → lib}/cn.d.ts +0 -0
- /package/{src → dist}/styles.css +0 -0
package/src/index.ts
DELETED
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
// Utilities
|
|
2
|
-
export { cn } from './utils/cn'
|
|
3
|
-
|
|
4
|
-
// Primitives
|
|
5
|
-
export {
|
|
6
|
-
Button,
|
|
7
|
-
buttonVariants,
|
|
8
|
-
type ButtonProps,
|
|
9
|
-
Input,
|
|
10
|
-
type InputProps,
|
|
11
|
-
Badge,
|
|
12
|
-
badgeVariants,
|
|
13
|
-
type BadgeProps,
|
|
14
|
-
Card,
|
|
15
|
-
CardHeader,
|
|
16
|
-
CardFooter,
|
|
17
|
-
CardTitle,
|
|
18
|
-
CardDescription,
|
|
19
|
-
CardContent,
|
|
20
|
-
Modal,
|
|
21
|
-
ModalPortal,
|
|
22
|
-
ModalOverlay,
|
|
23
|
-
ModalClose,
|
|
24
|
-
ModalTrigger,
|
|
25
|
-
ModalContent,
|
|
26
|
-
ModalHeader,
|
|
27
|
-
ModalBody,
|
|
28
|
-
ModalFooter,
|
|
29
|
-
ModalTitle,
|
|
30
|
-
ModalDescription,
|
|
31
|
-
type ModalSize,
|
|
32
|
-
Dropdown,
|
|
33
|
-
DropdownTrigger,
|
|
34
|
-
DropdownContent,
|
|
35
|
-
DropdownItem,
|
|
36
|
-
DropdownCheckboxItem,
|
|
37
|
-
DropdownRadioItem,
|
|
38
|
-
DropdownLabel,
|
|
39
|
-
DropdownSeparator,
|
|
40
|
-
DropdownShortcut,
|
|
41
|
-
DropdownGroup,
|
|
42
|
-
DropdownPortal,
|
|
43
|
-
DropdownSub,
|
|
44
|
-
DropdownSubContent,
|
|
45
|
-
DropdownSubTrigger,
|
|
46
|
-
DropdownRadioGroup,
|
|
47
|
-
DataTable,
|
|
48
|
-
type DataTableProps,
|
|
49
|
-
Checkbox,
|
|
50
|
-
type CheckboxColor,
|
|
51
|
-
type CheckboxProps,
|
|
52
|
-
Sheet,
|
|
53
|
-
SheetPortal,
|
|
54
|
-
SheetOverlay,
|
|
55
|
-
SheetTrigger,
|
|
56
|
-
SheetClose,
|
|
57
|
-
SheetContent,
|
|
58
|
-
SheetHeader,
|
|
59
|
-
SheetBody,
|
|
60
|
-
SheetFooter,
|
|
61
|
-
SheetTitle,
|
|
62
|
-
SheetDescription,
|
|
63
|
-
Select,
|
|
64
|
-
SelectGroup,
|
|
65
|
-
SelectValue,
|
|
66
|
-
SelectTrigger,
|
|
67
|
-
SelectContent,
|
|
68
|
-
SelectLabel,
|
|
69
|
-
SelectItem,
|
|
70
|
-
SelectSeparator,
|
|
71
|
-
SelectScrollUpButton,
|
|
72
|
-
SelectScrollDownButton,
|
|
73
|
-
ToastProvider,
|
|
74
|
-
toast,
|
|
75
|
-
Tabs,
|
|
76
|
-
TabsList,
|
|
77
|
-
TabsTrigger,
|
|
78
|
-
TabsContent,
|
|
79
|
-
Separator,
|
|
80
|
-
PhoneLink,
|
|
81
|
-
normalizePhone,
|
|
82
|
-
type PhoneLinkProps,
|
|
83
|
-
type NormalizedPhone,
|
|
84
|
-
Breadcrumb,
|
|
85
|
-
Tooltip,
|
|
86
|
-
TooltipTrigger,
|
|
87
|
-
TooltipContent,
|
|
88
|
-
TooltipProvider,
|
|
89
|
-
TimePicker,
|
|
90
|
-
Skeleton,
|
|
91
|
-
TableSkeleton,
|
|
92
|
-
ListView,
|
|
93
|
-
DatePicker,
|
|
94
|
-
SearchSelect,
|
|
95
|
-
type SearchSelectOption,
|
|
96
|
-
type SearchSelectProps,
|
|
97
|
-
CurrencyInput,
|
|
98
|
-
ConfirmDialog,
|
|
99
|
-
Popover,
|
|
100
|
-
PopoverTrigger,
|
|
101
|
-
PopoverContent,
|
|
102
|
-
SegmentedControl,
|
|
103
|
-
type SegmentedControlProps,
|
|
104
|
-
type SegmentedOption,
|
|
105
|
-
Markdown,
|
|
106
|
-
renderMarkdown,
|
|
107
|
-
type MarkdownProps,
|
|
108
|
-
MarkdownEditor,
|
|
109
|
-
type MarkdownEditorProps,
|
|
110
|
-
SearchCombobox,
|
|
111
|
-
type ComboboxOption,
|
|
112
|
-
} from './primitives'
|
|
113
|
-
|
|
114
|
-
// Layout
|
|
115
|
-
export {
|
|
116
|
-
AppShell,
|
|
117
|
-
type AppShellProps,
|
|
118
|
-
type AppShellUser,
|
|
119
|
-
type BottomNavItem,
|
|
120
|
-
type BottomNavRouteItem,
|
|
121
|
-
type BottomNavActionItem,
|
|
122
|
-
type MobileHeaderVariant,
|
|
123
|
-
Sidebar,
|
|
124
|
-
type SidebarProps,
|
|
125
|
-
type SidebarUser,
|
|
126
|
-
type NavigationItem,
|
|
127
|
-
ICON_MAP,
|
|
128
|
-
Topbar,
|
|
129
|
-
type TopbarProps,
|
|
130
|
-
ModulePage,
|
|
131
|
-
SubpageHeader,
|
|
132
|
-
ContentSplit,
|
|
133
|
-
ContentSplitTrigger,
|
|
134
|
-
ModuleLayoutProvider,
|
|
135
|
-
useModuleLayout,
|
|
136
|
-
PageHeaderActions,
|
|
137
|
-
BackStyleProvider,
|
|
138
|
-
useBackStyle,
|
|
139
|
-
SaveBar,
|
|
140
|
-
SaveBarProvider,
|
|
141
|
-
useSaveBar,
|
|
142
|
-
useBackHandler,
|
|
143
|
-
type SaveBarRegistration,
|
|
144
|
-
useModuleHeaderSlot,
|
|
145
|
-
useModuleHeaderActionsSlot,
|
|
146
|
-
PageTransition,
|
|
147
|
-
NavTransitionProvider,
|
|
148
|
-
useNavTransition,
|
|
149
|
-
type NavTransition,
|
|
150
|
-
type ModulePageProps,
|
|
151
|
-
type ModuleNavItem,
|
|
152
|
-
type ModuleNavVariant,
|
|
153
|
-
type SubpageHeaderProps,
|
|
154
|
-
type ContentSplitProps,
|
|
155
|
-
type ContentSplitTriggerProps,
|
|
156
|
-
type BackButtonStyle,
|
|
157
|
-
} from './layout'
|
|
158
|
-
|
|
159
|
-
// Stores
|
|
160
|
-
export {
|
|
161
|
-
useLayoutStore,
|
|
162
|
-
useThemeStore,
|
|
163
|
-
lightTheme,
|
|
164
|
-
darkTheme,
|
|
165
|
-
type ThemeTokens,
|
|
166
|
-
type SemanticColors,
|
|
167
|
-
type UIPerceptionTokens,
|
|
168
|
-
type CreateThemeOptions,
|
|
169
|
-
} from './stores'
|
|
170
|
-
|
|
171
|
-
// Theme
|
|
172
|
-
export {
|
|
173
|
-
ThemeProvider,
|
|
174
|
-
useTheme,
|
|
175
|
-
createTheme,
|
|
176
|
-
createFayzTheme,
|
|
177
|
-
fayzThemePresets,
|
|
178
|
-
type ThemeProviderProps,
|
|
179
|
-
type FayzThemePresetId,
|
|
180
|
-
} from './theme'
|
|
181
|
-
|
|
182
|
-
// Avatar (used by the admin shell: TeamTab, UserProfile)
|
|
183
|
-
export { Avatar, AvatarImage, AvatarFallback } from './primitives/Avatar'
|
|
184
|
-
|
|
185
|
-
// Dashboard widget kit
|
|
186
|
-
export {
|
|
187
|
-
DashboardCanvas,
|
|
188
|
-
WidgetGrid,
|
|
189
|
-
DashboardNavigateProvider,
|
|
190
|
-
useDashboardNavigate,
|
|
191
|
-
type DashboardCanvasProps,
|
|
192
|
-
resolveDashboardLayout,
|
|
193
|
-
type LaidOutWidget,
|
|
194
|
-
useDashboardPreferences,
|
|
195
|
-
type DashboardPreferencesState,
|
|
196
|
-
DashboardCustomizeMenu,
|
|
197
|
-
type DashboardCustomizeMenuProps,
|
|
198
|
-
DashboardGrid,
|
|
199
|
-
type DashboardGridItem,
|
|
200
|
-
type DashboardGridProps,
|
|
201
|
-
GoldCard,
|
|
202
|
-
type GoldCardProps,
|
|
203
|
-
DashboardRangeProvider,
|
|
204
|
-
DashboardRangeControl,
|
|
205
|
-
useDashboardRange,
|
|
206
|
-
DEFAULT_RANGE_OPTIONS,
|
|
207
|
-
type DashboardRange,
|
|
208
|
-
type DashboardRangeProviderProps,
|
|
209
|
-
type DashboardRangeOptions,
|
|
210
|
-
KpiCard,
|
|
211
|
-
formatKpiValue,
|
|
212
|
-
type KpiCardProps,
|
|
213
|
-
ChartWidget,
|
|
214
|
-
type ChartWidgetProps,
|
|
215
|
-
TableWidget,
|
|
216
|
-
type TableWidgetProps,
|
|
217
|
-
OnboardingWidget,
|
|
218
|
-
type OnboardingStepInput,
|
|
219
|
-
type OnboardingWidgetProps,
|
|
220
|
-
renderIcon,
|
|
221
|
-
defineKpiWidget,
|
|
222
|
-
defineChartWidget,
|
|
223
|
-
defineTableWidget,
|
|
224
|
-
defineOnboardingWidget,
|
|
225
|
-
defineCustomWidget,
|
|
226
|
-
type DefineWidgetInput,
|
|
227
|
-
type KpiFormat,
|
|
228
|
-
type KpiTrend,
|
|
229
|
-
type KpiValue,
|
|
230
|
-
type KpiCurrency,
|
|
231
|
-
type IconRef,
|
|
232
|
-
type ChartType,
|
|
233
|
-
type ChartSeries,
|
|
234
|
-
} from './dashboard'
|
|
235
|
-
|
|
236
|
-
// Central lucide icon registry — curated tree-shakable set + escape hatch for
|
|
237
|
-
// apps that need icon names outside it (registerIcons({ Name: Component })).
|
|
238
|
-
export { registerIcons, getLucideIcon } from './icons'
|