@motor-hero/ui-kit 0.35.0 → 0.36.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/dist/components/filter-toolbar.d.ts +67 -0
- package/dist/components/filter-toolbar.d.ts.map +1 -0
- package/dist/index.cjs +1565 -1398
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +46 -44
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1619 -1455
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/filter-toolbar.tsx +244 -0
- package/src/index.ts +83 -61
package/dist/index.d.ts
CHANGED
|
@@ -1,54 +1,56 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export
|
|
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 {
|
|
22
|
-
export
|
|
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 {
|
|
33
|
-
export type {
|
|
34
|
-
export {
|
|
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 {
|
|
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
|
|
47
|
-
export {
|
|
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 {
|
|
50
|
-
export {
|
|
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 {
|
|
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
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,YAAY,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM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