@minutemailer/kit 1.4.1 → 2.0.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 (202) hide show
  1. package/components/details-content.js +1 -1
  2. package/components/details.js +2 -2
  3. package/components/donut-chart.js +16 -4
  4. package/components/engagement-chart.js +2 -2
  5. package/components/index.d.ts +11 -0
  6. package/components/index.js +19 -0
  7. package/components/more.d.ts +2 -2
  8. package/components/more.js +2 -2
  9. package/components/page-tabs.js +2 -2
  10. package/components/ui/accordion.d.ts +5 -5
  11. package/components/ui/accordion.js +1 -1
  12. package/components/ui/alert.d.ts +4 -4
  13. package/components/ui/avatar.d.ts +4 -4
  14. package/components/ui/avatar.js +22 -2
  15. package/components/ui/badge.d.ts +2 -2
  16. package/components/ui/badge.js +2 -2
  17. package/components/ui/button.d.ts +2 -2
  18. package/components/ui/button.js +3 -3
  19. package/components/ui/calendar.d.ts +4 -4
  20. package/components/ui/calendar.js +34 -24
  21. package/components/ui/card.d.ts +8 -0
  22. package/components/ui/card.js +21 -0
  23. package/components/ui/chart.d.ts +7 -7
  24. package/components/ui/chart.js +7 -7
  25. package/components/ui/checkbox.d.ts +2 -2
  26. package/components/ui/checkbox.js +1 -1
  27. package/components/ui/dialog.d.ts +11 -11
  28. package/components/ui/dialog.js +1 -1
  29. package/components/ui/dropdown-menu.d.ts +16 -16
  30. package/components/ui/dropdown-menu.js +7 -7
  31. package/components/ui/field.d.ts +12 -11
  32. package/components/ui/field.js +2 -2
  33. package/components/ui/file-input.d.ts +8 -0
  34. package/components/ui/file-input.js +26 -0
  35. package/components/ui/form.d.ts +6 -6
  36. package/components/ui/form.js +6 -6
  37. package/components/ui/index.d.ts +30 -0
  38. package/components/ui/index.js +61 -0
  39. package/components/ui/input.d.ts +2 -2
  40. package/components/ui/input.js +2 -1
  41. package/components/ui/label.d.ts +2 -2
  42. package/components/ui/nav-menu.d.ts +14 -0
  43. package/components/ui/nav-menu.js +19 -0
  44. package/components/ui/pagination.d.ts +8 -8
  45. package/components/ui/pagination.js +5 -5
  46. package/components/ui/popover.d.ts +5 -5
  47. package/components/ui/popover.js +1 -1
  48. package/components/ui/separator.d.ts +2 -2
  49. package/components/ui/sheet.d.ts +9 -9
  50. package/components/ui/sidebar.d.ts +25 -25
  51. package/components/ui/sidebar.js +28 -28
  52. package/components/ui/skeleton.d.ts +2 -1
  53. package/components/ui/skeleton.js +1 -1
  54. package/components/ui/sonner.js +3 -3
  55. package/components/ui/spinner.d.ts +2 -1
  56. package/components/ui/spinner.js +1 -1
  57. package/components/ui/switch.d.ts +6 -0
  58. package/components/ui/switch.js +7 -0
  59. package/components/ui/table.d.ts +9 -9
  60. package/components/ui/tabs.d.ts +5 -5
  61. package/components/ui/tabs.js +7 -5
  62. package/components/ui/textarea.js +1 -1
  63. package/components/ui/tooltip.d.ts +5 -5
  64. package/components/ui/tooltip.js +2 -2
  65. package/components/ui/typography.d.ts +1 -5
  66. package/icons/Alert.js +1 -1
  67. package/icons/AlertFilled.js +1 -1
  68. package/icons/Arrow.js +1 -1
  69. package/icons/ArrowDown.js +1 -1
  70. package/icons/Attachment.js +1 -1
  71. package/icons/Automate.js +1 -1
  72. package/icons/Bold.js +1 -1
  73. package/icons/BorderBottom.js +1 -1
  74. package/icons/BorderLeft.js +1 -1
  75. package/icons/BorderRight.js +1 -1
  76. package/icons/BorderTop.js +1 -1
  77. package/icons/BottomAlign.js +1 -1
  78. package/icons/BottomLeftCorner.js +1 -1
  79. package/icons/BottomRightCorner.js +1 -1
  80. package/icons/Button.js +1 -1
  81. package/icons/Calendar.js +1 -1
  82. package/icons/Center.js +1 -1
  83. package/icons/Check.js +1 -1
  84. package/icons/CheckFilled.js +1 -1
  85. package/icons/Checkmark.js +1 -1
  86. package/icons/Chevron.js +1 -1
  87. package/icons/ChevronDown.js +1 -1
  88. package/icons/ChevronLeft.js +1 -1
  89. package/icons/ChevronUp.js +1 -1
  90. package/icons/Close.js +1 -1
  91. package/icons/CloseBold.js +1 -1
  92. package/icons/CloseCircle.js +1 -1
  93. package/icons/Column1.js +1 -1
  94. package/icons/Column12.js +1 -1
  95. package/icons/Column13.js +1 -1
  96. package/icons/Column2.js +1 -1
  97. package/icons/Column21.js +1 -1
  98. package/icons/Column3.js +1 -1
  99. package/icons/Column31.js +1 -1
  100. package/icons/Column4.js +1 -1
  101. package/icons/Contacts.js +1 -1
  102. package/icons/Crop.js +1 -1
  103. package/icons/Divider.js +1 -1
  104. package/icons/Download.js +1 -1
  105. package/icons/Duplicate.js +1 -1
  106. package/icons/Email.js +1 -1
  107. package/icons/Feedback.js +1 -1
  108. package/icons/File.js +1 -1
  109. package/icons/Filter.js +1 -1
  110. package/icons/Flip.js +1 -1
  111. package/icons/Flop.js +1 -1
  112. package/icons/Form.js +1 -1
  113. package/icons/Gift.js +1 -1
  114. package/icons/HeartRound.js +1 -1
  115. package/icons/Home.js +1 -1
  116. package/icons/HorizontalCenter.d.ts +3 -0
  117. package/icons/HorizontalCenter.js +3 -0
  118. package/icons/Image.js +1 -1
  119. package/icons/Images.js +1 -1
  120. package/icons/Info.js +1 -1
  121. package/icons/Integrations.js +1 -1
  122. package/icons/Italics.js +1 -1
  123. package/icons/Justified.js +1 -1
  124. package/icons/Left.js +1 -1
  125. package/icons/LeftAlign.js +1 -1
  126. package/icons/LetterSpacing.js +1 -1
  127. package/icons/LineHeight.js +1 -1
  128. package/icons/LineThickness.js +1 -1
  129. package/icons/Link.js +1 -1
  130. package/icons/List.js +1 -1
  131. package/icons/ListMenu.js +1 -1
  132. package/icons/ListNumbered.js +1 -1
  133. package/icons/Location.js +1 -1
  134. package/icons/LockChain.js +1 -1
  135. package/icons/Locked.js +1 -1
  136. package/icons/Logo.js +1 -1
  137. package/icons/Logout.js +1 -1
  138. package/icons/Lowercase.js +1 -1
  139. package/icons/Magic.js +1 -1
  140. package/icons/MarginBottom.js +1 -1
  141. package/icons/MarginLeft.js +1 -1
  142. package/icons/MarginRight.js +1 -1
  143. package/icons/MarginTop.js +1 -1
  144. package/icons/Menu.js +1 -1
  145. package/icons/Minus.js +1 -1
  146. package/icons/MinusBold.js +1 -1
  147. package/icons/MinutemailerLogo.js +1 -1
  148. package/icons/More.js +1 -1
  149. package/icons/Move.js +1 -1
  150. package/icons/MoveDirections.js +1 -1
  151. package/icons/MoveVertical.js +1 -1
  152. package/icons/Openclose.js +1 -1
  153. package/icons/Pen.js +1 -1
  154. package/icons/Phone.js +1 -1
  155. package/icons/Plane.js +1 -1
  156. package/icons/PlaneOutline.js +1 -1
  157. package/icons/Plus.js +1 -1
  158. package/icons/PlusBold.js +1 -1
  159. package/icons/PlusCircle.js +1 -1
  160. package/icons/Result.js +1 -1
  161. package/icons/Right.js +1 -1
  162. package/icons/RightAlign.js +1 -1
  163. package/icons/Rotate.js +1 -1
  164. package/icons/Search.js +1 -1
  165. package/icons/Settings.js +1 -1
  166. package/icons/Sms.js +1 -1
  167. package/icons/Spacing.js +1 -1
  168. package/icons/Spinner.js +1 -1
  169. package/icons/StarFilled.js +1 -1
  170. package/icons/StarOutline.js +1 -1
  171. package/icons/Stars.js +1 -1
  172. package/icons/Stats.js +1 -1
  173. package/icons/Stop.js +1 -1
  174. package/icons/Strikethrough.js +1 -1
  175. package/icons/Support.js +1 -1
  176. package/icons/Tags.js +1 -1
  177. package/icons/Team.js +1 -1
  178. package/icons/Text.js +1 -1
  179. package/icons/Thumbsdown.js +1 -1
  180. package/icons/Thumbsup.js +1 -1
  181. package/icons/TopAlign.js +1 -1
  182. package/icons/TopLeftCorner.js +1 -1
  183. package/icons/TopRightCorner.js +1 -1
  184. package/icons/Trash.js +1 -1
  185. package/icons/Underscore.js +1 -1
  186. package/icons/Unlink.js +1 -1
  187. package/icons/UnlockChain.js +1 -1
  188. package/icons/Unlocked.js +1 -1
  189. package/icons/Upload.js +1 -1
  190. package/icons/Uppercase.js +1 -1
  191. package/icons/VerticalCenter.js +1 -1
  192. package/icons/Video.js +1 -1
  193. package/icons/Warning.js +1 -1
  194. package/icons/Website.js +1 -1
  195. package/icons/Width.js +1 -1
  196. package/icons/Write.js +1 -1
  197. package/icons/index.d.ts +1 -1
  198. package/icons/index.js +1 -1
  199. package/package.json +32 -31
  200. package/styles.css +143 -51
  201. package/icons/HorisontalCenter.d.ts +0 -3
  202. package/icons/HorisontalCenter.js +0 -3
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import { type ComponentProps } from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import { Button } from '../../components/ui/button.js';
4
4
  import { Input } from '../../components/ui/input.js';
