@motor-hero/ui-kit 0.35.0 → 0.36.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.
package/dist/index.d.ts CHANGED
@@ -1,54 +1,56 @@
1
- export { ThemeProvider, useTheme } from "./components/theme-provider";
2
- export type { Theme, ThemeProviderProps, ThemeProviderState } from "./components/theme-provider";
3
- export { applyCompanyTheme } from "./lib/company-theme";
4
- export type { CompanyTheme, CompanyThemeTokens } from "./lib/company-theme";
5
- export { useCompanySubdomain, getSubdomain } from "./hooks/use-company-subdomain";
6
- export type { UseCompanySubdomainOptions, UseCompanySubdomainResult, } from "./hooks/use-company-subdomain";
7
- export { ModeToggle } from "./components/mode-toggle";
8
- export { EmptyState } from "./components/empty-state";
9
- export { ConfirmDialog } from "./components/confirm-dialog";
10
- export { PageHeader } from "./components/page-header";
11
- export { StatusDot } from "./components/status-dot";
12
- export { StatusBadge } from "./components/status-badge";
13
- export type { StatusBadgeVariant } from "./components/status-badge";
14
- export { ProgressBar } from "./components/progress-bar";
15
- export { FormField } from "./components/form-field";
16
- export { BaseDialog } from "./components/base-dialog";
17
- export type { BaseDialogProps, BaseDialogSize } from "./components/base-dialog";
18
- export { FormDialogLayout, FormDialog } from "./components/form-dialog";
19
- export type { FormDialogProps, FormDialogSize } from "./components/form-dialog";
1
+ export type { AppShellProps } from "./components/app-shell";
2
+ export { AppShell } from "./components/app-shell";
20
3
  export { AuthCard } from "./components/auth-card";
21
- export { Pagination } from "./components/pagination";
22
- export type { PaginationProps } from "./components/pagination";
23
- export { TableSkeleton } from "./components/table-skeleton";
24
- export { SearchInput } from "./components/search-input";
25
- export { PasswordInput } from "./components/password-input";
26
- export { Combobox } from "./components/combobox";
27
- export type { ComboboxOption, ComboboxProps } from "./components/combobox";
28
- export { MultiCombobox } from "./components/multi-combobox";
29
- export type { MultiComboboxProps } from "./components/multi-combobox";
30
- export { ColorPicker } from "./components/color-picker";
4
+ export type { BaseDialogProps, BaseDialogSize } from "./components/base-dialog";
5
+ export { BaseDialog } from "./components/base-dialog";
31
6
  export type { ColorPickerProps } from "./components/color-picker";
32
- export { DatePicker, DateTimePicker } from "./components/date-picker";
33
- export type { DatePickerProps } from "./components/date-picker";
34
- export { StatCard } from "./components/stat-card";
7
+ export { ColorPicker } from "./components/color-picker";
8
+ export type { ComboboxOption, ComboboxProps } from "./components/combobox";
9
+ export { Combobox } from "./components/combobox";
10
+ export { ConfirmDialog } from "./components/confirm-dialog";
35
11
  export { DataTableWrapper } from "./components/data-table-wrapper";
12
+ export type { DatePickerProps } from "./components/date-picker";
13
+ export { DatePicker, DateTimePicker } from "./components/date-picker";
14
+ export { EmptyState } from "./components/empty-state";
15
+ export type { FilterOption, FilterOptionListProps, FilterPopoverProps, FilterToolbarProps, } from "./components/filter-toolbar";
16
+ export { FilterOptionList, FilterPopover, FilterToolbar, } from "./components/filter-toolbar";
17
+ export type { FormDialogProps, FormDialogSize } from "./components/form-dialog";
18
+ export { FormDialog, FormDialogLayout } from "./components/form-dialog";
19
+ export { FormField } from "./components/form-field";
36
20
  export { MobileCardList } from "./components/mobile-card-list";
21
+ export { ModeToggle } from "./components/mode-toggle";
22
+ export type { MultiComboboxProps } from "./components/multi-combobox";
23
+ export { MultiCombobox } from "./components/multi-combobox";
24
+ export { PageHeader } from "./components/page-header";
25
+ export type { PaginationProps } from "./components/pagination";
26
+ export { Pagination } from "./components/pagination";
27
+ export { PasswordInput } from "./components/password-input";
28
+ export { ProgressBar } from "./components/progress-bar";
37
29
  export { ResponsiveDataView } from "./components/responsive-data-view";
38
- export { Toaster } from "./components/toaster";
39
- export { AppShell } from "./components/app-shell";
40
- export type { AppShellProps } from "./components/app-shell";
41
- export { SidebarNav } from "./components/sidebar-nav";
42
- export type { NavItem, SidebarNavProps } from "./components/sidebar-nav";
43
- export { UserMenu } from "./components/user-menu";
44
- export type { AppUser, UserMenuItem, UserMenuProps } from "./components/user-menu";
30
+ export type { RowAction, RowActionsMenuProps, } from "./components/row-actions-menu";
45
31
  export { RowActionsMenu } from "./components/row-actions-menu";
46
- export type { RowAction, RowActionsMenuProps } from "./components/row-actions-menu";
47
- export { defaultRenderLink } from "./components/types";
32
+ export { SearchInput } from "./components/search-input";
33
+ export type { NavItem, SidebarNavProps } from "./components/sidebar-nav";
34
+ export { SidebarNav } from "./components/sidebar-nav";
35
+ export { StatCard } from "./components/stat-card";
36
+ export type { StatusBadgeVariant } from "./components/status-badge";
37
+ export { StatusBadge } from "./components/status-badge";
38
+ export { StatusDot } from "./components/status-dot";
39
+ export { TableSkeleton } from "./components/table-skeleton";
40
+ export type { Theme, ThemeProviderProps, ThemeProviderState, } from "./components/theme-provider";
41
+ export { ThemeProvider, useTheme } from "./components/theme-provider";
42
+ export { Toaster } from "./components/toaster";
48
43
  export type { RenderLink, RenderLinkProps } from "./components/types";
49
- export { cn } from "./lib/utils";
50
- export { extractApiError } from "./lib/api-error";
44
+ export { defaultRenderLink } from "./components/types";
45
+ export type { AppUser, UserMenuItem, UserMenuProps, } from "./components/user-menu";
46
+ export { UserMenu } from "./components/user-menu";
47
+ export type { UseCompanySubdomainOptions, UseCompanySubdomainResult, } from "./hooks/use-company-subdomain";
48
+ export { getSubdomain, useCompanySubdomain, } from "./hooks/use-company-subdomain";
51
49
  export { useDisclosure } from "./hooks/use-disclosure";
52
50
  export { useIsDesktop } from "./hooks/use-is-desktop";
53
- export { useCustomToast, toast } from "./hooks/use-toast";
51
+ export { toast, useCustomToast } from "./hooks/use-toast";
52
+ export { extractApiError } from "./lib/api-error";
53
+ export type { CompanyTheme, CompanyThemeTokens } from "./lib/company-theme";
54
+ export { applyCompanyTheme } from "./lib/company-theme";
55
+ export { cn } from "./lib/utils";
54
56
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AACrE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