@uselets/ui 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -0
- package/dist/components/accordion.d.ts +31 -0
- package/dist/components/accordion.js +2 -0
- package/dist/components/accordion.js.map +1 -0
- package/dist/components/alert-dialog.d.ts +74 -0
- package/dist/components/alert-dialog.js +2 -0
- package/dist/components/alert-dialog.js.map +1 -0
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +1 -1
- package/dist/components/alert.js.map +1 -1
- package/dist/components/avatar.d.ts +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/avatar.js.map +1 -1
- package/dist/components/badge.d.ts +22 -0
- package/dist/components/badge.js +2 -0
- package/dist/components/badge.js.map +1 -0
- package/dist/components/breadcrumb.d.ts +47 -0
- package/dist/components/breadcrumb.js +2 -0
- package/dist/components/breadcrumb.js.map +1 -0
- package/dist/components/button-group.d.ts +33 -0
- package/dist/components/button-group.js +2 -0
- package/dist/components/button-group.js.map +1 -0
- package/dist/components/button.d.ts +3 -3
- package/dist/components/button.js +1 -1
- package/dist/components/button.js.map +1 -1
- package/dist/components/calendar.d.ts +34 -0
- package/dist/components/calendar.js +2 -0
- package/dist/components/calendar.js.map +1 -0
- package/dist/components/card.js +1 -1
- package/dist/components/card.js.map +1 -1
- package/dist/components/carousel.d.ts +62 -0
- package/dist/components/carousel.js +2 -0
- package/dist/components/carousel.js.map +1 -0
- package/dist/components/center.d.ts +21 -0
- package/dist/components/center.js +2 -0
- package/dist/components/center.js.map +1 -0
- package/dist/components/chart.d.ts +263 -0
- package/dist/components/chart.js +8 -0
- package/dist/components/chart.js.map +1 -0
- package/dist/components/checkbox.d.ts +3 -3
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.js.map +1 -1
- package/dist/components/collapsible.d.ts +20 -0
- package/dist/components/collapsible.js +2 -0
- package/dist/components/collapsible.js.map +1 -0
- package/dist/components/combobox.d.ts +103 -0
- package/dist/components/combobox.js +2 -0
- package/dist/components/combobox.js.map +1 -0
- package/dist/components/command.d.ts +65 -0
- package/dist/components/command.js +2 -0
- package/dist/components/command.js.map +1 -0
- package/dist/components/container.d.ts +19 -0
- package/dist/components/container.js +2 -0
- package/dist/components/container.js.map +1 -0
- package/dist/components/dialog.d.ts +2 -2
- package/dist/components/dialog.js +1 -1
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/drawer.d.ts +1 -1
- package/dist/components/drawer.js +1 -1
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/dropdown-menu.d.ts +9 -10
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/dropdown-menu.js.map +1 -1
- package/dist/components/empty.d.ts +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/empty.js.map +1 -1
- package/dist/components/field.d.ts +2 -2
- package/dist/components/field.js +1 -1
- package/dist/components/field.js.map +1 -1
- package/dist/components/group.d.ts +21 -0
- package/dist/components/group.js +2 -0
- package/dist/components/group.js.map +1 -0
- package/dist/components/hover-card.d.ts +24 -0
- package/dist/components/hover-card.js +2 -0
- package/dist/components/hover-card.js.map +1 -0
- package/dist/components/input-group.d.ts +51 -0
- package/dist/components/input-group.js +2 -0
- package/dist/components/input-group.js.map +1 -0
- package/dist/components/input-otp.js +1 -1
- package/dist/components/input-otp.js.map +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input.js.map +1 -1
- package/dist/components/kbd.js +1 -1
- package/dist/components/kbd.js.map +1 -1
- package/dist/components/label.d.ts +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label.js.map +1 -1
- package/dist/components/native-select.js +1 -1
- package/dist/components/native-select.js.map +1 -1
- package/dist/components/navigation-menu.d.ts +56 -0
- package/dist/components/navigation-menu.js +2 -0
- package/dist/components/navigation-menu.js.map +1 -0
- package/dist/components/pagination.d.ts +53 -0
- package/dist/components/pagination.js +2 -0
- package/dist/components/pagination.js.map +1 -0
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/popover.js.map +1 -1
- package/dist/components/progress.d.ts +15 -0
- package/dist/components/progress.js +2 -0
- package/dist/components/progress.js.map +1 -0
- package/dist/components/radio-group.d.ts +19 -0
- package/dist/components/radio-group.js +2 -0
- package/dist/components/radio-group.js.map +1 -0
- package/dist/components/resizable.d.ts +25 -0
- package/dist/components/resizable.js +2 -0
- package/dist/components/resizable.js.map +1 -0
- package/dist/components/scroll-area.d.ts +21 -0
- package/dist/components/scroll-area.js +2 -0
- package/dist/components/scroll-area.js.map +1 -0
- package/dist/components/select.d.ts +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/select.js.map +1 -1
- package/dist/components/separator.d.ts +1 -1
- package/dist/components/separator.js +1 -1
- package/dist/components/separator.js.map +1 -1
- package/dist/components/sheet.d.ts +61 -0
- package/dist/components/sheet.js +2 -0
- package/dist/components/sheet.js.map +1 -0
- package/dist/components/sidebar.d.ts +192 -0
- package/dist/components/sidebar.js +2 -0
- package/dist/components/sidebar.js.map +1 -0
- package/dist/components/skeleton.js +1 -1
- package/dist/components/skeleton.js.map +1 -1
- package/dist/components/slider.d.ts +18 -0
- package/dist/components/slider.js +2 -0
- package/dist/components/slider.js.map +1 -0
- package/dist/components/sonner.js +1 -1
- package/dist/components/sonner.js.map +1 -1
- package/dist/components/spinner.d.ts +2 -2
- package/dist/components/spinner.js +1 -1
- package/dist/components/spinner.js.map +1 -1
- package/dist/components/stack.d.ts +19 -0
- package/dist/components/stack.js +2 -0
- package/dist/components/stack.js.map +1 -0
- package/dist/components/switch.d.ts +17 -0
- package/dist/components/switch.js +2 -0
- package/dist/components/switch.js.map +1 -0
- package/dist/components/table.d.ts +48 -0
- package/dist/components/table.js +2 -0
- package/dist/components/table.js.map +1 -0
- package/dist/components/tabs.d.ts +36 -0
- package/dist/components/tabs.js +2 -0
- package/dist/components/tabs.js.map +1 -0
- package/dist/components/textarea.d.ts +13 -0
- package/dist/components/textarea.js +2 -0
- package/dist/components/textarea.js.map +1 -0
- package/dist/components/theme.js +1 -1
- package/dist/components/theme.js.map +1 -1
- package/dist/components/toggle-group.d.ts +32 -0
- package/dist/components/toggle-group.js +2 -0
- package/dist/components/toggle-group.js.map +1 -0
- package/dist/components/toggle.d.ts +22 -0
- package/dist/components/toggle.js +2 -0
- package/dist/components/toggle.js.map +1 -0
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tooltip.js.map +1 -1
- package/dist/hooks/use-mobile.d.ts +7 -0
- package/dist/hooks/use-mobile.js +2 -0
- package/dist/hooks/use-mobile.js.map +1 -0
- package/dist/index.d.ts +38 -4
- package/dist/index.js +1 -1
- package/dist/lib/utils.js +1 -1
- package/dist/lib/utils.js.map +1 -1
- package/dist/styles.css +1436 -3
- package/package.json +17 -7
- package/dist/styles.css.map +0 -1
- package/dist/styles.js +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../chunk-IpJEthwI.js";import{cn as e}from"../lib/utils.js";import{jsx as t}from"react/jsx-runtime";function Textarea({className:n,...r}){return t(`textarea`,{"data-slot":`textarea`,className:e(`flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,n),...r})}export{Textarea};
|
|
2
|
+
//# sourceMappingURL=textarea.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textarea.js","names":[],"sources":["../../src/components/textarea.tsx"],"sourcesContent":["import type * as React from 'react'\n\nimport { cn } from '../lib/utils'\n\nexport type TextareaProps = React.ComponentProps<'textarea'>\n\nfunction Textarea({ className, ...props }: TextareaProps) {\n return (\n <textarea\n data-slot=\"textarea\"\n className={cn(\n 'flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40',\n className\n )}\n {...props}\n />\n )\n}\n\nexport { Textarea }\n"],"mappings":"0GAMA,SAAS,SAAS,CAAE,YAAW,GAAG,GAAwB,CACxD,OACE,EAAC,WAAD,CACE,YAAU,WACV,UAAW,EACT,yhBACA,EACD,CACD,GAAI,EACJ,CAAA"}
|
package/dist/components/theme.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import"../chunk-IpJEthwI.js";import{Button as e}from"./button.js";import{DropdownMenu as t,DropdownMenuContent as n,DropdownMenuItem as r,DropdownMenuTrigger as i}from"./dropdown-menu.js";import{IconMoon as a,IconSun as o}from"@tabler/icons-react";import{jsx as s,jsxs as c}from"react/jsx-runtime";import{createContext as l,use as u,useEffect as d,useState as f}from"react";const p=l({});function ThemeProvider({children:e,defaultTheme:t=`system`,storageKey:n=`vite-ui-theme`,...r}){let[i,a]=f(()=>localStorage.getItem(n)||t);d(()=>{let e=window.document.documentElement;if(e.classList.remove(`light`,`dark`),i===`system`){let t=window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`;e.classList.add(t);return}e.classList.add(i)},[i]);let o={theme:i,setTheme:e=>{localStorage.setItem(n,e),a(e)}};return s(p.Provider,{...r,value:o,children:e})}const useTheme=()=>{let e=u(p);if(e===void 0||Object.keys(e).length===0)throw Error(`useTheme must be used within a ThemeProvider`);return e};function ModeToggle(l){let{setTheme:u}=useTheme();return c(t,{children:[s(i,{children:c(e,{variant:`outline`,size:`icon`,...l,children:[s(o,{className:`h-[1.2rem] w-[1.2rem] scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90`}),s(a,{className:`absolute h-[1.2rem] w-[1.2rem] scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0`}),s(`span`,{className:`sr-only`,children:`Toggle theme`})]})}),c(n,{align:`end`,children:[s(r,{onClick:()=>u(`light`),children:`Light`}),s(r,{onClick:()=>u(`dark`),children:`Dark`}),s(r,{onClick:()=>u(`system`),children:`System`})]})]})}export{ModeToggle,ThemeProvider,useTheme};
|
|
2
2
|
//# sourceMappingURL=theme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","names":[],"sources":["../../src/components/theme.tsx"],"sourcesContent":["import type * as React from 'react'\nimport { createContext, use, useEffect, useState } from 'react'\n\nimport { IconMoon, IconSun } from '@tabler/icons-react'\n\nimport { Button } from './button'\nimport { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from './dropdown-menu'\n\nexport type Theme = 'dark' | 'light' | 'system'\n\nexport type ThemeProviderProps = {\n children: React.ReactNode\n defaultTheme?: Theme\n storageKey?: string\n}\n\nexport type ThemeProviderState = {\n theme: Theme\n setTheme: (theme: Theme) => void\n}\n\nexport type ModeToggleProps = React.ComponentProps<typeof Button>\n\nconst ThemeProviderContext = createContext({} as ThemeProviderState)\n\nexport function ThemeProvider({\n children,\n defaultTheme = 'system',\n storageKey = 'vite-ui-theme',\n ...props\n}: ThemeProviderProps) {\n const [theme, setTheme] = useState<Theme>(() => (localStorage.getItem(storageKey) as Theme) || defaultTheme)\n\n useEffect(() => {\n const root = window.document.documentElement\n\n root.classList.remove('light', 'dark')\n\n if (theme === 'system') {\n const systemTheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'\n\n root.classList.add(systemTheme)\n return\n }\n\n root.classList.add(theme)\n }, [theme])\n\n const value = {\n theme,\n setTheme: (theme: Theme) => {\n localStorage.setItem(storageKey, theme)\n setTheme(theme)\n }\n }\n\n return (\n <ThemeProviderContext.Provider {...props} value={value}>\n {children}\n </ThemeProviderContext.Provider>\n )\n}\n\nexport const useTheme = () => {\n const context = use(ThemeProviderContext)\n\n if (context === undefined || Object.keys(context).length === 0) {\n throw new Error('useTheme must be used within a ThemeProvider')\n }\n\n return context\n}\n\nexport function ModeToggle(props: ModeToggleProps) {\n const { setTheme } = useTheme()\n\n return (\n <DropdownMenu>\n <DropdownMenuTrigger>\n <Button variant=\"outline\" size=\"icon\" {...props}>\n <IconSun className=\"h-[1.2rem] w-[1.2rem] scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90\" />\n <IconMoon className=\"absolute h-[1.2rem] w-[1.2rem] scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0\" />\n <span className=\"sr-only\">Toggle theme</span>\n </Button>\n </DropdownMenuTrigger>\n <DropdownMenuContent align=\"end\">\n <DropdownMenuItem onClick={() => setTheme('light')}>Light</DropdownMenuItem>\n <DropdownMenuItem onClick={() => setTheme('dark')}>Dark</DropdownMenuItem>\n <DropdownMenuItem onClick={() => setTheme('system')}>System</DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n )\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"theme.js","names":[],"sources":["../../src/components/theme.tsx"],"sourcesContent":["import type * as React from 'react'\nimport { createContext, use, useEffect, useState } from 'react'\n\nimport { IconMoon, IconSun } from '@tabler/icons-react'\n\nimport { Button } from './button'\nimport { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from './dropdown-menu'\n\nexport type Theme = 'dark' | 'light' | 'system'\n\nexport type ThemeProviderProps = {\n children: React.ReactNode\n defaultTheme?: Theme\n storageKey?: string\n}\n\nexport type ThemeProviderState = {\n theme: Theme\n setTheme: (theme: Theme) => void\n}\n\nexport type ModeToggleProps = React.ComponentProps<typeof Button>\n\nconst ThemeProviderContext = createContext({} as ThemeProviderState)\n\nexport function ThemeProvider({\n children,\n defaultTheme = 'system',\n storageKey = 'vite-ui-theme',\n ...props\n}: ThemeProviderProps) {\n const [theme, setTheme] = useState<Theme>(() => (localStorage.getItem(storageKey) as Theme) || defaultTheme)\n\n useEffect(() => {\n const root = window.document.documentElement\n\n root.classList.remove('light', 'dark')\n\n if (theme === 'system') {\n const systemTheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'\n\n root.classList.add(systemTheme)\n return\n }\n\n root.classList.add(theme)\n }, [theme])\n\n const value = {\n theme,\n setTheme: (theme: Theme) => {\n localStorage.setItem(storageKey, theme)\n setTheme(theme)\n }\n }\n\n return (\n <ThemeProviderContext.Provider {...props} value={value}>\n {children}\n </ThemeProviderContext.Provider>\n )\n}\n\nexport const useTheme = () => {\n const context = use(ThemeProviderContext)\n\n if (context === undefined || Object.keys(context).length === 0) {\n throw new Error('useTheme must be used within a ThemeProvider')\n }\n\n return context\n}\n\nexport function ModeToggle(props: ModeToggleProps) {\n const { setTheme } = useTheme()\n\n return (\n <DropdownMenu>\n <DropdownMenuTrigger>\n <Button variant=\"outline\" size=\"icon\" {...props}>\n <IconSun className=\"h-[1.2rem] w-[1.2rem] scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90\" />\n <IconMoon className=\"absolute h-[1.2rem] w-[1.2rem] scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0\" />\n <span className=\"sr-only\">Toggle theme</span>\n </Button>\n </DropdownMenuTrigger>\n <DropdownMenuContent align=\"end\">\n <DropdownMenuItem onClick={() => setTheme('light')}>Light</DropdownMenuItem>\n <DropdownMenuItem onClick={() => setTheme('dark')}>Dark</DropdownMenuItem>\n <DropdownMenuItem onClick={() => setTheme('system')}>System</DropdownMenuItem>\n </DropdownMenuContent>\n </DropdownMenu>\n )\n}\n"],"mappings":"sXAuBA,MAAM,EAAuB,EAAc,EAAE,CAAuB,CAEpE,SAAgB,cAAc,CAC5B,WACA,eAAe,SACf,aAAa,gBACb,GAAG,GACkB,CACrB,GAAM,CAAC,EAAO,GAAY,MAAuB,aAAa,QAAQ,EAAW,EAAc,EAAa,CAE5G,MAAgB,CACd,IAAM,EAAO,OAAO,SAAS,gBAI7B,GAFA,EAAK,UAAU,OAAO,QAAS,OAAO,CAElC,IAAU,SAAU,CACtB,IAAM,EAAc,OAAO,WAAW,+BAA+B,CAAC,QAAU,OAAS,QAEzF,EAAK,UAAU,IAAI,EAAY,CAC/B,OAGF,EAAK,UAAU,IAAI,EAAM,EACxB,CAAC,EAAM,CAAC,CAEX,IAAM,EAAQ,CACZ,QACA,SAAW,GAAiB,CAC1B,aAAa,QAAQ,EAAY,EAAM,CACvC,EAAS,EAAM,EAElB,CAED,OACE,EAAC,EAAqB,SAAtB,CAA+B,GAAI,EAAc,QAC9C,WAC6B,CAAA,CAIpC,MAAa,aAAiB,CAC5B,IAAM,EAAU,EAAI,EAAqB,CAEzC,GAAI,IAAY,IAAA,IAAa,OAAO,KAAK,EAAQ,CAAC,SAAW,EAC3D,MAAU,MAAM,+CAA+C,CAGjE,OAAO,GAGT,SAAgB,WAAW,EAAwB,CACjD,GAAM,CAAE,YAAa,UAAU,CAE/B,OACE,EAAC,EAAD,CAAA,SAAA,CACE,EAAC,EAAD,CAAA,SACE,EAAC,EAAD,CAAQ,QAAQ,UAAU,KAAK,OAAO,GAAI,WAA1C,CACE,EAAC,EAAD,CAAS,UAAU,uFAAyF,CAAA,CAC5G,EAAC,EAAD,CAAU,UAAU,+FAAiG,CAAA,CACrH,EAAC,OAAD,CAAM,UAAU,mBAAU,eAAmB,CAAA,CACtC,GACW,CAAA,CACtB,EAAC,EAAD,CAAqB,MAAM,eAA3B,CACE,EAAC,EAAD,CAAkB,YAAe,EAAS,QAAQ,UAAE,QAAwB,CAAA,CAC5E,EAAC,EAAD,CAAkB,YAAe,EAAS,OAAO,UAAE,OAAuB,CAAA,CAC1E,EAAC,EAAD,CAAkB,YAAe,EAAS,SAAS,UAAE,SAAyB,CAAA,CAC1D,GACT,CAAA,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { t as __name } from "../chunk-IpJEthwI.js";
|
|
2
|
+
import { toggleVariants } from "./toggle.js";
|
|
3
|
+
import { ToggleGroup as ToggleGroup$1 } from "radix-ui";
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
+
import { VariantProps } from "class-variance-authority";
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
|
|
8
|
+
//#region src/components/toggle-group.d.ts
|
|
9
|
+
type ToggleGroupProps = React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants> & {
|
|
10
|
+
spacing?: number;
|
|
11
|
+
orientation?: 'horizontal' | 'vertical';
|
|
12
|
+
};
|
|
13
|
+
type ToggleGroupItemProps = React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>;
|
|
14
|
+
declare function ToggleGroup({
|
|
15
|
+
className,
|
|
16
|
+
variant,
|
|
17
|
+
size,
|
|
18
|
+
spacing,
|
|
19
|
+
orientation,
|
|
20
|
+
children,
|
|
21
|
+
...props
|
|
22
|
+
}: ToggleGroupProps): react_jsx_runtime0.JSX.Element;
|
|
23
|
+
declare function ToggleGroupItem({
|
|
24
|
+
className,
|
|
25
|
+
children,
|
|
26
|
+
variant,
|
|
27
|
+
size,
|
|
28
|
+
...props
|
|
29
|
+
}: ToggleGroupItemProps): react_jsx_runtime0.JSX.Element;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps };
|
|
32
|
+
//# sourceMappingURL=toggle-group.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../chunk-IpJEthwI.js";import{cn as e}from"../lib/utils.js";import{toggleVariants as t}from"./toggle.js";import{ToggleGroup as n}from"radix-ui";import{jsx as r}from"react/jsx-runtime";import*as i from"react";const a=i.createContext({size:`default`,variant:`default`,spacing:0,orientation:`horizontal`});function ToggleGroup({className:t,variant:i,size:o,spacing:s=0,orientation:c=`horizontal`,children:l,...u}){return r(n.Root,{"data-slot":`toggle-group`,"data-variant":i,"data-size":o,"data-spacing":s,"data-orientation":c,style:{"--gap":s},className:e(`group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch`,t),...u,children:r(a.Provider,{value:{variant:i,size:o,spacing:s,orientation:c},children:l})})}function ToggleGroupItem({className:o,children:s,variant:c=`default`,size:l=`default`,...u}){let d=i.useContext(a);return r(n.Item,{"data-slot":`toggle-group-item`,"data-variant":d.variant||c,"data-size":d.size||l,"data-spacing":d.spacing,className:e(`shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t`,t({variant:d.variant||c,size:d.size||l}),o),...u,children:s})}export{ToggleGroup,ToggleGroupItem};
|
|
2
|
+
//# sourceMappingURL=toggle-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle-group.js","names":["ToggleGroupPrimitive"],"sources":["../../src/components/toggle-group.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport type { VariantProps } from 'class-variance-authority'\nimport { ToggleGroup as ToggleGroupPrimitive } from 'radix-ui'\n\nimport { cn } from '../lib/utils'\nimport { toggleVariants } from './toggle'\n\nconst ToggleGroupContext = React.createContext<\n VariantProps<typeof toggleVariants> & {\n spacing?: number\n orientation?: 'horizontal' | 'vertical'\n }\n>({\n size: 'default',\n variant: 'default',\n spacing: 0,\n orientation: 'horizontal'\n})\n\nexport type ToggleGroupProps = React.ComponentProps<typeof ToggleGroupPrimitive.Root> &\n VariantProps<typeof toggleVariants> & {\n spacing?: number\n orientation?: 'horizontal' | 'vertical'\n }\n\nexport type ToggleGroupItemProps = React.ComponentProps<typeof ToggleGroupPrimitive.Item> &\n VariantProps<typeof toggleVariants>\n\nfunction ToggleGroup({\n className,\n variant,\n size,\n spacing = 0,\n orientation = 'horizontal',\n children,\n ...props\n}: ToggleGroupProps) {\n return (\n <ToggleGroupPrimitive.Root\n data-slot=\"toggle-group\"\n data-variant={variant}\n data-size={size}\n data-spacing={spacing}\n data-orientation={orientation}\n style={{ '--gap': spacing } as React.CSSProperties}\n className={cn(\n 'group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch',\n className\n )}\n {...props}\n >\n <ToggleGroupContext.Provider value={{ variant, size, spacing, orientation }}>\n {children}\n </ToggleGroupContext.Provider>\n </ToggleGroupPrimitive.Root>\n )\n}\n\nfunction ToggleGroupItem({\n className,\n children,\n variant = 'default',\n size = 'default',\n ...props\n}: ToggleGroupItemProps) {\n const context = React.useContext(ToggleGroupContext)\n\n return (\n <ToggleGroupPrimitive.Item\n data-slot=\"toggle-group-item\"\n data-variant={context.variant || variant}\n data-size={context.size || size}\n data-spacing={context.spacing}\n className={cn(\n 'shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t',\n toggleVariants({\n variant: context.variant || variant,\n size: context.size || size\n }),\n className\n )}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Item>\n )\n}\n\nexport { ToggleGroup, ToggleGroupItem }\n"],"mappings":"sNAQA,MAAM,EAAqB,EAAM,cAK/B,CACA,KAAM,UACN,QAAS,UACT,QAAS,EACT,YAAa,aACd,CAAC,CAWF,SAAS,YAAY,CACnB,YACA,UACA,OACA,UAAU,EACV,cAAc,aACd,WACA,GAAG,GACgB,CACnB,OACE,EAACA,EAAqB,KAAtB,CACE,YAAU,eACV,eAAc,EACd,YAAW,EACX,eAAc,EACd,mBAAkB,EAClB,MAAO,CAAE,QAAS,EAAS,CAC3B,UAAW,EACT,oMACA,EACD,CACD,GAAI,WAEJ,EAAC,EAAmB,SAApB,CAA6B,MAAO,CAAE,UAAS,OAAM,UAAS,cAAa,CACxE,WAC2B,CAAA,CACJ,CAAA,CAIhC,SAAS,gBAAgB,CACvB,YACA,WACA,UAAU,UACV,OAAO,UACP,GAAG,GACoB,CACvB,IAAM,EAAU,EAAM,WAAW,EAAmB,CAEpD,OACE,EAACA,EAAqB,KAAtB,CACE,YAAU,oBACV,eAAc,EAAQ,SAAW,EACjC,YAAW,EAAQ,MAAQ,EAC3B,eAAc,EAAQ,QACtB,UAAW,EACT,qvBACA,EAAe,CACb,QAAS,EAAQ,SAAW,EAC5B,KAAM,EAAQ,MAAQ,EACvB,CAAC,CACF,EACD,CACD,GAAI,EAEH,WACyB,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as __name } from "../chunk-IpJEthwI.js";
|
|
2
|
+
import { Toggle as Toggle$1 } from "radix-ui";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
7
|
+
|
|
8
|
+
//#region src/components/toggle.d.ts
|
|
9
|
+
declare const toggleVariants: (props?: ({
|
|
10
|
+
variant?: "default" | "outline" | null | undefined;
|
|
11
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
12
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
13
|
+
type ToggleProps = React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>;
|
|
14
|
+
declare function Toggle({
|
|
15
|
+
className,
|
|
16
|
+
variant,
|
|
17
|
+
size,
|
|
18
|
+
...props
|
|
19
|
+
}: ToggleProps): react_jsx_runtime0.JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { Toggle, ToggleProps, toggleVariants };
|
|
22
|
+
//# sourceMappingURL=toggle.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../chunk-IpJEthwI.js";import{cn as e}from"../lib/utils.js";import{Toggle as t}from"radix-ui";import{jsx as n}from"react/jsx-runtime";import{cva as r}from"class-variance-authority";const i=r(`group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,{variants:{variant:{default:`bg-transparent`,outline:`border border-input bg-transparent hover:bg-muted`},size:{default:`h-8 min-w-8 px-2`,sm:`h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-1.5 text-[0.8rem]`,lg:`h-9 min-w-9 px-2.5`}},defaultVariants:{variant:`default`,size:`default`}});function Toggle({className:r,variant:a=`default`,size:o=`default`,...s}){return n(t.Root,{"data-slot":`toggle`,className:e(i({variant:a,size:o,className:r})),...s})}export{Toggle,i as toggleVariants};
|
|
2
|
+
//# sourceMappingURL=toggle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle.js","names":["TogglePrimitive"],"sources":["../../src/components/toggle.tsx"],"sourcesContent":["import type * as React from 'react'\n\nimport { cva, type VariantProps } from 'class-variance-authority'\nimport { Toggle as TogglePrimitive } from 'radix-ui'\n\nimport { cn } from '../lib/utils'\n\nconst toggleVariants = cva(\n \"group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n {\n variants: {\n variant: {\n default: 'bg-transparent',\n outline: 'border border-input bg-transparent hover:bg-muted'\n },\n size: {\n default: 'h-8 min-w-8 px-2',\n sm: 'h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-1.5 text-[0.8rem]',\n lg: 'h-9 min-w-9 px-2.5'\n }\n },\n defaultVariants: {\n variant: 'default',\n size: 'default'\n }\n }\n)\n\nexport type ToggleProps = React.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>\n\nfunction Toggle({ className, variant = 'default', size = 'default', ...props }: ToggleProps) {\n return (\n <TogglePrimitive.Root data-slot=\"toggle\" className={cn(toggleVariants({ variant, size, className }))} {...props} />\n )\n}\n\nexport { Toggle, toggleVariants }\n"],"mappings":"2LAOA,MAAM,EAAiB,EACrB,shBACA,CACE,SAAU,CACR,QAAS,CACP,QAAS,iBACT,QAAS,oDACV,CACD,KAAM,CACJ,QAAS,mBACT,GAAI,wEACJ,GAAI,qBACL,CACF,CACD,gBAAiB,CACf,QAAS,UACT,KAAM,UACP,CACF,CACF,CAID,SAAS,OAAO,CAAE,YAAW,UAAU,UAAW,OAAO,UAAW,GAAG,GAAsB,CAC3F,OACE,EAACA,EAAgB,KAAjB,CAAsB,YAAU,SAAS,UAAW,EAAG,EAAe,CAAE,UAAS,OAAM,YAAW,CAAC,CAAC,CAAE,GAAI,EAAS,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __name } from "../chunk-IpJEthwI.js";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
2
|
import { Tooltip as Tooltip$1 } from "radix-ui";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tooltip.d.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import"../chunk-IpJEthwI.js";import{cn as e}from"../lib/utils.js";import{Tooltip as t}from"radix-ui";import{jsx as n,jsxs as r}from"react/jsx-runtime";function TooltipProvider({delayDuration:e=0,...r}){return n(t.Provider,{"data-slot":`tooltip-provider`,delayDuration:e,...r})}function Tooltip({...e}){return n(t.Root,{"data-slot":`tooltip`,...e})}function TooltipTrigger({...e}){return n(t.Trigger,{"data-slot":`tooltip-trigger`,...e})}function TooltipContent({className:i,sideOffset:a=0,children:o,...s}){return n(t.Portal,{children:r(t.Content,{"data-slot":`tooltip-content`,sideOffset:a,className:e(`bg-foreground text-background z-50 w-fit max-w-xs rounded-md px-3 py-1.5 text-xs origin-(--radix-tooltip-content-transform-origin)`,`data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95`,`data-closed:animate-out data-closed:fade-out-0 data-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`,i),...s,children:[o,n(t.Arrow,{className:`size-2.5 rotate-45 rounded-[2px] bg-foreground fill-foreground z-50 translate-y-[calc(-50%-2px)]`})]})})}export{Tooltip,TooltipContent,TooltipProvider,TooltipTrigger};
|
|
2
2
|
//# sourceMappingURL=tooltip.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.js","names":["TooltipPrimitive"],"sources":["../../src/components/tooltip.tsx"],"sourcesContent":["import type * as React from 'react'\n\nimport { Tooltip as TooltipPrimitive } from 'radix-ui'\n\nimport { cn } from '../lib/utils'\n\nexport type TooltipProviderProps = React.ComponentProps<typeof TooltipPrimitive.Provider>\n\nexport type TooltipProps = React.ComponentProps<typeof TooltipPrimitive.Root>\n\nexport type TooltipTriggerProps = React.ComponentProps<typeof TooltipPrimitive.Trigger>\n\nexport type TooltipContentProps = React.ComponentProps<typeof TooltipPrimitive.Content>\n\nfunction TooltipProvider({ delayDuration = 0, ...props }: TooltipProviderProps) {\n return <TooltipPrimitive.Provider data-slot=\"tooltip-provider\" delayDuration={delayDuration} {...props} />\n}\n\nfunction Tooltip({ ...props }: TooltipProps) {\n return <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />\n}\n\nfunction TooltipTrigger({ ...props }: TooltipTriggerProps) {\n return <TooltipPrimitive.Trigger data-slot=\"tooltip-trigger\" {...props} />\n}\n\nfunction TooltipContent({ className, sideOffset = 0, children, ...props }: TooltipContentProps) {\n return (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n className={cn(\n 'bg-foreground text-background z-50 w-fit max-w-xs rounded-md px-3 py-1.5 text-xs origin-(--radix-tooltip-content-transform-origin)',\n 'data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95',\n 'data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95',\n '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',\n className\n )}\n {...props}\n >\n {children}\n <TooltipPrimitive.Arrow className=\"size-2.5 rotate-45 rounded-[2px] bg-foreground fill-foreground z-50 translate-y-[calc(-50%-2px)]\" />\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n )\n}\n\nexport { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger }\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"tooltip.js","names":["TooltipPrimitive"],"sources":["../../src/components/tooltip.tsx"],"sourcesContent":["import type * as React from 'react'\n\nimport { Tooltip as TooltipPrimitive } from 'radix-ui'\n\nimport { cn } from '../lib/utils'\n\nexport type TooltipProviderProps = React.ComponentProps<typeof TooltipPrimitive.Provider>\n\nexport type TooltipProps = React.ComponentProps<typeof TooltipPrimitive.Root>\n\nexport type TooltipTriggerProps = React.ComponentProps<typeof TooltipPrimitive.Trigger>\n\nexport type TooltipContentProps = React.ComponentProps<typeof TooltipPrimitive.Content>\n\nfunction TooltipProvider({ delayDuration = 0, ...props }: TooltipProviderProps) {\n return <TooltipPrimitive.Provider data-slot=\"tooltip-provider\" delayDuration={delayDuration} {...props} />\n}\n\nfunction Tooltip({ ...props }: TooltipProps) {\n return <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />\n}\n\nfunction TooltipTrigger({ ...props }: TooltipTriggerProps) {\n return <TooltipPrimitive.Trigger data-slot=\"tooltip-trigger\" {...props} />\n}\n\nfunction TooltipContent({ className, sideOffset = 0, children, ...props }: TooltipContentProps) {\n return (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n className={cn(\n 'bg-foreground text-background z-50 w-fit max-w-xs rounded-md px-3 py-1.5 text-xs origin-(--radix-tooltip-content-transform-origin)',\n 'data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95',\n 'data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95',\n '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',\n className\n )}\n {...props}\n >\n {children}\n <TooltipPrimitive.Arrow className=\"size-2.5 rotate-45 rounded-[2px] bg-foreground fill-foreground z-50 translate-y-[calc(-50%-2px)]\" />\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n )\n}\n\nexport { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger }\n"],"mappings":"uJAcA,SAAS,gBAAgB,CAAE,gBAAgB,EAAG,GAAG,GAA+B,CAC9E,OAAO,EAACA,EAAiB,SAAlB,CAA2B,YAAU,mBAAkC,gBAAe,GAAI,EAAS,CAAA,CAG5G,SAAS,QAAQ,CAAE,GAAG,GAAuB,CAC3C,OAAO,EAACA,EAAiB,KAAlB,CAAuB,YAAU,UAAU,GAAI,EAAS,CAAA,CAGjE,SAAS,eAAe,CAAE,GAAG,GAA8B,CACzD,OAAO,EAACA,EAAiB,QAAlB,CAA0B,YAAU,kBAAkB,GAAI,EAAS,CAAA,CAG5E,SAAS,eAAe,CAAE,YAAW,aAAa,EAAG,WAAU,GAAG,GAA8B,CAC9F,OACE,EAACA,EAAiB,OAAlB,CAAA,SACE,EAACA,EAAiB,QAAlB,CACE,YAAU,kBACE,aACZ,UAAW,EACT,qIACA,8KACA,yEACA,8JACA,EACD,CACD,GAAI,WAVN,CAYG,EACD,EAACA,EAAiB,MAAlB,CAAwB,UAAU,mGAAqG,CAAA,CAC9G,GACH,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../chunk-IpJEthwI.js";import*as e from"react";function useIsMobile(){let[t,n]=e.useState(void 0);return e.useEffect(()=>{let e=window.matchMedia(`(max-width: 767px)`),onChange=()=>{n(window.innerWidth<768)};return e.addEventListener(`change`,onChange),n(window.innerWidth<768),()=>e.removeEventListener(`change`,onChange)},[]),!!t}export{useIsMobile};
|
|
2
|
+
//# sourceMappingURL=use-mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-mobile.js","names":[],"sources":["../../src/hooks/use-mobile.ts"],"sourcesContent":["import * as React from 'react'\n\nconst MOBILE_BREAKPOINT = 768\n\nexport function useIsMobile() {\n const [isMobile, setIsMobile] = React.useState<boolean | undefined>(undefined)\n\n React.useEffect(() => {\n const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`)\n const onChange = () => {\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)\n }\n mql.addEventListener('change', onChange)\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)\n return () => mql.removeEventListener('change', onChange)\n }, [])\n\n return !!isMobile\n}\n"],"mappings":"qDAIA,SAAgB,aAAc,CAC5B,GAAM,CAAC,EAAU,GAAe,EAAM,SAA8B,IAAA,GAAU,CAY9E,OAVA,EAAM,cAAgB,CACpB,IAAM,EAAM,OAAO,WAAW,qBAA0C,CAClE,aAAiB,CACrB,EAAY,OAAO,WAAa,IAAkB,EAIpD,OAFA,EAAI,iBAAiB,SAAU,SAAS,CACxC,EAAY,OAAO,WAAa,IAAkB,KACrC,EAAI,oBAAoB,SAAU,SAAS,EACvD,EAAE,CAAC,CAEC,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,24 +1,58 @@
|
|
|
1
|
+
import { Accordion, AccordionContent, AccordionContentProps, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, AccordionTriggerProps } from "./components/accordion.js";
|
|
2
|
+
import { Button, ButtonProps, buttonVariants } from "./components/button.js";
|
|
3
|
+
import { AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogContentProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogFooterProps, AlertDialogHeader, AlertDialogHeaderProps, AlertDialogMedia, AlertDialogMediaProps, AlertDialogOverlay, AlertDialogOverlayProps, AlertDialogPortal, AlertDialogPortalProps, AlertDialogProps, AlertDialogTitle, AlertDialogTitleProps, AlertDialogTrigger, AlertDialogTriggerProps } from "./components/alert-dialog.js";
|
|
1
4
|
import { Alert, AlertAction, AlertActionProps, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps } from "./components/alert.js";
|
|
2
5
|
import { Avatar, AvatarBadge, AvatarBadgeProps, AvatarFallback, AvatarFallbackProps, AvatarGroup, AvatarGroupCount, AvatarGroupCountProps, AvatarGroupProps, AvatarImage, AvatarImageProps, AvatarProps } from "./components/avatar.js";
|
|
3
|
-
import {
|
|
6
|
+
import { Badge, BadgeProps, badgeVariants } from "./components/badge.js";
|
|
7
|
+
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisProps, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbLink, BreadcrumbLinkProps, BreadcrumbList, BreadcrumbListProps, BreadcrumbPage, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparator, BreadcrumbSeparatorProps } from "./components/breadcrumb.js";
|
|
8
|
+
import { Separator, SeparatorProps } from "./components/separator.js";
|
|
9
|
+
import { ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupSeparatorProps, ButtonGroupText, ButtonGroupTextProps, buttonGroupVariants } from "./components/button-group.js";
|
|
10
|
+
import { Calendar, CalendarDayButton, CalendarDayButtonProps, CalendarProps, DateRange } from "./components/calendar.js";
|
|
4
11
|
import { Card, CardAction, CardActionProps, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps } from "./components/card.js";
|
|
12
|
+
import { Carousel, CarouselApi, CarouselContent, CarouselContentProps, CarouselItem, CarouselItemProps, CarouselNext, CarouselNextProps, CarouselPrevious, CarouselPreviousProps, CarouselProps, useCarousel } from "./components/carousel.js";
|
|
13
|
+
import { Center, CenterProps, centerVariants } from "./components/center.js";
|
|
14
|
+
import { Bar, BarChart, CartesianGrid, ChartConfig, ChartContainer, ChartContainerProps, ChartLegend, ChartLegendContent, ChartLegendContentProps, ChartLegendProps, ChartStyle, ChartStyleProps, ChartTooltip, ChartTooltipContent, ChartTooltipContentProps, ChartTooltipProps, XAxis } from "./components/chart.js";
|
|
5
15
|
import { Checkbox, CheckboxProps } from "./components/checkbox.js";
|
|
16
|
+
import { Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerProps } from "./components/collapsible.js";
|
|
17
|
+
import { Combobox, ComboboxChip, ComboboxChipProps, ComboboxChips, ComboboxChipsInput, ComboboxChipsInputProps, ComboboxChipsProps, ComboboxClear, ComboboxClearProps, ComboboxCollection, ComboboxCollectionProps, ComboboxContent, ComboboxContentProps, ComboboxEmpty, ComboboxEmptyProps, ComboboxGroup, ComboboxGroupProps, ComboboxInput, ComboboxInputProps, ComboboxItem, ComboboxItemProps, ComboboxLabel, ComboboxLabelProps, ComboboxList, ComboboxListProps, ComboboxProps, ComboboxSeparator, ComboboxSeparatorProps, ComboboxTrigger, ComboboxTriggerProps, ComboboxValue, ComboboxValueProps, useComboboxAnchor } from "./components/combobox.js";
|
|
6
18
|
import { Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlay, DialogOverlayProps, DialogPortal, DialogPortalProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps } from "./components/dialog.js";
|
|
19
|
+
import { Command, CommandDialog, CommandDialogProps, CommandEmpty, CommandEmptyProps, CommandGroup, CommandGroupProps, CommandInput, CommandInputProps, CommandItem, CommandItemProps, CommandList, CommandListProps, CommandProps, CommandSeparator, CommandSeparatorProps, CommandShortcut, CommandShortcutProps } from "./components/command.js";
|
|
20
|
+
import { Container, ContainerProps, containerVariants } from "./components/container.js";
|
|
7
21
|
import { Drawer, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerOverlay, DrawerOverlayProps, DrawerPortal, DrawerPortalProps, DrawerProps, DrawerTitle, DrawerTitleProps, DrawerTrigger, DrawerTriggerProps } from "./components/drawer.js";
|
|
8
22
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuPortalProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps } from "./components/dropdown-menu.js";
|
|
9
23
|
import { Empty, EmptyContent, EmptyContentProps, EmptyDescription, EmptyDescriptionProps, EmptyHeader, EmptyHeaderProps, EmptyMedia, EmptyMediaProps, EmptyProps, EmptyTitle, EmptyTitleProps } from "./components/empty.js";
|
|
10
24
|
import { Label, LabelProps } from "./components/label.js";
|
|
11
25
|
import { Field, FieldContent, FieldContentProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorProps, FieldGroup, FieldGroupProps, FieldLabel, FieldLabelProps, FieldLegend, FieldLegendProps, FieldProps, FieldSeparator, FieldSeparatorProps, FieldSet, FieldSetProps, FieldTitle, FieldTitleProps } from "./components/field.js";
|
|
26
|
+
import { Group, GroupProps, groupVariants } from "./components/group.js";
|
|
27
|
+
import { HoverCard, HoverCardContent, HoverCardContentProps, HoverCardProps, HoverCardTrigger, HoverCardTriggerProps } from "./components/hover-card.js";
|
|
28
|
+
import { InputGroup, InputGroupAddon, InputGroupAddonProps, InputGroupButton, InputGroupButtonProps, InputGroupInput, InputGroupInputProps, InputGroupProps, InputGroupText, InputGroupTextProps, InputGroupTextarea, InputGroupTextareaProps } from "./components/input-group.js";
|
|
12
29
|
import { InputOTP, InputOTPGroup, InputOTPGroupProps, InputOTPProps, InputOTPSeparator, InputOTPSeparatorProps, InputOTPSlot, InputOTPSlotProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS } from "./components/input-otp.js";
|
|
13
30
|
import { Input, InputProps } from "./components/input.js";
|
|
14
31
|
import { Kbd, KbdGroup, KbdGroupProps, KbdProps } from "./components/kbd.js";
|
|
15
32
|
import { NativeSelect, NativeSelectOptGroup, NativeSelectOptGroupProps, NativeSelectOption, NativeSelectOptionProps, NativeSelectProps } from "./components/native-select.js";
|
|
33
|
+
import { NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuIndicator, NavigationMenuIndicatorProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuList, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, NavigationMenuViewport, NavigationMenuViewportProps, navigationMenuTriggerStyle } from "./components/navigation-menu.js";
|
|
34
|
+
import { Pagination, PaginationContent, PaginationContentProps, PaginationEllipsis, PaginationEllipsisProps, PaginationItem, PaginationItemProps, PaginationLink, PaginationLinkProps, PaginationNext, PaginationNextProps, PaginationPrevious, PaginationPreviousProps, PaginationProps } from "./components/pagination.js";
|
|
16
35
|
import { Popover, PopoverAnchor, PopoverAnchorProps, PopoverContent, PopoverContentProps, PopoverDescription, PopoverDescriptionProps, PopoverHeader, PopoverHeaderProps, PopoverProps, PopoverTitle, PopoverTitleProps, PopoverTrigger, PopoverTriggerProps } from "./components/popover.js";
|
|
36
|
+
import { Progress, ProgressProps } from "./components/progress.js";
|
|
37
|
+
import { RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps } from "./components/radio-group.js";
|
|
38
|
+
import { ResizableHandle, ResizableHandleProps, ResizablePanel, ResizablePanelGroup, ResizablePanelGroupProps, ResizablePanelProps } from "./components/resizable.js";
|
|
39
|
+
import { ScrollArea, ScrollAreaProps, ScrollBar, ScrollBarProps } from "./components/scroll-area.js";
|
|
17
40
|
import { Select, SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectScrollDownButton, SelectScrollDownButtonProps, SelectScrollUpButton, SelectScrollUpButtonProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps } from "./components/select.js";
|
|
18
|
-
import {
|
|
41
|
+
import { Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetOverlay, SheetOverlayProps, SheetPortal, SheetPortalProps, SheetProps, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps } from "./components/sheet.js";
|
|
42
|
+
import { Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipTrigger, TooltipTriggerProps } from "./components/tooltip.js";
|
|
43
|
+
import { Sidebar, SidebarContent, SidebarContentProps, SidebarFooter, SidebarFooterProps, SidebarGroup, SidebarGroupAction, SidebarGroupActionProps, SidebarGroupContent, SidebarGroupContentProps, SidebarGroupLabel, SidebarGroupLabelProps, SidebarGroupProps, SidebarHeader, SidebarHeaderProps, SidebarInput, SidebarInputProps, SidebarInset, SidebarInsetProps, SidebarMenu, SidebarMenuAction, SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuBadgeProps, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuItemProps, SidebarMenuProps, SidebarMenuSkeleton, SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarMenuSubItemProps, SidebarMenuSubProps, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarRailProps, SidebarSeparator, SidebarSeparatorProps, SidebarTrigger, SidebarTriggerProps, useSidebar } from "./components/sidebar.js";
|
|
19
44
|
import { Skeleton, SkeletonProps } from "./components/skeleton.js";
|
|
45
|
+
import { Slider, SliderProps } from "./components/slider.js";
|
|
20
46
|
import { Toaster, ToasterProps, toast } from "./components/sonner.js";
|
|
21
47
|
import { Spinner, SpinnerProps, spinnerVariants } from "./components/spinner.js";
|
|
22
|
-
import {
|
|
48
|
+
import { Stack, StackProps, stackVariants } from "./components/stack.js";
|
|
49
|
+
import { Switch, SwitchProps } from "./components/switch.js";
|
|
50
|
+
import { Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps } from "./components/table.js";
|
|
51
|
+
import { Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps, tabsListVariants } from "./components/tabs.js";
|
|
52
|
+
import { Textarea, TextareaProps } from "./components/textarea.js";
|
|
53
|
+
import { ModeToggle, ModeToggleProps, Theme, ThemeProvider, ThemeProviderProps, ThemeProviderState, useTheme } from "./components/theme.js";
|
|
54
|
+
import { Toggle, ToggleProps, toggleVariants } from "./components/toggle.js";
|
|
55
|
+
import { ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps } from "./components/toggle-group.js";
|
|
56
|
+
import { useIsMobile } from "./hooks/use-mobile.js";
|
|
23
57
|
import { cn } from "./lib/utils.js";
|
|
24
|
-
export { Alert, AlertAction, AlertActionProps, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps, Avatar, AvatarBadge, AvatarBadgeProps, AvatarFallback, AvatarFallbackProps, AvatarGroup, AvatarGroupCount, AvatarGroupCountProps, AvatarGroupProps, AvatarImage, AvatarImageProps, AvatarProps, Button, ButtonProps, Card, CardAction, CardActionProps, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, Checkbox, CheckboxProps, Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlay, DialogOverlayProps, DialogPortal, DialogPortalProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, Drawer, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerOverlay, DrawerOverlayProps, DrawerPortal, DrawerPortalProps, DrawerProps, DrawerTitle, DrawerTitleProps, DrawerTrigger, DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuPortalProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps, Empty, EmptyContent, EmptyContentProps, EmptyDescription, EmptyDescriptionProps, EmptyHeader, EmptyHeaderProps, EmptyMedia, EmptyMediaProps, EmptyProps, EmptyTitle, EmptyTitleProps, Field, FieldContent, FieldContentProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorProps, FieldGroup, FieldGroupProps, FieldLabel, FieldLabelProps, FieldLegend, FieldLegendProps, FieldProps, FieldSeparator, FieldSeparatorProps, FieldSet, FieldSetProps, FieldTitle, FieldTitleProps, Input, InputOTP, InputOTPGroup, InputOTPGroupProps, InputOTPProps, InputOTPSeparator, InputOTPSeparatorProps, InputOTPSlot, InputOTPSlotProps, InputProps, Kbd, KbdGroup, KbdGroupProps, KbdProps, Label, LabelProps, NativeSelect, NativeSelectOptGroup, NativeSelectOptGroupProps, NativeSelectOption, NativeSelectOptionProps, NativeSelectProps, Popover, PopoverAnchor, PopoverAnchorProps, PopoverContent, PopoverContentProps, PopoverDescription, PopoverDescriptionProps, PopoverHeader, PopoverHeaderProps, PopoverProps, PopoverTitle, PopoverTitleProps, PopoverTrigger, PopoverTriggerProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, Select, SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectScrollDownButton, SelectScrollDownButtonProps, SelectScrollUpButton, SelectScrollUpButtonProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps, Separator, SeparatorProps, Skeleton, SkeletonProps, Spinner, SpinnerProps, Toaster, ToasterProps, Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipTrigger, TooltipTriggerProps, buttonVariants, cn, spinnerVariants, toast };
|
|
58
|
+
export { Accordion, AccordionContent, AccordionContentProps, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, AccordionTriggerProps, Alert, AlertAction, AlertActionProps, AlertDescription, AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogContentProps, AlertDialogDescription, AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogFooterProps, AlertDialogHeader, AlertDialogHeaderProps, AlertDialogMedia, AlertDialogMediaProps, AlertDialogOverlay, AlertDialogOverlayProps, AlertDialogPortal, AlertDialogPortalProps, AlertDialogProps, AlertDialogTitle, AlertDialogTitleProps, AlertDialogTrigger, AlertDialogTriggerProps, AlertProps, AlertTitle, AlertTitleProps, Avatar, AvatarBadge, AvatarBadgeProps, AvatarFallback, AvatarFallbackProps, AvatarGroup, AvatarGroupCount, AvatarGroupCountProps, AvatarGroupProps, AvatarImage, AvatarImageProps, AvatarProps, Badge, BadgeProps, Bar, BarChart, Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisProps, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbLink, BreadcrumbLinkProps, BreadcrumbList, BreadcrumbListProps, BreadcrumbPage, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparator, BreadcrumbSeparatorProps, Button, ButtonGroup, ButtonGroupProps, ButtonGroupSeparator, ButtonGroupSeparatorProps, ButtonGroupText, ButtonGroupTextProps, ButtonProps, Calendar, CalendarDayButton, CalendarDayButtonProps, CalendarProps, Card, CardAction, CardActionProps, CardContent, CardContentProps, CardDescription, CardDescriptionProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, Carousel, CarouselApi, CarouselContent, CarouselContentProps, CarouselItem, CarouselItemProps, CarouselNext, CarouselNextProps, CarouselPrevious, CarouselPreviousProps, CarouselProps, CartesianGrid, Center, CenterProps, ChartConfig, ChartContainer, ChartContainerProps, ChartLegend, ChartLegendContent, ChartLegendContentProps, ChartLegendProps, ChartStyle, ChartStyleProps, ChartTooltip, ChartTooltipContent, ChartTooltipContentProps, ChartTooltipProps, Checkbox, CheckboxProps, Collapsible, CollapsibleContent, CollapsibleContentProps, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerProps, Combobox, ComboboxChip, ComboboxChipProps, ComboboxChips, ComboboxChipsInput, ComboboxChipsInputProps, ComboboxChipsProps, ComboboxClear, ComboboxClearProps, ComboboxCollection, ComboboxCollectionProps, ComboboxContent, ComboboxContentProps, ComboboxEmpty, ComboboxEmptyProps, ComboboxGroup, ComboboxGroupProps, ComboboxInput, ComboboxInputProps, ComboboxItem, ComboboxItemProps, ComboboxLabel, ComboboxLabelProps, ComboboxList, ComboboxListProps, ComboboxProps, ComboboxSeparator, ComboboxSeparatorProps, ComboboxTrigger, ComboboxTriggerProps, ComboboxValue, ComboboxValueProps, Command, CommandDialog, CommandDialogProps, CommandEmpty, CommandEmptyProps, CommandGroup, CommandGroupProps, CommandInput, CommandInputProps, CommandItem, CommandItemProps, CommandList, CommandListProps, CommandProps, CommandSeparator, CommandSeparatorProps, CommandShortcut, CommandShortcutProps, Container, ContainerProps, DateRange, Dialog, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogOverlay, DialogOverlayProps, DialogPortal, DialogPortalProps, DialogProps, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, Drawer, DrawerClose, DrawerCloseProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerOverlay, DrawerOverlayProps, DrawerPortal, DrawerPortalProps, DrawerProps, DrawerTitle, DrawerTitleProps, DrawerTrigger, DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuPortalProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps, Empty, EmptyContent, EmptyContentProps, EmptyDescription, EmptyDescriptionProps, EmptyHeader, EmptyHeaderProps, EmptyMedia, EmptyMediaProps, EmptyProps, EmptyTitle, EmptyTitleProps, Field, FieldContent, FieldContentProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorProps, FieldGroup, FieldGroupProps, FieldLabel, FieldLabelProps, FieldLegend, FieldLegendProps, FieldProps, FieldSeparator, FieldSeparatorProps, FieldSet, FieldSetProps, FieldTitle, FieldTitleProps, Group, GroupProps, HoverCard, HoverCardContent, HoverCardContentProps, HoverCardProps, HoverCardTrigger, HoverCardTriggerProps, Input, InputGroup, InputGroupAddon, InputGroupAddonProps, InputGroupButton, InputGroupButtonProps, InputGroupInput, InputGroupInputProps, InputGroupProps, InputGroupText, InputGroupTextProps, InputGroupTextarea, InputGroupTextareaProps, InputOTP, InputOTPGroup, InputOTPGroupProps, InputOTPProps, InputOTPSeparator, InputOTPSeparatorProps, InputOTPSlot, InputOTPSlotProps, InputProps, Kbd, KbdGroup, KbdGroupProps, KbdProps, Label, LabelProps, ModeToggle, ModeToggleProps, NativeSelect, NativeSelectOptGroup, NativeSelectOptGroupProps, NativeSelectOption, NativeSelectOptionProps, NativeSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuIndicator, NavigationMenuIndicatorProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuList, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, NavigationMenuViewport, NavigationMenuViewportProps, Pagination, PaginationContent, PaginationContentProps, PaginationEllipsis, PaginationEllipsisProps, PaginationItem, PaginationItemProps, PaginationLink, PaginationLinkProps, PaginationNext, PaginationNextProps, PaginationPrevious, PaginationPreviousProps, PaginationProps, Popover, PopoverAnchor, PopoverAnchorProps, PopoverContent, PopoverContentProps, PopoverDescription, PopoverDescriptionProps, PopoverHeader, PopoverHeaderProps, PopoverProps, PopoverTitle, PopoverTitleProps, PopoverTrigger, PopoverTriggerProps, Progress, ProgressProps, REGEXP_ONLY_CHARS, REGEXP_ONLY_DIGITS, REGEXP_ONLY_DIGITS_AND_CHARS, RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps, ResizableHandle, ResizableHandleProps, ResizablePanel, ResizablePanelGroup, ResizablePanelGroupProps, ResizablePanelProps, ScrollArea, ScrollAreaProps, ScrollBar, ScrollBarProps, Select, SelectContent, SelectContentProps, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectScrollDownButton, SelectScrollDownButtonProps, SelectScrollUpButton, SelectScrollUpButtonProps, SelectSeparator, SelectSeparatorProps, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps, Separator, SeparatorProps, Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetOverlay, SheetOverlayProps, SheetPortal, SheetPortalProps, SheetProps, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps, Sidebar, SidebarContent, SidebarContentProps, SidebarFooter, SidebarFooterProps, SidebarGroup, SidebarGroupAction, SidebarGroupActionProps, SidebarGroupContent, SidebarGroupContentProps, SidebarGroupLabel, SidebarGroupLabelProps, SidebarGroupProps, SidebarHeader, SidebarHeaderProps, SidebarInput, SidebarInputProps, SidebarInset, SidebarInsetProps, SidebarMenu, SidebarMenuAction, SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuBadgeProps, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuItemProps, SidebarMenuProps, SidebarMenuSkeleton, SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarMenuSubItemProps, SidebarMenuSubProps, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarRailProps, SidebarSeparator, SidebarSeparatorProps, SidebarTrigger, SidebarTriggerProps, Skeleton, SkeletonProps, Slider, SliderProps, Spinner, SpinnerProps, Stack, StackProps, Switch, SwitchProps, Table, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsProps, TabsTrigger, TabsTriggerProps, Textarea, TextareaProps, Theme, ThemeProvider, ThemeProviderProps, ThemeProviderState, Toaster, ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupItemProps, ToggleGroupProps, ToggleProps, Tooltip, TooltipContent, TooltipContentProps, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipTrigger, TooltipTriggerProps, XAxis, badgeVariants, buttonGroupVariants, buttonVariants, centerVariants, cn, containerVariants, groupVariants, navigationMenuTriggerStyle, spinnerVariants, stackVariants, tabsListVariants, toast, toggleVariants, useCarousel, useComboboxAnchor, useIsMobile, useSidebar, useTheme };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cn as e}from"./lib/utils.js";import{Alert as t,AlertAction as n,AlertDescription as r,AlertTitle as i}from"./components/alert.js";import{Avatar as a,AvatarBadge as o,AvatarFallback as s,AvatarGroup as c,AvatarGroupCount as l,AvatarImage as u}from"./components/avatar.js";import{Button as d,buttonVariants as f}from"./components/button.js";import{Card as p,CardAction as m,CardContent as h,CardDescription as g,CardFooter as _,CardHeader as v,CardTitle as y}from"./components/card.js";import{Checkbox as b}from"./components/checkbox.js";import{Dialog as x,DialogClose as S,DialogContent as C,DialogDescription as w,DialogFooter as T,DialogHeader as E,DialogOverlay as D,DialogPortal as O,DialogTitle as k,DialogTrigger as A}from"./components/dialog.js";import{Drawer as j,DrawerClose as M,DrawerContent as N,DrawerDescription as P,DrawerFooter as F,DrawerHeader as I,DrawerOverlay as L,DrawerPortal as R,DrawerTitle as z,DrawerTrigger as B}from"./components/drawer.js";import{DropdownMenu as V,DropdownMenuCheckboxItem as H,DropdownMenuContent as U,DropdownMenuGroup as W,DropdownMenuItem as G,DropdownMenuLabel as K,DropdownMenuPortal as q,DropdownMenuRadioGroup as J,DropdownMenuRadioItem as Y,DropdownMenuSeparator as X,DropdownMenuShortcut as Z,DropdownMenuSub as Q,DropdownMenuSubContent as $,DropdownMenuSubTrigger as ee,DropdownMenuTrigger as te}from"./components/dropdown-menu.js";import{Empty as ne,EmptyContent as re,EmptyDescription as ie,EmptyHeader as ae,EmptyMedia as oe,EmptyTitle as se}from"./components/empty.js";import{Label as ce}from"./components/label.js";import{Separator as le}from"./components/separator.js";import{Field as ue,FieldContent as de,FieldDescription as fe,FieldError as pe,FieldGroup as me,FieldLabel as he,FieldLegend as ge,FieldSeparator as _e,FieldSet as ve,FieldTitle as ye}from"./components/field.js";import{Input as be}from"./components/input.js";import{InputOTP as xe,InputOTPGroup as Se,InputOTPSeparator as Ce,InputOTPSlot as we,REGEXP_ONLY_CHARS as Te,REGEXP_ONLY_DIGITS as Ee,REGEXP_ONLY_DIGITS_AND_CHARS as De}from"./components/input-otp.js";import{Kbd as Oe,KbdGroup as ke}from"./components/kbd.js";import{NativeSelect as Ae,NativeSelectOptGroup as je,NativeSelectOption as Me}from"./components/native-select.js";import{Popover as Ne,PopoverAnchor as Pe,PopoverContent as Fe,PopoverDescription as Ie,PopoverHeader as Le,PopoverTitle as Re,PopoverTrigger as ze}from"./components/popover.js";import{Select as Be,SelectContent as Ve,SelectGroup as He,SelectItem as Ue,SelectLabel as We,SelectScrollDownButton as Ge,SelectScrollUpButton as Ke,SelectSeparator as qe,SelectTrigger as Je,SelectValue as Ye}from"./components/select.js";import{Skeleton as Xe}from"./components/skeleton.js";import{Toaster as Ze,toast as Qe}from"./components/sonner.js";import{Spinner as $e,spinnerVariants as et}from"./components/spinner.js";import{Tooltip as tt,TooltipContent as nt,TooltipProvider as rt,TooltipTrigger as it}from"./components/tooltip.js";export{t as Alert,n as AlertAction,r as AlertDescription,i as AlertTitle,a as Avatar,o as AvatarBadge,s as AvatarFallback,c as AvatarGroup,l as AvatarGroupCount,u as AvatarImage,d as Button,p as Card,m as CardAction,h as CardContent,g as CardDescription,_ as CardFooter,v as CardHeader,y as CardTitle,b as Checkbox,x as Dialog,S as DialogClose,C as DialogContent,w as DialogDescription,T as DialogFooter,E as DialogHeader,D as DialogOverlay,O as DialogPortal,k as DialogTitle,A as DialogTrigger,j as Drawer,M as DrawerClose,N as DrawerContent,P as DrawerDescription,F as DrawerFooter,I as DrawerHeader,L as DrawerOverlay,R as DrawerPortal,z as DrawerTitle,B as DrawerTrigger,V as DropdownMenu,H as DropdownMenuCheckboxItem,U as DropdownMenuContent,W as DropdownMenuGroup,G as DropdownMenuItem,K as DropdownMenuLabel,q as DropdownMenuPortal,J as DropdownMenuRadioGroup,Y as DropdownMenuRadioItem,X as DropdownMenuSeparator,Z as DropdownMenuShortcut,Q as DropdownMenuSub,$ as DropdownMenuSubContent,ee as DropdownMenuSubTrigger,te as DropdownMenuTrigger,ne as Empty,re as EmptyContent,ie as EmptyDescription,ae as EmptyHeader,oe as EmptyMedia,se as EmptyTitle,ue as Field,de as FieldContent,fe as FieldDescription,pe as FieldError,me as FieldGroup,he as FieldLabel,ge as FieldLegend,_e as FieldSeparator,ve as FieldSet,ye as FieldTitle,be as Input,xe as InputOTP,Se as InputOTPGroup,Ce as InputOTPSeparator,we as InputOTPSlot,Oe as Kbd,ke as KbdGroup,ce as Label,Ae as NativeSelect,je as NativeSelectOptGroup,Me as NativeSelectOption,Ne as Popover,Pe as PopoverAnchor,Fe as PopoverContent,Ie as PopoverDescription,Le as PopoverHeader,Re as PopoverTitle,ze as PopoverTrigger,Te as REGEXP_ONLY_CHARS,Ee as REGEXP_ONLY_DIGITS,De as REGEXP_ONLY_DIGITS_AND_CHARS,Be as Select,Ve as SelectContent,He as SelectGroup,Ue as SelectItem,We as SelectLabel,Ge as SelectScrollDownButton,Ke as SelectScrollUpButton,qe as SelectSeparator,Je as SelectTrigger,Ye as SelectValue,le as Separator,Xe as Skeleton,$e as Spinner,Ze as Toaster,tt as Tooltip,nt as TooltipContent,rt as TooltipProvider,it as TooltipTrigger,f as buttonVariants,e as cn,et as spinnerVariants,Qe as toast};
|
|
1
|
+
import{cn as e}from"./lib/utils.js";import{Accordion as t,AccordionContent as n,AccordionItem as r,AccordionTrigger as i}from"./components/accordion.js";import{Alert as a,AlertAction as o,AlertDescription as s,AlertTitle as c}from"./components/alert.js";import{Button as l,buttonVariants as u}from"./components/button.js";import{AlertDialog as d,AlertDialogAction as f,AlertDialogCancel as p,AlertDialogContent as m,AlertDialogDescription as h,AlertDialogFooter as g,AlertDialogHeader as _,AlertDialogMedia as v,AlertDialogOverlay as y,AlertDialogPortal as b,AlertDialogTitle as x,AlertDialogTrigger as S}from"./components/alert-dialog.js";import{Avatar as C,AvatarBadge as w,AvatarFallback as T,AvatarGroup as E,AvatarGroupCount as D,AvatarImage as O}from"./components/avatar.js";import{Badge as k,badgeVariants as A}from"./components/badge.js";import{Breadcrumb as j,BreadcrumbEllipsis as M,BreadcrumbItem as N,BreadcrumbLink as P,BreadcrumbList as F,BreadcrumbPage as I,BreadcrumbSeparator as L}from"./components/breadcrumb.js";import{Separator as R}from"./components/separator.js";import{ButtonGroup as z,ButtonGroupSeparator as B,ButtonGroupText as V,buttonGroupVariants as H}from"./components/button-group.js";import{Calendar as U,CalendarDayButton as W}from"./components/calendar.js";import{Card as G,CardAction as K,CardContent as q,CardDescription as J,CardFooter as Y,CardHeader as X,CardTitle as Z}from"./components/card.js";import{Carousel as Q,CarouselContent as $,CarouselItem as ee,CarouselNext as te,CarouselPrevious as ne,useCarousel as re}from"./components/carousel.js";import{Center as ie,centerVariants as ae}from"./components/center.js";import{Bar as oe,BarChart as se,CartesianGrid as ce,ChartContainer as le,ChartLegend as ue,ChartLegendContent as de,ChartStyle as fe,ChartTooltip as pe,ChartTooltipContent as me,XAxis as he}from"./components/chart.js";import{Checkbox as ge}from"./components/checkbox.js";import{Collapsible as _e,CollapsibleContent as ve,CollapsibleTrigger as ye}from"./components/collapsible.js";import{Input as be}from"./components/input.js";import{Textarea as xe}from"./components/textarea.js";import{InputGroup as Se,InputGroupAddon as Ce,InputGroupButton as we,InputGroupInput as Te,InputGroupText as Ee,InputGroupTextarea as De}from"./components/input-group.js";import{Combobox as Oe,ComboboxChip as ke,ComboboxChips as Ae,ComboboxChipsInput as je,ComboboxClear as Me,ComboboxCollection as Ne,ComboboxContent as Pe,ComboboxEmpty as Fe,ComboboxGroup as Ie,ComboboxInput as Le,ComboboxItem as Re,ComboboxLabel as ze,ComboboxList as Be,ComboboxSeparator as Ve,ComboboxTrigger as He,ComboboxValue as Ue,useComboboxAnchor as We}from"./components/combobox.js";import{Dialog as Ge,DialogClose as Ke,DialogContent as qe,DialogDescription as Je,DialogFooter as Ye,DialogHeader as Xe,DialogOverlay as Ze,DialogPortal as Qe,DialogTitle as $e,DialogTrigger as et}from"./components/dialog.js";import{Command as tt,CommandDialog as nt,CommandEmpty as rt,CommandGroup as it,CommandInput as at,CommandItem as ot,CommandList as st,CommandSeparator as ct,CommandShortcut as lt}from"./components/command.js";import{Container as ut,containerVariants as dt}from"./components/container.js";import{Drawer as ft,DrawerClose as pt,DrawerContent as mt,DrawerDescription as ht,DrawerFooter as gt,DrawerHeader as _t,DrawerOverlay as vt,DrawerPortal as yt,DrawerTitle as bt,DrawerTrigger as xt}from"./components/drawer.js";import{DropdownMenu as St,DropdownMenuCheckboxItem as Ct,DropdownMenuContent as wt,DropdownMenuGroup as Tt,DropdownMenuItem as Et,DropdownMenuLabel as Dt,DropdownMenuPortal as Ot,DropdownMenuRadioGroup as kt,DropdownMenuRadioItem as At,DropdownMenuSeparator as jt,DropdownMenuShortcut as Mt,DropdownMenuSub as Nt,DropdownMenuSubContent as Pt,DropdownMenuSubTrigger as Ft,DropdownMenuTrigger as It}from"./components/dropdown-menu.js";import{Empty as Lt,EmptyContent as Rt,EmptyDescription as zt,EmptyHeader as Bt,EmptyMedia as Vt,EmptyTitle as Ht}from"./components/empty.js";import{Label as Ut}from"./components/label.js";import{Field as Wt,FieldContent as Gt,FieldDescription as Kt,FieldError as qt,FieldGroup as Jt,FieldLabel as Yt,FieldLegend as Xt,FieldSeparator as Zt,FieldSet as Qt,FieldTitle as $t}from"./components/field.js";import{Group as en,groupVariants as tn}from"./components/group.js";import{HoverCard as nn,HoverCardContent as rn,HoverCardTrigger as an}from"./components/hover-card.js";import{InputOTP as on,InputOTPGroup as sn,InputOTPSeparator as cn,InputOTPSlot as ln,REGEXP_ONLY_CHARS as un,REGEXP_ONLY_DIGITS as dn,REGEXP_ONLY_DIGITS_AND_CHARS as fn}from"./components/input-otp.js";import{Kbd as pn,KbdGroup as mn}from"./components/kbd.js";import{NativeSelect as hn,NativeSelectOptGroup as gn,NativeSelectOption as _n}from"./components/native-select.js";import{NavigationMenu as vn,NavigationMenuContent as yn,NavigationMenuIndicator as bn,NavigationMenuItem as xn,NavigationMenuLink as Sn,NavigationMenuList as Cn,NavigationMenuTrigger as wn,NavigationMenuViewport as Tn,navigationMenuTriggerStyle as En}from"./components/navigation-menu.js";import{Pagination as Dn,PaginationContent as On,PaginationEllipsis as kn,PaginationItem as An,PaginationLink as jn,PaginationNext as Mn,PaginationPrevious as Nn}from"./components/pagination.js";import{Popover as Pn,PopoverAnchor as Fn,PopoverContent as In,PopoverDescription as Ln,PopoverHeader as Rn,PopoverTitle as zn,PopoverTrigger as Bn}from"./components/popover.js";import{Progress as Vn}from"./components/progress.js";import{RadioGroup as Hn,RadioGroupItem as Un}from"./components/radio-group.js";import{ResizableHandle as Wn,ResizablePanel as Gn,ResizablePanelGroup as Kn}from"./components/resizable.js";import{ScrollArea as qn,ScrollBar as Jn}from"./components/scroll-area.js";import{Select as Yn,SelectContent as Xn,SelectGroup as Zn,SelectItem as Qn,SelectLabel as $n,SelectScrollDownButton as er,SelectScrollUpButton as tr,SelectSeparator as nr,SelectTrigger as rr,SelectValue as ir}from"./components/select.js";import{Sheet as ar,SheetClose as or,SheetContent as sr,SheetDescription as cr,SheetFooter as lr,SheetHeader as ur,SheetOverlay as dr,SheetPortal as fr,SheetTitle as pr,SheetTrigger as mr}from"./components/sheet.js";import{useIsMobile as hr}from"./hooks/use-mobile.js";import{Skeleton as gr}from"./components/skeleton.js";import{Tooltip as _r,TooltipContent as vr,TooltipProvider as yr,TooltipTrigger as br}from"./components/tooltip.js";import{Sidebar as xr,SidebarContent as Sr,SidebarFooter as Cr,SidebarGroup as wr,SidebarGroupAction as Tr,SidebarGroupContent as Er,SidebarGroupLabel as Dr,SidebarHeader as Or,SidebarInput as kr,SidebarInset as Ar,SidebarMenu as jr,SidebarMenuAction as Mr,SidebarMenuBadge as Nr,SidebarMenuButton as Pr,SidebarMenuItem as Fr,SidebarMenuSkeleton as Ir,SidebarMenuSub as Lr,SidebarMenuSubButton as Rr,SidebarMenuSubItem as zr,SidebarProvider as Br,SidebarRail as Vr,SidebarSeparator as Hr,SidebarTrigger as Ur,useSidebar as Wr}from"./components/sidebar.js";import{Slider as Gr}from"./components/slider.js";import{Toaster as Kr,toast as qr}from"./components/sonner.js";import{Spinner as Jr,spinnerVariants as Yr}from"./components/spinner.js";import{Stack as Xr,stackVariants as Zr}from"./components/stack.js";import{Switch as Qr}from"./components/switch.js";import{Table as $r,TableBody as ei,TableCaption as ti,TableCell as ni,TableFooter as ri,TableHead as ii,TableHeader as ai,TableRow as oi}from"./components/table.js";import{Tabs as si,TabsContent as ci,TabsList as li,TabsTrigger as ui,tabsListVariants as di}from"./components/tabs.js";import{ModeToggle as fi,ThemeProvider as pi,useTheme as mi}from"./components/theme.js";import{Toggle as hi,toggleVariants as gi}from"./components/toggle.js";import{ToggleGroup as _i,ToggleGroupItem as vi}from"./components/toggle-group.js";export{t as Accordion,n as AccordionContent,r as AccordionItem,i as AccordionTrigger,a as Alert,o as AlertAction,s as AlertDescription,d as AlertDialog,f as AlertDialogAction,p as AlertDialogCancel,m as AlertDialogContent,h as AlertDialogDescription,g as AlertDialogFooter,_ as AlertDialogHeader,v as AlertDialogMedia,y as AlertDialogOverlay,b as AlertDialogPortal,x as AlertDialogTitle,S as AlertDialogTrigger,c as AlertTitle,C as Avatar,w as AvatarBadge,T as AvatarFallback,E as AvatarGroup,D as AvatarGroupCount,O as AvatarImage,k as Badge,oe as Bar,se as BarChart,j as Breadcrumb,M as BreadcrumbEllipsis,N as BreadcrumbItem,P as BreadcrumbLink,F as BreadcrumbList,I as BreadcrumbPage,L as BreadcrumbSeparator,l as Button,z as ButtonGroup,B as ButtonGroupSeparator,V as ButtonGroupText,U as Calendar,W as CalendarDayButton,G as Card,K as CardAction,q as CardContent,J as CardDescription,Y as CardFooter,X as CardHeader,Z as CardTitle,Q as Carousel,$ as CarouselContent,ee as CarouselItem,te as CarouselNext,ne as CarouselPrevious,ce as CartesianGrid,ie as Center,le as ChartContainer,ue as ChartLegend,de as ChartLegendContent,fe as ChartStyle,pe as ChartTooltip,me as ChartTooltipContent,ge as Checkbox,_e as Collapsible,ve as CollapsibleContent,ye as CollapsibleTrigger,Oe as Combobox,ke as ComboboxChip,Ae as ComboboxChips,je as ComboboxChipsInput,Me as ComboboxClear,Ne as ComboboxCollection,Pe as ComboboxContent,Fe as ComboboxEmpty,Ie as ComboboxGroup,Le as ComboboxInput,Re as ComboboxItem,ze as ComboboxLabel,Be as ComboboxList,Ve as ComboboxSeparator,He as ComboboxTrigger,Ue as ComboboxValue,tt as Command,nt as CommandDialog,rt as CommandEmpty,it as CommandGroup,at as CommandInput,ot as CommandItem,st as CommandList,ct as CommandSeparator,lt as CommandShortcut,ut as Container,Ge as Dialog,Ke as DialogClose,qe as DialogContent,Je as DialogDescription,Ye as DialogFooter,Xe as DialogHeader,Ze as DialogOverlay,Qe as DialogPortal,$e as DialogTitle,et as DialogTrigger,ft as Drawer,pt as DrawerClose,mt as DrawerContent,ht as DrawerDescription,gt as DrawerFooter,_t as DrawerHeader,vt as DrawerOverlay,yt as DrawerPortal,bt as DrawerTitle,xt as DrawerTrigger,St as DropdownMenu,Ct as DropdownMenuCheckboxItem,wt as DropdownMenuContent,Tt as DropdownMenuGroup,Et as DropdownMenuItem,Dt as DropdownMenuLabel,Ot as DropdownMenuPortal,kt as DropdownMenuRadioGroup,At as DropdownMenuRadioItem,jt as DropdownMenuSeparator,Mt as DropdownMenuShortcut,Nt as DropdownMenuSub,Pt as DropdownMenuSubContent,Ft as DropdownMenuSubTrigger,It as DropdownMenuTrigger,Lt as Empty,Rt as EmptyContent,zt as EmptyDescription,Bt as EmptyHeader,Vt as EmptyMedia,Ht as EmptyTitle,Wt as Field,Gt as FieldContent,Kt as FieldDescription,qt as FieldError,Jt as FieldGroup,Yt as FieldLabel,Xt as FieldLegend,Zt as FieldSeparator,Qt as FieldSet,$t as FieldTitle,en as Group,nn as HoverCard,rn as HoverCardContent,an as HoverCardTrigger,be as Input,Se as InputGroup,Ce as InputGroupAddon,we as InputGroupButton,Te as InputGroupInput,Ee as InputGroupText,De as InputGroupTextarea,on as InputOTP,sn as InputOTPGroup,cn as InputOTPSeparator,ln as InputOTPSlot,pn as Kbd,mn as KbdGroup,Ut as Label,fi as ModeToggle,hn as NativeSelect,gn as NativeSelectOptGroup,_n as NativeSelectOption,vn as NavigationMenu,yn as NavigationMenuContent,bn as NavigationMenuIndicator,xn as NavigationMenuItem,Sn as NavigationMenuLink,Cn as NavigationMenuList,wn as NavigationMenuTrigger,Tn as NavigationMenuViewport,Dn as Pagination,On as PaginationContent,kn as PaginationEllipsis,An as PaginationItem,jn as PaginationLink,Mn as PaginationNext,Nn as PaginationPrevious,Pn as Popover,Fn as PopoverAnchor,In as PopoverContent,Ln as PopoverDescription,Rn as PopoverHeader,zn as PopoverTitle,Bn as PopoverTrigger,Vn as Progress,un as REGEXP_ONLY_CHARS,dn as REGEXP_ONLY_DIGITS,fn as REGEXP_ONLY_DIGITS_AND_CHARS,Hn as RadioGroup,Un as RadioGroupItem,Wn as ResizableHandle,Gn as ResizablePanel,Kn as ResizablePanelGroup,qn as ScrollArea,Jn as ScrollBar,Yn as Select,Xn as SelectContent,Zn as SelectGroup,Qn as SelectItem,$n as SelectLabel,er as SelectScrollDownButton,tr as SelectScrollUpButton,nr as SelectSeparator,rr as SelectTrigger,ir as SelectValue,R as Separator,ar as Sheet,or as SheetClose,sr as SheetContent,cr as SheetDescription,lr as SheetFooter,ur as SheetHeader,dr as SheetOverlay,fr as SheetPortal,pr as SheetTitle,mr as SheetTrigger,xr as Sidebar,Sr as SidebarContent,Cr as SidebarFooter,wr as SidebarGroup,Tr as SidebarGroupAction,Er as SidebarGroupContent,Dr as SidebarGroupLabel,Or as SidebarHeader,kr as SidebarInput,Ar as SidebarInset,jr as SidebarMenu,Mr as SidebarMenuAction,Nr as SidebarMenuBadge,Pr as SidebarMenuButton,Fr as SidebarMenuItem,Ir as SidebarMenuSkeleton,Lr as SidebarMenuSub,Rr as SidebarMenuSubButton,zr as SidebarMenuSubItem,Br as SidebarProvider,Vr as SidebarRail,Hr as SidebarSeparator,Ur as SidebarTrigger,gr as Skeleton,Gr as Slider,Jr as Spinner,Xr as Stack,Qr as Switch,$r as Table,ei as TableBody,ti as TableCaption,ni as TableCell,ri as TableFooter,ii as TableHead,ai as TableHeader,oi as TableRow,si as Tabs,ci as TabsContent,li as TabsList,ui as TabsTrigger,xe as Textarea,pi as ThemeProvider,Kr as Toaster,hi as Toggle,_i as ToggleGroup,vi as ToggleGroupItem,_r as Tooltip,vr as TooltipContent,yr as TooltipProvider,br as TooltipTrigger,he as XAxis,A as badgeVariants,H as buttonGroupVariants,u as buttonVariants,ae as centerVariants,e as cn,dt as containerVariants,tn as groupVariants,En as navigationMenuTriggerStyle,Yr as spinnerVariants,Zr as stackVariants,di as tabsListVariants,qr as toast,gi as toggleVariants,re as useCarousel,We as useComboboxAnchor,hr as useIsMobile,Wr as useSidebar,mi as useTheme};
|
package/dist/lib/utils.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import"../chunk-IpJEthwI.js";import{clsx as e}from"clsx";import{twMerge as t}from"tailwind-merge";function cn(...n){return t(e(n))}export{cn};
|
|
2
2
|
//# sourceMappingURL=utils.js.map
|
package/dist/lib/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","names":[],"sources":["../../src/lib/utils.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.js","names":[],"sources":["../../src/lib/utils.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"mappings":"kGAGA,SAAgB,GAAG,GAAG,EAAsB,CAC1C,OAAO,EAAQ,EAAK,EAAO,CAAC"}
|