@@ -14,54 +14,54 @@ type SidebarContextProps = {
14
14
  toggleSidebar: () => void;
15
15
  };
16
16
  declare function useSidebar(): SidebarContextProps;
17
- declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<'div'> & {
17
+ declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: ComponentProps<'div'> & {
18
18
  defaultOpen?: boolean;
19
19
  open?: boolean;
20
20
  onOpenChange?: (open: boolean) => void;
21
21
  }): import("react/jsx-runtime").JSX.Element;
22
- declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React.ComponentProps<'div'> & {
22
+ declare function Sidebar({ side, variant, collapsible, className, children, ...props }: ComponentProps<'div'> & {
23
23
  side?: 'left' | 'right';
24
24
  variant?: 'sidebar' | 'floating' | 'inset';
25
25
  collapsible?: 'offcanvas' | 'icon' | 'none';
26
26
  }): import("react/jsx-runtime").JSX.Element;
27
- declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
28
- declare function SidebarRail({ className, ...props }: React.ComponentProps<'button'>): import("react/jsx-runtime").JSX.Element;
29
- declare function SidebarInset({ className, ...props }: React.ComponentProps<'main'>): import("react/jsx-runtime").JSX.Element;
30
- declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): import("react/jsx-runtime").JSX.Element;
31
- declare function SidebarHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
32
- declare function SidebarFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
33
- declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
34
- declare function SidebarContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
35
- declare function SidebarGroup({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
36
- declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<'div'> & {
27
+ declare function SidebarTrigger({ className, onClick, ...props }: ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
28
+ declare function SidebarRail({ className, ...props }: ComponentProps<'button'>): import("react/jsx-runtime").JSX.Element;
29
+ declare function SidebarInset({ className, ...props }: ComponentProps<'main'>): import("react/jsx-runtime").JSX.Element;
30
+ declare function SidebarInput({ className, ...props }: ComponentProps<typeof Input>): import("react/jsx-runtime").JSX.Element;
31
+ declare function SidebarHeader({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
32
+ declare function SidebarFooter({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
33
+ declare function SidebarSeparator({ className, ...props }: ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
34
+ declare function SidebarContent({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
35
+ declare function SidebarGroup({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
36
+ declare function SidebarGroupLabel({ className, asChild, ...props }: ComponentProps<'div'> & {
37
37
  asChild?: boolean;
38
38
  }): import("react/jsx-runtime").JSX.Element;
39
- declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<'button'> & {
39
+ declare function SidebarGroupAction({ className, asChild, ...props }: ComponentProps<'button'> & {
40
40
  asChild?: boolean;
41
41
  }): import("react/jsx-runtime").JSX.Element;
42
- declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
43
- declare function SidebarMenu({ className, ...props }: React.ComponentProps<'ul'>): import("react/jsx-runtime").JSX.Element;
44
- declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<'li'>): import("react/jsx-runtime").JSX.Element;
42
+ declare function SidebarGroupContent({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
43
+ declare function SidebarMenu({ className, ...props }: ComponentProps<'ul'>): import("react/jsx-runtime").JSX.Element;
44
+ declare function SidebarMenuItem({ className, ...props }: ComponentProps<'li'>): import("react/jsx-runtime").JSX.Element;
45
45
  declare const sidebarMenuButtonVariants: (props?: ({
46
46
  variant?: "default" | "outline" | null | undefined;
47
47
  size?: "default" | "sm" | "lg" | null | undefined;
48
48
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
49
- declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<'button'> & {
49
+ declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: ComponentProps<'button'> & {
50
50
  asChild?: boolean;
51
51
  isActive?: boolean;
52
- tooltip?: string | React.ComponentProps<typeof TooltipContent>;
52
+ tooltip?: string | ComponentProps<typeof TooltipContent>;
53
53
  } & VariantProps<typeof sidebarMenuButtonVariants>): import("react/jsx-runtime").JSX.Element;
54
- declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React.ComponentProps<'button'> & {
54
+ declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: ComponentProps<'button'> & {
55
55
  asChild?: boolean;
56
56
  showOnHover?: boolean;
57
57
  }): import("react/jsx-runtime").JSX.Element;
58
- declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
59
- declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<'div'> & {
58
+ declare function SidebarMenuBadge({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
59
+ declare function SidebarMenuSkeleton({ className, showIcon, ...props }: ComponentProps<'div'> & {
60
60
  showIcon?: boolean;
61
61
  }): import("react/jsx-runtime").JSX.Element;
62
- declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<'ul'>): import("react/jsx-runtime").JSX.Element;
63
- declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<'li'>): import("react/jsx-runtime").JSX.Element;
64
- declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React.ComponentProps<'a'> & {
62
+ declare function SidebarMenuSub({ className, ...props }: ComponentProps<'ul'>): import("react/jsx-runtime").JSX.Element;
63
+ declare function SidebarMenuSubItem({ className, ...props }: ComponentProps<'li'>): import("react/jsx-runtime").JSX.Element;
64
+ declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: ComponentProps<'a'> & {
65
65
  asChild?: boolean;
66
66
  size?: 'sm' | 'md';
67
67
  isActive?: boolean;
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import * as React from 'react';
3
+ import { createContext, useContext, useState, useCallback, useEffect, useMemo, } from 'react';
4
4
  import { Slot } from '@radix-ui/react-slot';
5
5
  import { cva } from 'class-variance-authority';
6
6
  import { PanelLeftIcon } from 'lucide-react';
@@ -18,9 +18,9 @@ const SIDEBAR_WIDTH = '16rem';
18
18
  const SIDEBAR_WIDTH_MOBILE = '18rem';
19
19
  const SIDEBAR_WIDTH_ICON = '4.5rem';
20
20
  const SIDEBAR_KEYBOARD_SHORTCUT = 'b';
21
- const SidebarContext = React.createContext(null);
21
+ const SidebarContext = createContext(null);
22
22
  function useSidebar() {
23
- const context = React.useContext(SidebarContext);
23
+ const context = useContext(SidebarContext);
24
24
  if (!context) {
25
25
  throw new Error('useSidebar must be used within a SidebarProvider.');
26
26
  }
@@ -28,12 +28,12 @@ function useSidebar() {
28
28
  }
29
29
  function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }) {
30
30
  const isMobile = useIsMobile();
31
- const [openMobile, setOpenMobile] = React.useState(false);
31
+ const [openMobile, setOpenMobile] = useState(false);
32
32
  // This is the internal state of the sidebar.
33
33
  // We use openProp and setOpenProp for control from outside the component.
34
- const [_open, _setOpen] = React.useState(defaultOpen);
34
+ const [_open, _setOpen] = useState(defaultOpen);
35
35
  const open = openProp ?? _open;
36
- const setOpen = React.useCallback((value) => {
36
+ const setOpen = useCallback((value) => {
37
37
  const openState = typeof value === 'function' ? value(open) : value;
38
38
  if (setOpenProp) {
39
39
  setOpenProp(openState);
@@ -45,13 +45,13 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
45
45
  document.cookie = `${SIDEBAR_COOKIE_NAME}=${openState}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;
46
46
  }, [setOpenProp, open]);
47
47
  // Helper to toggle the sidebar.
48
- const toggleSidebar = React.useCallback(() => {
48
+ const toggleSidebar = useCallback(() => {
49
49
  return isMobile
50
50
  ? setOpenMobile((open) => !open)
51
51
  : setOpen((open) => !open);
52
52
  }, [isMobile, setOpen, setOpenMobile]);
53
53
  // Adds a keyboard shortcut to toggle the sidebar.
54
- React.useEffect(() => {
54
+ useEffect(() => {
55
55
  const handleKeyDown = (event) => {
56
56
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT &&
57
57
  (event.metaKey || event.ctrlKey)) {
@@ -65,7 +65,7 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
65
65
  // We add a state so that we can do data-state="expanded" or "collapsed".
66
66
  // This makes it easier to style the sidebar with Tailwind classes.
67
67
  const state = open ? 'expanded' : 'collapsed';
68
- const contextValue = React.useMemo(() => ({
68
+ const contextValue = useMemo(() => ({
69
69
  state,
70
70
  open,
71
71
  setOpen,
@@ -86,19 +86,19 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
86
86
  '--sidebar-width': SIDEBAR_WIDTH,
87
87
  '--sidebar-width-icon': SIDEBAR_WIDTH_ICON,
88
88
  ...style,
89
- }, className: cn('group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full', className), ...props, children: children }) }) }));
89
+ }, className: cn('group/sidebar-wrapper has-data-[variant=inset]:bg-card flex min-h-svh w-full', className), ...props, children: children }) }) }));
90
90
  }
91
91
  function Sidebar({ side = 'left', variant = 'sidebar', collapsible = 'offcanvas', className, children, ...props }) {
92
92
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
93
93
  if (collapsible === 'none') {
94
- return (_jsx("div", { "data-slot": "sidebar", className: cn('bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col', className), ...props, children: children }));
94
+ return (_jsx("div", { "data-slot": "sidebar", className: cn('bg-card text-card-foreground flex h-full w-(--sidebar-width) flex-col', className), ...props, children: children }));
95
95
  }
96
96
  if (isMobile) {
97
- return (_jsx(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: _jsxs(SheetContent, { "data-sidebar": "sidebar", "data-slot": "sidebar", "data-mobile": "true", className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden", style: {
97
+ return (_jsx(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: _jsxs(SheetContent, { "data-sidebar": "sidebar", "data-slot": "sidebar", "data-mobile": "true", className: "bg-card text-card-foreground w-(--sidebar-width) p-0 [&>button]:hidden", style: {
98
98
  '--sidebar-width': SIDEBAR_WIDTH_MOBILE,
99
99
  }, side: side, children: [_jsxs(SheetHeader, { className: "sr-only", children: [_jsx(SheetTitle, { children: "Sidebar" }), _jsx(SheetDescription, { children: "Displays the mobile sidebar." })] }), _jsx("div", { className: "flex h-full w-full flex-col", children: children })] }) }));
100
100
  }
101
- return (_jsxs("div", { className: "group peer text-sidebar-foreground hidden sm:block", "data-state": state, "data-collapsible": state === 'collapsed' ? collapsible : '', "data-variant": variant, "data-side": side, "data-slot": "sidebar", children: [_jsx("div", { "data-slot": "sidebar-gap", className: cn('relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear', 'group-data-[collapsible=offcanvas]:w-0', 'group-data-[side=right]:rotate-180', variant === 'floating' || variant === 'inset'
101
+ return (_jsxs("div", { className: "group peer text-card-foreground hidden sm:block", "data-state": state, "data-collapsible": state === 'collapsed' ? collapsible : '', "data-variant": variant, "data-side": side, "data-slot": "sidebar", children: [_jsx("div", { "data-slot": "sidebar-gap", className: cn('relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear', 'group-data-[collapsible=offcanvas]:w-0', 'group-data-[side=right]:rotate-180', variant === 'floating' || variant === 'inset'
102
102
  ? 'group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]'
103
103
  : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon)') }), _jsx("div", { "data-slot": "sidebar-container", className: cn('fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear sm:flex', side === 'left'
104
104
  ? 'left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]'
@@ -106,7 +106,7 @@ function Sidebar({ side = 'left', variant = 'sidebar', collapsible = 'offcanvas'
106
106
  // Adjust the padding for floating and inset variants.
107
107
  variant === 'floating' || variant === 'inset'
108
108
  ? 'p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]'
109
- : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l', className), ...props, children: _jsx("div", { "data-sidebar": "sidebar", "data-slot": "sidebar-inner", className: "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm", children: children }) })] }));
109
+ : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l', className), ...props, children: _jsx("div", { "data-sidebar": "sidebar", "data-slot": "sidebar-inner", className: "bg-card group-data-[variant=floating]:border-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm", children: children }) })] }));
110
110
  }
111
111
  function SidebarTrigger({ className, onClick, ...props }) {
112
112
  const { toggleSidebar } = useSidebar();
@@ -117,10 +117,10 @@ function SidebarTrigger({ className, onClick, ...props }) {
117
117
  }
118
118
  function SidebarRail({ className, ...props }) {
119
119
  const { toggleSidebar } = useSidebar();
120
- return (_jsx("button", { "data-sidebar": "rail", "data-slot": "sidebar-rail", "aria-label": "Toggle Sidebar", tabIndex: -1, onClick: toggleSidebar, title: "Toggle Sidebar", className: cn('hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex', 'in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize', '[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize', 'hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full', '[[data-side=left][data-collapsible=offcanvas]_&]:-right-2', '[[data-side=right][data-collapsible=offcanvas]_&]:-left-2', className), ...props }));
120
+ return (_jsx("button", { "data-sidebar": "rail", "data-slot": "sidebar-rail", "aria-label": "Toggle Sidebar", tabIndex: -1, onClick: toggleSidebar, title: "Toggle Sidebar", className: cn('hover:after:bg-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex', 'in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize', '[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize', 'hover:group-data-[collapsible=offcanvas]:bg-card group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full', '[[data-side=left][data-collapsible=offcanvas]_&]:-right-2', '[[data-side=right][data-collapsible=offcanvas]_&]:-left-2', className), ...props }));
121
121
  }
122
122
  function SidebarInset({ className, ...props }) {
123
- return (_jsx("main", { "data-slot": "sidebar-inset", className: cn('bg-accent relative flex w-full flex-1 flex-col', 'md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2', className), ...props }));
123
+ return (_jsx("main", { "data-slot": "sidebar-inset", className: cn('bg-muted relative flex w-full flex-1 flex-col', 'md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2', className), ...props }));
124
124
  }
125
125
  function SidebarInput({ className, ...props }) {
126
126
  return (_jsx(Input, { "data-slot": "sidebar-input", "data-sidebar": "input", className: cn('bg-background h-8 w-full shadow-none', className), ...props }));
@@ -132,7 +132,7 @@ function SidebarFooter({ className, ...props }) {
132
132
  return (_jsx("div", { "data-slot": "sidebar-footer", "data-sidebar": "footer", className: cn('flex flex-col gap-2 p-2', className), ...props }));
133
133
  }
134
134
  function SidebarSeparator({ className, ...props }) {
135
- return (_jsx(Separator, { "data-slot": "sidebar-separator", "data-sidebar": "separator", className: cn('bg-sidebar-border mx-2 w-auto', className), ...props }));
135
+ return (_jsx(Separator, { "data-slot": "sidebar-separator", "data-sidebar": "separator", className: cn('bg-border mx-2 w-auto', className), ...props }));
136
136
  }
137
137
  function SidebarContent({ className, ...props }) {
138
138
  return (_jsx("div", { "data-slot": "sidebar-content", "data-sidebar": "content", className: cn('flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden', className), ...props }));
@@ -142,11 +142,11 @@ function SidebarGroup({ className, ...props }) {
142
142
  }
143
143
  function SidebarGroupLabel({ className, asChild = false, ...props }) {
144
144
  const Comp = asChild ? Slot : 'div';
145
- return (_jsx(Comp, { "data-slot": "sidebar-group-label", "data-sidebar": "group-label", className: cn('text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0', 'group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0', className), ...props }));
145
+ return (_jsx(Comp, { "data-slot": "sidebar-group-label", "data-sidebar": "group-label", className: cn('text-card-foreground/70 ring-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0', 'group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0', className), ...props }));
146
146
  }
147
147
  function SidebarGroupAction({ className, asChild = false, ...props }) {
148
148
  const Comp = asChild ? Slot : 'button';
149
- return (_jsx(Comp, { "data-slot": "sidebar-group-action", "data-sidebar": "group-action", className: cn('text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
149
+ return (_jsx(Comp, { "data-slot": "sidebar-group-action", "data-sidebar": "group-action", className: cn('text-card-foreground ring-ring hover:bg-muted hover:text-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
150
150
  // Increases the hit area of the button on mobile.
151
151
  'after:absolute after:-inset-2 md:after:hidden', 'group-data-[collapsible=icon]:hidden', className), ...props }));
152
152
  }
@@ -159,11 +159,11 @@ function SidebarMenu({ className, ...props }) {
159
159
  function SidebarMenuItem({ className, ...props }) {
160
160
  return (_jsx("li", { "data-slot": "sidebar-menu-item", "data-sidebar": "menu-item", className: cn('group/menu-item relative', className), ...props }));
161
161
  }
162
- const sidebarMenuButtonVariants = cva('peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:mx-auto! group-data-[collapsible=icon]:p-2! group-data-[collapsible=icon]:justify-center [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0', {
162
+ const sidebarMenuButtonVariants = cva('peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-ring transition-[width,height,padding] hover:bg-muted hover:text-foreground focus-visible:ring-2 active:bg-muted active:text-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-muted font-medium data-[active=true]:text-foreground data-[state=open]:hover:bg-muted data-[state=open]:hover:text-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:mx-auto! group-data-[collapsible=icon]:p-2! group-data-[collapsible=icon]:justify-center [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0', {
163
163
  variants: {
164
164
  variant: {
165
- default: 'hover:bg-sidebar-accent hover:text-sidebar-accent-foreground',
166
- outline: 'bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]',
165
+ default: 'hover:bg-muted hover:text-foreground',
166
+ outline: 'bg-background shadow-[0_0_0_1px_var(--border)] hover:bg-muted hover:text-foreground hover:shadow-[0_0_0_1px_var(--muted)]',
167
167
  },
168
168
  size: {
169
169
  default: 'h-8 text-sm',
@@ -192,17 +192,17 @@ function SidebarMenuButton({ asChild = false, isActive = false, variant = 'defau
192
192
  }
193
193
  function SidebarMenuAction({ className, asChild = false, showOnHover = false, ...props }) {
194
194
  const Comp = asChild ? Slot : 'button';
195
- return (_jsx(Comp, { "data-slot": "sidebar-menu-action", "data-sidebar": "menu-action", className: cn('text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
195
+ return (_jsx(Comp, { "data-slot": "sidebar-menu-action", "data-sidebar": "menu-action", className: cn('text-card-foreground ring-ring hover:bg-muted hover:text-foreground peer-hover/menu-button:text-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
196
196
  // Increases the hit area of the button on mobile.
197
197
  'after:absolute after:-inset-2 md:after:hidden', 'peer-data-[size=sm]/menu-button:top-1', 'peer-data-[size=default]/menu-button:top-1.5', 'peer-data-[size=lg]/menu-button:top-2.5', 'group-data-[collapsible=icon]:hidden', showOnHover &&
198
- 'peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0', className), ...props }));
198
+ 'peer-data-[active=true]/menu-button:text-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0', className), ...props }));
199
199
  }
200
200
  function SidebarMenuBadge({ className, ...props }) {
201
- return (_jsx("div", { "data-slot": "sidebar-menu-badge", "data-sidebar": "menu-badge", className: cn('text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none', 'peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground', 'peer-data-[size=sm]/menu-button:top-1', 'peer-data-[size=default]/menu-button:top-1.5', 'peer-data-[size=lg]/menu-button:top-2.5', 'group-data-[collapsible=icon]:hidden', className), ...props }));
201
+ return (_jsx("div", { "data-slot": "sidebar-menu-badge", "data-sidebar": "menu-badge", className: cn('text-card-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none', 'peer-hover/menu-button:text-foreground peer-data-[active=true]/menu-button:text-foreground', 'peer-data-[size=sm]/menu-button:top-1', 'peer-data-[size=default]/menu-button:top-1.5', 'peer-data-[size=lg]/menu-button:top-2.5', 'group-data-[collapsible=icon]:hidden', className), ...props }));
202
202
  }
203
203
  function SidebarMenuSkeleton({ className, showIcon = false, ...props }) {
204
204
  // Random width between 50 to 90%.
205
- const width = React.useMemo(() => {
205
+ const width = useMemo(() => {
206
206
  return `${Math.floor(Math.random() * 40) + 50}%`;
207
207
  }, []);
208
208
  return (_jsxs("div", { "data-slot": "sidebar-menu-skeleton", "data-sidebar": "menu-skeleton", className: cn('flex h-8 items-center gap-2 rounded-md px-2', className), ...props, children: [showIcon && (_jsx(Skeleton, { className: "size-4 rounded-md", "data-sidebar": "menu-skeleton-icon" })), _jsx(Skeleton, { className: "h-4 max-w-(--skeleton-width) flex-1", "data-sidebar": "menu-skeleton-text", style: {
@@ -210,13 +210,13 @@ function SidebarMenuSkeleton({ className, showIcon = false, ...props }) {
210
210
  } })] }));
211
211
  }
212
212
  function SidebarMenuSub({ className, ...props }) {
213
- return (_jsx("ul", { "data-slot": "sidebar-menu-sub", "data-sidebar": "menu-sub", className: cn('border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5', 'group-data-[collapsible=icon]:hidden', className), ...props }));
213
+ return (_jsx("ul", { "data-slot": "sidebar-menu-sub", "data-sidebar": "menu-sub", className: cn('border-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5', 'group-data-[collapsible=icon]:hidden', className), ...props }));
214
214
  }
215
215
  function SidebarMenuSubItem({ className, ...props }) {
216
216
  return (_jsx("li", { "data-slot": "sidebar-menu-sub-item", "data-sidebar": "menu-sub-item", className: cn('group/menu-sub-item relative', className), ...props }));
217
217
  }
218
218
  function SidebarMenuSubButton({ asChild = false, size = 'md', isActive = false, className, ...props }) {
219
219
  const Comp = asChild ? Slot : 'a';
220
- return (_jsx(Comp, { "data-slot": "sidebar-menu-sub-button", "data-sidebar": "menu-sub-button", "data-size": size, "data-active": isActive, className: cn('text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0', 'data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground', size === 'sm' && 'text-xs', size === 'md' && 'text-sm', 'group-data-[collapsible=icon]:hidden', className), ...props }));
220
+ return (_jsx(Comp, { "data-slot": "sidebar-menu-sub-button", "data-sidebar": "menu-sub-button", "data-size": size, "data-active": isActive, className: cn('text-card-foreground ring-ring hover:bg-muted hover:text-foreground active:bg-muted active:text-foreground [&>svg]:text-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0', 'data-[active=true]:bg-muted data-[active=true]:text-foreground', size === 'sm' && 'text-xs', size === 'md' && 'text-sm', 'group-data-[collapsible=icon]:hidden', className), ...props }));
221
221
  }
222
222
  export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar, };
@@ -1,2 +1,3 @@
1
- declare function Skeleton({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
1
+ import { type ComponentProps } from 'react';
2
+ declare function Skeleton({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
2
3
  export { Skeleton };
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { cn } from '../../utils/utils.js';
3
3
  function Skeleton({ className, ...props }) {
4
- return (_jsx("div", { "data-slot": "skeleton", className: cn('bg-accent animate-pulse rounded-md', className), ...props }));
4
+ return (_jsx("div", { "data-slot": "skeleton", className: cn('bg-muted animate-pulse rounded-md', className), ...props }));
5
5
  }
6
6
  export { Skeleton };
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Toaster as Sonner } from 'sonner';
3
3
  const Toaster = ({ ...props }) => {
4
- return (_jsx(Sonner, { theme: "light", className: "toaster group", style: {
5
- '--normal-bg': 'var(--popover)',
4
+ return (_jsx(Sonner, { theme: "system", className: "toaster group", style: {
5
+ '--normal-bg': 'var(--background)',
6
6
  '--normal-text': 'var(--popover-foreground)',
7
- '--normal-border': 'var(--border)',
7
+ '--normal-border': 'transparent',
8
8
  }, ...props }));
9
9
  };
10
10
  export { Toaster };
@@ -1,2 +1,3 @@
1
- declare function Spinner({ className, ...props }: React.ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
1
+ import { type ComponentProps } from 'react';
2
+ declare function Spinner({ className, ...props }: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
2
3
  export { Spinner };
@@ -2,6 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { Loader2Icon } from 'lucide-react';
3
3
  import { cn } from '../../utils/utils.js';
4
4
  function Spinner({ className, ...props }) {
5
- return (_jsx(Loader2Icon, { role: "status", "aria-label": "Loading", className: cn('size-4 animate-spin', className), ...props }));
5
+ return (_jsx(Loader2Icon, { role: "status", "aria-label": "Loading", className: cn('size-4 animate-spin text-muted-foreground', className), ...props }));
6
6
  }
7
7
  export { Spinner };
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
3
+ declare function Switch({ className, size, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root> & {
4
+ size?: 'sm' | 'default';
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ export { Switch };
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import * as SwitchPrimitive from '@radix-ui/react-switch';
3
+ import { cn } from '../../utils/utils.js';
4
+ function Switch({ className, size = 'default', ...props }) {
5
+ return (_jsx(SwitchPrimitive.Root, { "data-slot": "switch", "data-size": size, className: cn('peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-border focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 group/switch inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[1.15rem] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6', className), ...props, children: _jsx(SwitchPrimitive.Thumb, { "data-slot": "switch-thumb", className: cn('bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block rounded-full ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0') }) }));
6
+ }
7
+ export { Switch };
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- declare function Table({ className, ...props }: React.HTMLAttributes<HTMLTableElement>): import("react/jsx-runtime").JSX.Element;
3
- declare function TableHeader({ className, ...props }: React.HTMLAttributes<HTMLTableSectionElement>): import("react/jsx-runtime").JSX.Element;
4
- declare function TableBody({ className, ...props }: React.HTMLAttributes<HTMLTableSectionElement>): import("react/jsx-runtime").JSX.Element;
5
- declare function TableFooter({ className, ...props }: React.HTMLAttributes<HTMLTableSectionElement>): import("react/jsx-runtime").JSX.Element;
6
- declare function TableRow({ className, ...props }: React.HTMLAttributes<HTMLTableRowElement>): import("react/jsx-runtime").JSX.Element;
7
- declare function TableHead({ className, ...props }: React.ThHTMLAttributes<HTMLTableCellElement>): import("react/jsx-runtime").JSX.Element;
8
- declare function TableCell({ className, ...props }: React.TdHTMLAttributes<HTMLTableCellElement>): import("react/jsx-runtime").JSX.Element;
9
- declare function TableCaption({ className, ...props }: React.HTMLAttributes<HTMLTableCaptionElement>): import("react/jsx-runtime").JSX.Element;
1
+ import { type HTMLAttributes, type ThHTMLAttributes, type TdHTMLAttributes } from 'react';
2
+ declare function Table({ className, ...props }: HTMLAttributes<HTMLTableElement>): import("react/jsx-runtime").JSX.Element;
3
+ declare function TableHeader({ className, ...props }: HTMLAttributes<HTMLTableSectionElement>): import("react/jsx-runtime").JSX.Element;
4
+ declare function TableBody({ className, ...props }: HTMLAttributes<HTMLTableSectionElement>): import("react/jsx-runtime").JSX.Element;
5
+ declare function TableFooter({ className, ...props }: HTMLAttributes<HTMLTableSectionElement>): import("react/jsx-runtime").JSX.Element;
6
+ declare function TableRow({ className, ...props }: HTMLAttributes<HTMLTableRowElement>): import("react/jsx-runtime").JSX.Element;
7
+ declare function TableHead({ className, ...props }: ThHTMLAttributes<HTMLTableCellElement>): import("react/jsx-runtime").JSX.Element;
8
+ declare function TableCell({ className, ...props }: TdHTMLAttributes<HTMLTableCellElement>): import("react/jsx-runtime").JSX.Element;
9
+ declare function TableCaption({ className, ...props }: HTMLAttributes<HTMLTableCaptionElement>): import("react/jsx-runtime").JSX.Element;
10
10
  export { Table, TableHeader, TableBody, TableFooter, TableRow, TableHead, TableCell, TableCaption, };
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
2
  import * as TabsPrimitive from '@radix-ui/react-tabs';
3
- declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
4
- declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
- declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
- declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
3
+ declare function Tabs({ ...props }: ComponentPropsWithoutRef<typeof TabsPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare const TabsList: import("react").ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
5
+ declare const TabsTrigger: import("react").ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
6
+ declare const TabsContent: import("react").ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
7
  export { Tabs, TabsList, TabsTrigger, TabsContent };
@@ -1,13 +1,15 @@
1
1
  'use client';
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
- import * as React from 'react';
3
+ import { forwardRef } from 'react';
4
4
  import * as TabsPrimitive from '@radix-ui/react-tabs';
5
5
  import { cn } from '../../utils/utils.js';
6
- const Tabs = TabsPrimitive.Root;
7
- const TabsList = React.forwardRef(({ className, ...props }, ref) => (_jsx(TabsPrimitive.List, { ref: ref, className: cn('inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground', className), ...props })));
6
+ function Tabs({ ...props }) {
7
+ return _jsx(TabsPrimitive.Root, { "data-slot": "tabs", ...props });
8
+ }
9
+ const TabsList = forwardRef(({ className, ...props }, ref) => (_jsx(TabsPrimitive.List, { ref: ref, "data-slot": "tabs-list", className: cn('inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground', className), ...props })));
8
10
  TabsList.displayName = TabsPrimitive.List.displayName;
9
- const TabsTrigger = React.forwardRef(({ className, ...props }, ref) => (_jsx(TabsPrimitive.Trigger, { ref: ref, className: cn('inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow', className), ...props })));
11
+ const TabsTrigger = forwardRef(({ className, ...props }, ref) => (_jsx(TabsPrimitive.Trigger, { ref: ref, "data-slot": "tabs-trigger", className: cn('inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow', className), ...props })));
10
12
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
11
- const TabsContent = React.forwardRef(({ className, ...props }, ref) => (_jsx(TabsPrimitive.Content, { ref: ref, className: cn('mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2', className), ...props })));
13
+ const TabsContent = forwardRef(({ className, ...props }, ref) => (_jsx(TabsPrimitive.Content, { ref: ref, "data-slot": "tabs-content", className: cn('mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2', className), ...props })));
12
14
  TabsContent.displayName = TabsPrimitive.Content.displayName;
13
15
  export { Tabs, TabsList, TabsTrigger, TabsContent };
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { cn } from '../../utils/utils.js';
3
3
  function Textarea({ className, ...props }) {
4
- return (_jsx("textarea", { "data-slot": "textarea", className: cn('placeholder:text-muted-foreground/70 selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex field-sizing-content min-h-16 w-full min-w-0 rounded-md border bg-muted px-4 py-2 text-base shadow-xs transition-all outline-none disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm hover:border-muted-foreground/30 hover:bg-muted/30', 'focus-visible:border-secondary focus-visible:ring-secondary/50 focus-visible:ring-[3px]', 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive', className), ...props }));
4
+ return (_jsx("textarea", { "data-slot": "textarea", className: cn('placeholder:text-muted-foreground/70 selection:bg-primary selection:text-primary-foreground dark:bg-border/30 border-border/50 flex field-sizing-content min-h-16 w-full min-w-0 rounded-md border bg-muted p-3 text-base shadow-xs transition-all outline-none disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm hover:border-muted-foreground/50 hover:bg-muted/30', 'focus-visible:border-secondary focus-visible:ring-secondary/50 focus-visible:ring-[3px]', 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive', className), ...props }));
5
5
  }
6
6
  export { Textarea };
@@ -1,7 +1,7 @@
1
- import * as React from 'react';
1
+ import { type ComponentProps } from 'react';
2
2
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
3
- declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
4
- declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
- declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
- declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
3
+ declare function TooltipProvider({ delayDuration, ...props }: ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
4
+ declare function Tooltip({ ...props }: ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
+ declare function TooltipTrigger({ ...props }: ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function TooltipContent({ className, sideOffset, children, ...props }: ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
7
  export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
@@ -10,7 +10,7 @@ function Tooltip({ ...props }) {
10
10
  function TooltipTrigger({ ...props }) {
11
11
  return _jsx(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
12
12
  }
13
- function TooltipContent({ className, sideOffset = 0, children, ...props }) {
14
- return (_jsx(TooltipPrimitive.Portal, { children: _jsxs(TooltipPrimitive.Content, { "data-slot": "tooltip-content", sideOffset: sideOffset, className: cn('bg-gray-800 text-white animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance shadow-md', className), ...props, children: [children, _jsx(TooltipPrimitive.Arrow, { className: "bg-gray-800 fill-gray-800 z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })] }) }));
13
+ function TooltipContent({ className, sideOffset = 6, children, ...props }) {
14
+ return (_jsx(TooltipPrimitive.Portal, { children: _jsxs(TooltipPrimitive.Content, { "data-slot": "tooltip-content", sideOffset: sideOffset, className: cn('bg-card-foreground text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance', className), ...props, children: [children, _jsx(TooltipPrimitive.Arrow, { className: "fill-card-foreground" })] }) }));
15
15
  }
16
16
  export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
@@ -1,9 +1,5 @@
1
1
  import type { ComponentProps, ReactNode } from 'react';
2
- export declare function TypographyH1({ children, className, ...props }: {
3
- children?: ReactNode;
4
- className?: string;
5
- [key: string]: any;
6
- }): import("react/jsx-runtime").JSX.Element;
2
+ export declare function TypographyH1({ children, className, ...props }: ComponentProps<'h1'>): import("react/jsx-runtime").JSX.Element;
7
3
  export declare function TypographyH2({ children, className, }: {
8
4
  children: ReactNode;
9
5
  className?: string;
package/icons/Alert.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- const SvgAlert = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", width: "1em", height: "1em", ...props, children: _jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M14.545 4.17a1.5 1.5 0 0 1-.94-1.179C13.472 2.092 12.757 1.5 12 1.5c-.76 0-1.476.595-1.608 1.49a1.5 1.5 0 0 1-.94 1.18C6.665 5.254 4.63 8.08 4.63 11.454v6c0 .622-.117 1.221-.332 1.773h15.403a4.9 4.9 0 0 1-.331-1.773v-6c0-3.372-2.038-6.2-4.825-7.284m6.822 15.057c.557.903 1.527 1.5 2.633 1.5H0c1.103 0 2.074-.597 2.632-1.5.315-.51.498-1.12.498-1.773v-6c0-3.981 2.406-7.37 5.778-8.682C9.138 1.203 10.435 0 12 0s2.857 1.203 3.089 2.772c3.371 1.312 5.78 4.7 5.78 8.682v6c0 .654.183 1.262.498 1.773M11.478 22.5c.838 0 1.63-.73 1.63-1.773h1.5c0 1.808-1.402 3.273-3.13 3.273-1.73 0-3.13-1.465-3.13-3.273h1.5c0 1.044.79 1.773 1.63 1.773", clipRule: "evenodd" }) }));
2
+ const SvgAlert = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "data-slot": "icon", width: "1em", height: "1em", ...props, children: _jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M14.545 4.17a1.5 1.5 0 0 1-.94-1.179C13.472 2.092 12.757 1.5 12 1.5c-.76 0-1.476.595-1.608 1.49a1.5 1.5 0 0 1-.94 1.18C6.665 5.254 4.63 8.08 4.63 11.454v6c0 .622-.117 1.221-.332 1.773h15.403a4.9 4.9 0 0 1-.331-1.773v-6c0-3.372-2.038-6.2-4.825-7.284m6.822 15.057c.557.903 1.527 1.5 2.633 1.5H0c1.103 0 2.074-.597 2.632-1.5.315-.51.498-1.12.498-1.773v-6c0-3.981 2.406-7.37 5.778-8.682C9.138 1.203 10.435 0 12 0s2.857 1.203 3.089 2.772c3.371 1.312 5.78 4.7 5.78 8.682v6c0 .654.183 1.262.498 1.773M11.478 22.5c.838 0 1.63-.73 1.63-1.773h1.5c0 1.808-1.402 3.273-3.13 3.273-1.73 0-3.13-1.465-3.13-3.273h1.5c0 1.044.79 1.773 1.63 1.773", clipRule: "evenodd", vectorEffect: "non-scaling-stroke" }) }));
3
3
  export default SvgAlert;
@@ -1,3 +1,3 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const SvgAlertFilled = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", ...props, children: [_jsx("path", { fill: "currentColor", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M14.347 2.882a.75.75 0 0 0 .47.589c3.079 1.199 5.303 4.307 5.303 7.983v6c0 .948.319 1.829.857 2.523H3.022a4.1 4.1 0 0 0 .858-2.523v-6c0-3.677 2.22-6.785 5.3-7.983a.75.75 0 0 0 .47-.59C9.831 1.65 10.838.75 12 .75c1.161 0 2.165.898 2.347 2.132" }), _jsx("mask", { id: "alert_filled_svg__a", fill: "#fff", children: _jsx("path", { fillRule: "evenodd", d: "M14.609 20.727c0 1.807-1.403 3.272-3.13 3.272-1.732 0-3.131-1.465-3.131-3.272", clipRule: "evenodd" }) }), _jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M14.609 20.727c0 1.807-1.403 3.272-3.13 3.272-1.732 0-3.131-1.465-3.131-3.272", clipRule: "evenodd" }), _jsx("path", { fill: "currentColor", d: "M16.109 20.727a1.5 1.5 0 1 0-3 0zm-6.261 0a1.5 1.5 0 1 0-3 0zm3.26 0c0 1.042-.792 1.772-1.63 1.772v3c2.618 0 4.63-2.2 4.63-4.772zm-1.63 1.772c-.84 0-1.63-.729-1.63-1.772h-3c0 2.571 2.008 4.772 4.63 4.772z", mask: "url(#alert_filled_svg__a)" })] }));
2
+ const SvgAlertFilled = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", "data-slot": "icon", ...props, children: [_jsx("path", { fill: "currentColor", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M14.347 2.882a.75.75 0 0 0 .47.589c3.079 1.199 5.303 4.307 5.303 7.983v6c0 .948.319 1.829.857 2.523H3.022a4.1 4.1 0 0 0 .858-2.523v-6c0-3.677 2.22-6.785 5.3-7.983a.75.75 0 0 0 .47-.59C9.831 1.65 10.838.75 12 .75c1.161 0 2.165.898 2.347 2.132", vectorEffect: "non-scaling-stroke" }), _jsx("mask", { id: "a", fill: "#fff", children: _jsx("path", { fillRule: "evenodd", d: "M14.609 20.727c0 1.807-1.403 3.272-3.13 3.272-1.732 0-3.131-1.465-3.131-3.272", clipRule: "evenodd", vectorEffect: "non-scaling-stroke" }) }), _jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M14.609 20.727c0 1.807-1.403 3.272-3.13 3.272-1.732 0-3.131-1.465-3.131-3.272", clipRule: "evenodd", vectorEffect: "non-scaling-stroke" }), _jsx("path", { fill: "currentColor", d: "M16.109 20.727a1.5 1.5 0 1 0-3 0zm-6.261 0a1.5 1.5 0 1 0-3 0zm3.26 0c0 1.042-.792 1.772-1.63 1.772v3c2.618 0 4.63-2.2 4.63-4.772zm-1.63 1.772c-.84 0-1.63-.729-1.63-1.772h-3c0 2.571 2.008 4.772 4.63 4.772z", mask: "url(#a)", vectorEffect: "non-scaling-stroke" })] }));
3
3
  export default SvgAlertFilled;
package/icons/Arrow.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- const SvgArrow = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", ...props, children: _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M17.652 7.87 22 12.217l-4.348 4.348M22 12.217H2" }) }));
2
+ const SvgArrow = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", "data-slot": "icon", ...props, children: _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M17.652 7.87 22 12.217l-4.348 4.348M22 12.217H2", vectorEffect: "non-scaling-stroke" }) }));
3
3
  export default SvgArrow;
@@ -1,3 +1,3 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- const SvgArrowDown = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 14 7", width: "1em", height: "1em", ...props, children: _jsx("path", { fill: "currentColor", d: "M14 0 7 7 0 0" }) }));
2
+ const SvgArrowDown = (props) => (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 14 7", "data-slot": "icon", width: "1em", height: "1em", ...props, children: _jsx("path", { fill: "currentColor", d: "M14 0 7 7 0 0", vectorEffect: "non-scaling-stroke" }) }));
3
3
  export default SvgArrowDown;
@@ -1,3 +1,3 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const SvgAttachment = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M19.783 22H5V2h9.565l5.218 5.217z", clipRule: "evenodd" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M14.565 2v5.217h5.218" }), _jsx("path", { stroke: "currentColor", strokeWidth: 1.5, d: "M12.707 8.957v7.826M8.478 12.554h7.826" })] }));
2
+ const SvgAttachment = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", "data-slot": "icon", ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M19.783 22H5V2h9.565l5.218 5.217z", clipRule: "evenodd", vectorEffect: "non-scaling-stroke" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M14.565 2v5.217h5.218", vectorEffect: "non-scaling-stroke" }), _jsx("path", { stroke: "currentColor", strokeWidth: 1.5, d: "M12.707 8.957v7.826M8.478 12.554h7.826", vectorEffect: "non-scaling-stroke" })] }));
3
3
  export default SvgAttachment;
package/icons/Automate.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const SvgAutomate = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M13.482 4.609H4.667C3.194 4.609 2 5.777 2 7.218v9.565c0 1.44 1.194 2.608 2.667 2.608h1.5M9.667 19.392h9.666c1.472 0 2.667-1.17 2.667-2.61V7.219c0-1.441-1.195-2.61-2.667-2.61h-1.5" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m12.555 2 1.778 2.609-1.778 2.608M11.445 16.783 9.667 19.39l1.777 2.61" })] }));
2
+ const SvgAutomate = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", "data-slot": "icon", ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M13.482 4.609H4.667C3.194 4.609 2 5.777 2 7.218v9.565c0 1.44 1.194 2.608 2.667 2.608h1.5M9.667 19.392h9.666c1.472 0 2.667-1.17 2.667-2.61V7.219c0-1.441-1.195-2.61-2.667-2.61h-1.5", vectorEffect: "non-scaling-stroke" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m12.555 2 1.778 2.609-1.778 2.608M11.445 16.783 9.667 19.39l1.777 2.61", vectorEffect: "non-scaling-stroke" })] }));
3
3
  export default SvgAutomate;
package/icons/Bold.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const SvgBold = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M5.53 2v20M5.53 11.565h7.647c3.572 0 6.47-2.14 6.47-4.782S16.75 2 13.177 2H2" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M10.824 11.565h4.117c3.897 0 7.059 2.337 7.059 5.218S18.838 22 14.941 22H2" })] }));
2
+ const SvgBold = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", "data-slot": "icon", ...props, children: [_jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M5.53 2v20M5.53 11.565h7.647c3.572 0 6.47-2.14 6.47-4.782S16.75 2 13.177 2H2", vectorEffect: "non-scaling-stroke" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M10.824 11.565h4.117c3.897 0 7.059 2.337 7.059 5.218S18.838 22 14.941 22H2", vectorEffect: "non-scaling-stroke" })] }));
3
3
  export default SvgBold;
@@ -1,3 +1,3 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const SvgBorderBottom = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", ...props, children: [_jsxs("g", { clipPath: "url(#border-bottom_svg__a)", children: [_jsx("rect", { width: 23.5, height: 4, x: 0.25, y: 20, fill: "currentColor", rx: 1 }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeWidth: 1.5, d: "M1 16V1h22v15" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "border-bottom_svg__a", children: _jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })] }));
2
+ const SvgBorderBottom = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", "data-slot": "icon", ...props, children: [_jsxs("g", { clipPath: "url(#a)", children: [_jsx("rect", { width: 23.5, height: 4, x: 0.25, y: 20, fill: "currentColor", rx: 1, vectorEffect: "non-scaling-stroke" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeWidth: 1.5, d: "M1 16V1h22v15", vectorEffect: "non-scaling-stroke" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "a", children: _jsx("path", { fill: "#fff", d: "M0 0h24v24H0z", vectorEffect: "non-scaling-stroke" }) }) })] }));
3
3
  export default SvgBorderBottom;
@@ -1,3 +1,3 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const SvgBorderLeft = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", ...props, children: [_jsxs("g", { clipPath: "url(#border-left_svg__a)", children: [_jsx("rect", { width: 23.5, height: 4, x: 4, y: 0.25, fill: "currentColor", rx: 1, transform: "rotate(90 4 .25)" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeWidth: 1.5, d: "M8 1h15v22H8" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "border-left_svg__a", children: _jsx("path", { fill: "#fff", d: "M24 0v24H0V0z" }) }) })] }));
2
+ const SvgBorderLeft = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", "data-slot": "icon", ...props, children: [_jsxs("g", { clipPath: "url(#a)", children: [_jsx("rect", { width: 23.5, height: 4, x: 4, y: 0.25, fill: "currentColor", rx: 1, transform: "rotate(90 4 .25)", vectorEffect: "non-scaling-stroke" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeWidth: 1.5, d: "M8 1h15v22H8", vectorEffect: "non-scaling-stroke" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "a", children: _jsx("path", { fill: "#fff", d: "M24 0v24H0V0z", vectorEffect: "non-scaling-stroke" }) }) })] }));
3
3
  export default SvgBorderLeft;
@@ -1,3 +1,3 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const SvgBorderRight = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", ...props, children: [_jsxs("g", { clipPath: "url(#border-right_svg__a)", children: [_jsx("rect", { width: 23.5, height: 4, x: 20, y: 23.75, fill: "currentColor", rx: 1, transform: "rotate(-90 20 23.75)" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeWidth: 1.5, d: "M16 23H1V1h15" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "border-right_svg__a", children: _jsx("path", { fill: "#fff", d: "M0 24V0h24v24z" }) }) })] }));
2
+ const SvgBorderRight = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", "data-slot": "icon", ...props, children: [_jsxs("g", { clipPath: "url(#a)", children: [_jsx("rect", { width: 23.5, height: 4, x: 20, y: 23.75, fill: "currentColor", rx: 1, transform: "rotate(-90 20 23.75)", vectorEffect: "non-scaling-stroke" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeWidth: 1.5, d: "M16 23H1V1h15", vectorEffect: "non-scaling-stroke" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "a", children: _jsx("path", { fill: "#fff", d: "M0 24V0h24v24z", vectorEffect: "non-scaling-stroke" }) }) })] }));
3
3
  export default SvgBorderRight;
@@ -1,3 +1,3 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const SvgBorderTop = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", ...props, children: [_jsxs("g", { clipPath: "url(#border-top_svg__a)", children: [_jsx("rect", { width: 23.5, height: 4, x: 23.75, y: 4, fill: "currentColor", rx: 1, transform: "rotate(180 23.75 4)" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeWidth: 1.5, d: "M23 8v15H1V8" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "border-top_svg__a", children: _jsx("path", { fill: "#fff", d: "M24 24H0V0h24z" }) }) })] }));
2
+ const SvgBorderTop = (props) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", "data-slot": "icon", ...props, children: [_jsxs("g", { clipPath: "url(#a)", children: [_jsx("rect", { width: 23.5, height: 4, x: 23.75, y: 4, fill: "currentColor", rx: 1, transform: "rotate(180 23.75 4)", vectorEffect: "non-scaling-stroke" }), _jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeWidth: 1.5, d: "M23 8v15H1V8", vectorEffect: "non-scaling-stroke" })] }), _jsx("defs", { children: _jsx("clipPath", { id: "a", children: _jsx("path", { fill: "#fff", d: "M24 24H0V0h24z", vectorEffect: "non-scaling-stroke" }) }) })] }));
3
3
  export default SvgBorderTop;