arxatec-ui 0.1.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.
Files changed (105) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +73 -0
  3. package/dist/components/animated_icons/components/calendar_days/index.d.ts +10 -0
  4. package/dist/components/animated_icons/components/chart_pie/index.d.ts +10 -0
  5. package/dist/components/animated_icons/components/circle_help/index.d.ts +10 -0
  6. package/dist/components/animated_icons/components/folders/index.d.ts +10 -0
  7. package/dist/components/animated_icons/components/index.d.ts +11 -0
  8. package/dist/components/animated_icons/components/layers/index.d.ts +10 -0
  9. package/dist/components/animated_icons/components/panel_left_close/index.d.ts +10 -0
  10. package/dist/components/animated_icons/components/panel_left_open/index.d.ts +10 -0
  11. package/dist/components/animated_icons/components/search/index.d.ts +10 -0
  12. package/dist/components/animated_icons/components/sliders_horizontal/index.d.ts +10 -0
  13. package/dist/components/animated_icons/components/sparkles/index.d.ts +10 -0
  14. package/dist/components/animated_icons/components/users/index.d.ts +10 -0
  15. package/dist/components/animated_icons/hooks/index.d.ts +1 -0
  16. package/dist/components/animated_icons/hooks/use_animated_icon/index.d.ts +9 -0
  17. package/dist/components/animated_icons/index.d.ts +2 -0
  18. package/dist/components/async_boundary/index.d.ts +12 -0
  19. package/dist/components/async_command_list/index.d.ts +10 -0
  20. package/dist/components/async_select/index.d.ts +18 -0
  21. package/dist/components/avatar/index.d.ts +6 -0
  22. package/dist/components/avatar_input/index.d.ts +9 -0
  23. package/dist/components/badge/index.d.ts +9 -0
  24. package/dist/components/breadcrumb/index.d.ts +11 -0
  25. package/dist/components/button/index.d.ts +10 -0
  26. package/dist/components/button_group/index.d.ts +11 -0
  27. package/dist/components/calendar/index.d.ts +8 -0
  28. package/dist/components/card/index.d.ts +9 -0
  29. package/dist/components/carousel/index.d.ts +19 -0
  30. package/dist/components/chart/index.d.ts +40 -0
  31. package/dist/components/checkbox/index.d.ts +4 -0
  32. package/dist/components/collapsible/index.d.ts +5 -0
  33. package/dist/components/command/index.d.ts +18 -0
  34. package/dist/components/context_menu/index.d.ts +25 -0
  35. package/dist/components/custom_header/index.d.ts +11 -0
  36. package/dist/components/date_range_picker/components/date_display/index.d.ts +8 -0
  37. package/dist/components/date_range_picker/components/date_input/index.d.ts +8 -0
  38. package/dist/components/date_range_picker/components/date_panel/index.d.ts +8 -0
  39. package/dist/components/date_range_picker/components/index.d.ts +3 -0
  40. package/dist/components/date_range_picker/constants/index.d.ts +4 -0
  41. package/dist/components/date_range_picker/index.d.ts +11 -0
  42. package/dist/components/date_range_picker/utils/index.d.ts +1 -0
  43. package/dist/components/dialog/index.d.ts +15 -0
  44. package/dist/components/drawer/index.d.ts +13 -0
  45. package/dist/components/dropdown_menu/index.d.ts +29 -0
  46. package/dist/components/emoji_picker/index.d.ts +7 -0
  47. package/dist/components/file_dropzone/index.d.ts +14 -0
  48. package/dist/components/icon_picker/icons_data.d.ts +5 -0
  49. package/dist/components/icon_picker/index.d.ts +26 -0
  50. package/dist/components/icons/components/google_drive/index.d.ts +3 -0
  51. package/dist/components/icons/components/google_isotype/index.d.ts +3 -0
  52. package/dist/components/icons/components/index.d.ts +4 -0
  53. package/dist/components/icons/components/microsoft_isotype/index.d.ts +3 -0
  54. package/dist/components/icons/components/one_drive/index.d.ts +3 -0
  55. package/dist/components/icons/index.d.ts +1 -0
  56. package/dist/components/image/index.d.ts +9 -0
  57. package/dist/components/image_crop_dialog/index.d.ts +8 -0
  58. package/dist/components/info_tooltip/index.d.ts +5 -0
  59. package/dist/components/input/index.d.ts +7 -0
  60. package/dist/components/input_otp/index.d.ts +11 -0
  61. package/dist/components/isotype/index.d.ts +5 -0
  62. package/dist/components/kbd/index.d.ts +3 -0
  63. package/dist/components/label/index.d.ts +4 -0
  64. package/dist/components/loader_splash/index.d.ts +1 -0
  65. package/dist/components/location_input/index.d.ts +8 -0
  66. package/dist/components/logo/index.d.ts +5 -0
  67. package/dist/components/map_picker/index.d.ts +15 -0
  68. package/dist/components/map_view/index.d.ts +10 -0
  69. package/dist/components/pagination/index.d.ts +13 -0
  70. package/dist/components/pagination_controller/index.d.ts +7 -0
  71. package/dist/components/popover/index.d.ts +7 -0
  72. package/dist/components/progress/index.d.ts +4 -0
  73. package/dist/components/radio_group/index.d.ts +5 -0
  74. package/dist/components/resizable/index.d.ts +8 -0
  75. package/dist/components/scroll_area/index.d.ts +7 -0
  76. package/dist/components/select/index.d.ts +15 -0
  77. package/dist/components/separator/index.d.ts +4 -0
  78. package/dist/components/sheet/index.d.ts +13 -0
  79. package/dist/components/sidebar/index.d.ts +69 -0
  80. package/dist/components/skeleton/index.d.ts +2 -0
  81. package/dist/components/slider/index.d.ts +4 -0
  82. package/dist/components/sonner/index.d.ts +3 -0
  83. package/dist/components/status_message/index.d.ts +13 -0
  84. package/dist/components/table/index.d.ts +13 -0
  85. package/dist/components/tabs/index.d.ts +7 -0
  86. package/dist/components/text_area/index.d.ts +3 -0
  87. package/dist/components/toggle/index.d.ts +9 -0
  88. package/dist/components/tooltip/index.d.ts +7 -0
  89. package/dist/favicon.svg +1 -0
  90. package/dist/hooks/index.d.ts +1 -0
  91. package/dist/hooks/use_debounce/index.d.ts +1 -0
  92. package/dist/icons.svg +24 -0
  93. package/dist/icons_data-BHKds1ja.js +22025 -0
  94. package/dist/icons_data-BHKds1ja.js.map +1 -0
  95. package/dist/index.d.ts +63 -0
  96. package/dist/index.js +6547 -0
  97. package/dist/index.js.map +1 -0
  98. package/dist/styles.css +375 -0
  99. package/dist/types/index.d.ts +1 -0
  100. package/dist/types/pagination/index.d.ts +6 -0
  101. package/dist/utilities/class/index.d.ts +2 -0
  102. package/dist/utilities/image/index.d.ts +4 -0
  103. package/dist/utilities/index.d.ts +3 -0
  104. package/dist/utilities/storybook/index.d.ts +6 -0
  105. package/package.json +133 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Arxatec
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,73 @@
1
+ # React + TypeScript + Vite
2
+
3
+ This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
+
5
+ Currently, two official plugins are available:
6
+
7
+ - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Oxc](https://oxc.rs)
8
+ - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/)
9
+
10
+ ## React Compiler
11
+
12
+ The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
13
+
14
+ ## Expanding the ESLint configuration
15
+
16
+ If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
17
+
18
+ ```js
19
+ export default defineConfig([
20
+ globalIgnores(['dist']),
21
+ {
22
+ files: ['**/*.{ts,tsx}'],
23
+ extends: [
24
+ // Other configs...
25
+
26
+ // Remove tseslint.configs.recommended and replace with this
27
+ tseslint.configs.recommendedTypeChecked,
28
+ // Alternatively, use this for stricter rules
29
+ tseslint.configs.strictTypeChecked,
30
+ // Optionally, add this for stylistic rules
31
+ tseslint.configs.stylisticTypeChecked,
32
+
33
+ // Other configs...
34
+ ],
35
+ languageOptions: {
36
+ parserOptions: {
37
+ project: ['./tsconfig.node.json', './tsconfig.app.json'],
38
+ tsconfigRootDir: import.meta.dirname,
39
+ },
40
+ // other options...
41
+ },
42
+ },
43
+ ])
44
+ ```
45
+
46
+ You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
47
+
48
+ ```js
49
+ // eslint.config.js
50
+ import reactX from 'eslint-plugin-react-x'
51
+ import reactDom from 'eslint-plugin-react-dom'
52
+
53
+ export default defineConfig([
54
+ globalIgnores(['dist']),
55
+ {
56
+ files: ['**/*.{ts,tsx}'],
57
+ extends: [
58
+ // Other configs...
59
+ // Enable lint rules for React
60
+ reactX.configs['recommended-typescript'],
61
+ // Enable lint rules for React DOM
62
+ reactDom.configs.recommended,
63
+ ],
64
+ languageOptions: {
65
+ parserOptions: {
66
+ project: ['./tsconfig.node.json', './tsconfig.app.json'],
67
+ tsconfigRootDir: import.meta.dirname,
68
+ },
69
+ // other options...
70
+ },
71
+ },
72
+ ])
73
+ ```
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface CalendarDaysIconHandle {
3
+ startAnimation: () => void;
4
+ stopAnimation: () => void;
5
+ }
6
+ interface CalendarDaysIconProps extends HTMLAttributes<HTMLDivElement> {
7
+ size?: number;
8
+ }
9
+ declare const CalendarDaysIcon: import('react').ForwardRefExoticComponent<CalendarDaysIconProps & import('react').RefAttributes<CalendarDaysIconHandle>>;
10
+ export { CalendarDaysIcon };
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface ChartPieIconHandle {
3
+ startAnimation: () => void;
4
+ stopAnimation: () => void;
5
+ }
6
+ interface ChartPieIconProps extends HTMLAttributes<HTMLDivElement> {
7
+ size?: number;
8
+ }
9
+ declare const ChartPieIcon: import('react').ForwardRefExoticComponent<ChartPieIconProps & import('react').RefAttributes<ChartPieIconHandle>>;
10
+ export { ChartPieIcon };
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface CircleHelpIconHandle {
3
+ startAnimation: () => void;
4
+ stopAnimation: () => void;
5
+ }
6
+ interface CircleHelpIconProps extends HTMLAttributes<HTMLDivElement> {
7
+ size?: number;
8
+ }
9
+ declare const CircleHelpIcon: import('react').ForwardRefExoticComponent<CircleHelpIconProps & import('react').RefAttributes<CircleHelpIconHandle>>;
10
+ export { CircleHelpIcon };
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface FoldersIconHandle {
3
+ startAnimation: () => void;
4
+ stopAnimation: () => void;
5
+ }
6
+ interface FoldersIconProps extends HTMLAttributes<HTMLDivElement> {
7
+ size?: number;
8
+ }
9
+ declare const FoldersIcon: import('react').ForwardRefExoticComponent<FoldersIconProps & import('react').RefAttributes<FoldersIconHandle>>;
10
+ export { FoldersIcon };
@@ -0,0 +1,11 @@
1
+ export * from './users';
2
+ export * from './layers';
3
+ export * from './search';
4
+ export * from './folders';
5
+ export * from './sliders_horizontal';
6
+ export * from './chart_pie';
7
+ export * from './calendar_days';
8
+ export * from './circle_help';
9
+ export * from './panel_left_close';
10
+ export * from './panel_left_open';
11
+ export * from './sparkles';
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface LayersIconHandle {
3
+ startAnimation: () => void;
4
+ stopAnimation: () => void;
5
+ }
6
+ interface LayersIconProps extends HTMLAttributes<HTMLDivElement> {
7
+ size?: number;
8
+ }
9
+ declare const LayersIcon: import('react').ForwardRefExoticComponent<LayersIconProps & import('react').RefAttributes<LayersIconHandle>>;
10
+ export { LayersIcon };
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface PanelLeftCloseIconHandle {
3
+ startAnimation: () => void;
4
+ stopAnimation: () => void;
5
+ }
6
+ interface PanelLeftCloseIconProps extends HTMLAttributes<HTMLDivElement> {
7
+ size?: number;
8
+ }
9
+ declare const PanelLeftCloseIcon: import('react').ForwardRefExoticComponent<PanelLeftCloseIconProps & import('react').RefAttributes<PanelLeftCloseIconHandle>>;
10
+ export { PanelLeftCloseIcon };
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface PanelLeftOpenIconHandle {
3
+ startAnimation: () => void;
4
+ stopAnimation: () => void;
5
+ }
6
+ interface PanelLeftOpenIconProps extends HTMLAttributes<HTMLDivElement> {
7
+ size?: number;
8
+ }
9
+ declare const PanelLeftOpenIcon: import('react').ForwardRefExoticComponent<PanelLeftOpenIconProps & import('react').RefAttributes<PanelLeftOpenIconHandle>>;
10
+ export { PanelLeftOpenIcon };
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface SearchIconHandle {
3
+ startAnimation: () => void;
4
+ stopAnimation: () => void;
5
+ }
6
+ interface SearchIconProps extends HTMLAttributes<HTMLDivElement> {
7
+ size?: number;
8
+ }
9
+ declare const SearchIcon: import('react').ForwardRefExoticComponent<SearchIconProps & import('react').RefAttributes<SearchIconHandle>>;
10
+ export { SearchIcon };
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface SlidersHorizontalIconHandle {
3
+ startAnimation: () => void;
4
+ stopAnimation: () => void;
5
+ }
6
+ interface SlidersHorizontalIconProps extends HTMLAttributes<HTMLDivElement> {
7
+ size?: number;
8
+ }
9
+ declare const SlidersHorizontalIcon: import('react').ForwardRefExoticComponent<SlidersHorizontalIconProps & import('react').RefAttributes<SlidersHorizontalIconHandle>>;
10
+ export { SlidersHorizontalIcon };
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface SparklesIconHandle {
3
+ startAnimation: () => void;
4
+ stopAnimation: () => void;
5
+ }
6
+ interface SparklesIconProps extends HTMLAttributes<HTMLDivElement> {
7
+ size?: number;
8
+ }
9
+ declare const SparklesIcon: import('react').ForwardRefExoticComponent<SparklesIconProps & import('react').RefAttributes<SparklesIconHandle>>;
10
+ export { SparklesIcon };
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface UsersIconHandle {
3
+ startAnimation: () => void;
4
+ stopAnimation: () => void;
5
+ }
6
+ interface UsersIconProps extends HTMLAttributes<HTMLDivElement> {
7
+ size?: number;
8
+ }
9
+ declare const UsersIcon: import('react').ForwardRefExoticComponent<UsersIconProps & import('react').RefAttributes<UsersIconHandle>>;
10
+ export { UsersIcon };
@@ -0,0 +1 @@
1
+ export * from './use_animated_icon';
@@ -0,0 +1,9 @@
1
+ export interface AnimatedIconHandle {
2
+ startAnimation: () => void;
3
+ stopAnimation: () => void;
4
+ }
5
+ export declare const useAnimatedIcon: () => {
6
+ iconRef: import('react').RefObject<AnimatedIconHandle | null>;
7
+ onMouseEnter: () => void;
8
+ onMouseLeave: () => void;
9
+ };
@@ -0,0 +1,2 @@
1
+ export * from './components';
2
+ export * from './hooks';
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+ type Props<T> = {
3
+ isLoading: boolean;
4
+ isError: boolean;
5
+ data: T | undefined;
6
+ LoadingComponent?: ReactNode;
7
+ ErrorComponent?: ReactNode;
8
+ children: (data: T) => ReactNode;
9
+ EmptyComponent?: ReactNode;
10
+ };
11
+ export declare const AsyncBoundary: <T>({ isLoading, isError, data, LoadingComponent, ErrorComponent, EmptyComponent, children, }: Props<T>) => React.ReactElement | null;
12
+ export {};
@@ -0,0 +1,10 @@
1
+ interface Props<T> {
2
+ data: T[];
3
+ isLoading: boolean;
4
+ emptyMessage: string;
5
+ renderItem: (item: T) => React.ReactNode;
6
+ onSelect: (value: string) => void;
7
+ getKey: (item: T) => string;
8
+ }
9
+ export declare function AsyncCommandList<T>({ data, isLoading, emptyMessage, renderItem, getKey, onSelect, }: Props<T>): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,18 @@
1
+ interface Props {
2
+ size?: "default" | "sm";
3
+ label?: string;
4
+ value?: string;
5
+ onChange: (value: string | undefined) => void;
6
+ placeholder: string;
7
+ options: {
8
+ id: string;
9
+ name: string;
10
+ }[];
11
+ isLoading?: boolean;
12
+ isError?: boolean;
13
+ emptyLabel?: string;
14
+ showAllOption?: boolean;
15
+ className?: string;
16
+ }
17
+ export declare const AsyncSelect: React.FC<Props>;
18
+ export {};
@@ -0,0 +1,6 @@
1
+ import * as React from "react";
2
+ import * as AvatarPrimitive from "@radix-ui/react-avatar";
3
+ declare function Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): import("react/jsx-runtime").JSX.Element;
5
+ declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): import("react/jsx-runtime").JSX.Element;
6
+ export { Avatar, AvatarImage, AvatarFallback };
@@ -0,0 +1,9 @@
1
+ interface Props {
2
+ fullName: string;
3
+ onAvatarChange: (file: File | undefined) => void;
4
+ className?: string;
5
+ defaultAvatar?: string;
6
+ label?: string;
7
+ }
8
+ export declare const AvatarInput: React.FC<Props>;
9
+ export default AvatarInput;
@@ -0,0 +1,9 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ declare const badgeVariants: (props?: ({
4
+ variant?: "outline" | "default" | "destructive" | "secondary" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
7
+ asChild?: boolean;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ export { Badge, badgeVariants };
@@ -0,0 +1,11 @@
1
+ import * as React from "react";
2
+ declare function Breadcrumb({ ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
3
+ declare function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">): import("react/jsx-runtime").JSX.Element;
4
+ declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
5
+ declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<"a"> & {
6
+ asChild?: boolean;
7
+ }): import("react/jsx-runtime").JSX.Element;
8
+ declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
9
+ declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
10
+ declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
11
+ export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
@@ -0,0 +1,10 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ declare const buttonVariants: (props?: ({
4
+ variant?: "link" | "outline" | "default" | "destructive" | "secondary" | "ghost" | null | undefined;
5
+ size?: "sm" | "default" | "lg" | "icon" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
8
+ asChild?: boolean;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ export { Button, buttonVariants };
@@ -0,0 +1,11 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { Separator } from '../separator';
3
+ declare const buttonGroupVariants: (props?: ({
4
+ orientation?: "horizontal" | "vertical" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): import("react/jsx-runtime").JSX.Element;
7
+ declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
8
+ asChild?: boolean;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
11
+ export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants, };
@@ -0,0 +1,8 @@
1
+ import { DayButton, DayPicker } from 'react-day-picker';
2
+ import { Button } from '../button';
3
+ import * as React from "react";
4
+ declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
+ buttonVariant?: React.ComponentProps<typeof Button>["variant"];
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>): import("react/jsx-runtime").JSX.Element;
8
+ export { Calendar, CalendarDayButton };
@@ -0,0 +1,9 @@
1
+ import * as React from "react";
2
+ declare function Card({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
3
+ declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
4
+ declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
5
+ declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
+ declare function CardAction({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
7
+ declare function CardContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
@@ -0,0 +1,19 @@
1
+ import { default as useEmblaCarousel, UseEmblaCarouselType } from 'embla-carousel-react';
2
+ import { Button } from '../button';
3
+ import * as React from "react";
4
+ type CarouselApi = UseEmblaCarouselType[1];
5
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
6
+ type CarouselOptions = UseCarouselParameters[0];
7
+ type CarouselPlugin = UseCarouselParameters[1];
8
+ type CarouselProps = {
9
+ opts?: CarouselOptions;
10
+ plugins?: CarouselPlugin;
11
+ orientation?: "horizontal" | "vertical";
12
+ setApi?: (api: CarouselApi) => void;
13
+ };
14
+ declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React.ComponentProps<"div"> & CarouselProps): import("react/jsx-runtime").JSX.Element;
15
+ declare function CarouselContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
16
+ declare function CarouselItem({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
17
+ declare function CarouselPrevious({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
18
+ declare function CarouselNext({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
19
+ export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, };
@@ -0,0 +1,40 @@
1
+ import * as React from "react";
2
+ import * as RechartsPrimitive from "recharts";
3
+ declare const THEMES: {
4
+ readonly light: "";
5
+ readonly dark: ".dark";
6
+ };
7
+ export type ChartConfig = {
8
+ [k in string]: {
9
+ label?: React.ReactNode;
10
+ icon?: React.ComponentType;
11
+ } & ({
12
+ color?: string;
13
+ theme?: never;
14
+ } | {
15
+ color?: never;
16
+ theme: Record<keyof typeof THEMES, string>;
17
+ });
18
+ };
19
+ declare function ChartContainer({ id, className, children, config, ...props }: React.ComponentProps<"div"> & {
20
+ config: ChartConfig;
21
+ children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
22
+ }): import("react/jsx-runtime").JSX.Element;
23
+ declare const ChartStyle: ({ id, config }: {
24
+ id: string;
25
+ config: ChartConfig;
26
+ }) => import("react/jsx-runtime").JSX.Element | null;
27
+ declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
28
+ declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React.ComponentProps<typeof RechartsPrimitive.Tooltip> & React.ComponentProps<"div"> & {
29
+ hideLabel?: boolean;
30
+ hideIndicator?: boolean;
31
+ indicator?: "line" | "dot" | "dashed";
32
+ nameKey?: string;
33
+ labelKey?: string;
34
+ }): import("react/jsx-runtime").JSX.Element | null;
35
+ declare const ChartLegend: typeof RechartsPrimitive.Legend;
36
+ declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
37
+ hideIcon?: boolean;
38
+ nameKey?: string;
39
+ }): import("react/jsx-runtime").JSX.Element | null;
40
+ export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, };
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3
+ declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ export { Checkbox };
@@ -0,0 +1,5 @@
1
+ import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
2
+ declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): import("react/jsx-runtime").JSX.Element;
3
+ declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): import("react/jsx-runtime").JSX.Element;
4
+ declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
5
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent };
@@ -0,0 +1,18 @@
1
+ import { Command as CommandPrimitive } from 'cmdk';
2
+ import { Dialog } from '../dialog';
3
+ import * as React from "react";
4
+ declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): import("react/jsx-runtime").JSX.Element;
5
+ declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
6
+ title?: string;
7
+ description?: string;
8
+ className?: string;
9
+ showCloseButton?: boolean;
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ declare function CommandInput({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>): import("react/jsx-runtime").JSX.Element;
12
+ declare function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>): import("react/jsx-runtime").JSX.Element;
13
+ declare function CommandEmpty({ ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>): import("react/jsx-runtime").JSX.Element;
14
+ declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
15
+ declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
16
+ declare function CommandItem({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
17
+ declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
18
+ export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
@@ -0,0 +1,25 @@
1
+ import * as React from "react";
2
+ import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
3
+ declare function ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function ContextMenuTrigger({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function ContextMenuGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
6
+ declare function ContextMenuPortal({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
7
+ declare function ContextMenuSub({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
8
+ declare function ContextMenuRadioGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
9
+ declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
10
+ inset?: boolean;
11
+ }): import("react/jsx-runtime").JSX.Element;
12
+ declare function ContextMenuSubContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
13
+ declare function ContextMenuContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
14
+ declare function ContextMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Item> & {
15
+ inset?: boolean;
16
+ variant?: "default" | "destructive";
17
+ }): import("react/jsx-runtime").JSX.Element;
18
+ declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): import("react/jsx-runtime").JSX.Element;
19
+ declare function ContextMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): import("react/jsx-runtime").JSX.Element;
20
+ declare function ContextMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Label> & {
21
+ inset?: boolean;
22
+ }): import("react/jsx-runtime").JSX.Element;
23
+ declare function ContextMenuSeparator({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
24
+ declare function ContextMenuShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
25
+ export { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuShortcut, ContextMenuGroup, ContextMenuPortal, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuRadioGroup, };
@@ -0,0 +1,11 @@
1
+ interface Props {
2
+ title: string;
3
+ description?: string;
4
+ button?: {
5
+ label: string;
6
+ url: string;
7
+ icon: React.ElementType;
8
+ };
9
+ }
10
+ export declare const CustomHeader: React.FC<Props>;
11
+ export {};
@@ -0,0 +1,8 @@
1
+ import { CalendarCheck, CalendarPlus } from 'lucide-react';
2
+ interface Props {
3
+ value: Date | undefined;
4
+ icon: typeof CalendarCheck | typeof CalendarPlus;
5
+ label: string;
6
+ }
7
+ export declare const DateDisplay: React.FC<Props>;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface Props {
2
+ value: Date | undefined;
3
+ placeholder: string;
4
+ onClick: () => void;
5
+ onClear: () => void;
6
+ }
7
+ export declare const DateInput: React.FC<Props>;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface Props {
2
+ startDate: Date | undefined;
3
+ dueDate: Date | undefined;
4
+ onStartDateChange: (date: Date | undefined) => void;
5
+ onDueDateChange: (date: Date | undefined) => void;
6
+ }
7
+ export declare const DatePanel: React.FC<Props>;
8
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from './date_display';
2
+ export * from './date_input';
3
+ export * from './date_panel';
@@ -0,0 +1,4 @@
1
+ export declare const QUICK_DATE_OPTIONS: {
2
+ label: string;
3
+ days: number;
4
+ }[];
@@ -0,0 +1,11 @@
1
+ interface Props {
2
+ startDate?: Date;
3
+ dueDate?: Date;
4
+ onStartDateChange: (date: Date | undefined) => void;
5
+ onDueDateChange: (date: Date | undefined) => void;
6
+ errorMessage?: string;
7
+ label?: string;
8
+ optional?: boolean;
9
+ }
10
+ export declare const DateRangePicker: ({ startDate, dueDate, onStartDateChange, onDueDateChange, errorMessage, label, optional, }: Props) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1 @@
1
+ export declare const getNextWeekendDays: () => number;
@@ -0,0 +1,15 @@
1
+ import * as React from "react";
2
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
3
+ declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
+ declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
7
+ declare function DialogOverlay({ className, onContextMenu, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
8
+ declare function DialogContent({ className, children, showCloseButton, onContextMenu, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
9
+ showCloseButton?: boolean;
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
12
+ declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
13
+ declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
14
+ declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
15
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
@@ -0,0 +1,13 @@
1
+ import { Drawer as DrawerPrimitive } from 'vaul';
2
+ import * as React from "react";
3
+ declare function Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function DrawerTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function DrawerPortal({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
+ declare function DrawerClose({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
7
+ declare function DrawerOverlay({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
8
+ declare function DrawerContent({ className, children, ...props }: React.ComponentProps<typeof DrawerPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
9
+ declare function DrawerHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
10
+ declare function DrawerFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
11
+ declare function DrawerTitle({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
12
+ declare function DrawerDescription({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
13
+ export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };