@storepass/components 0.0.2

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 (167) hide show
  1. package/README.md +60 -0
  2. package/dist/components/AlertDialog/AlertDialog.d.ts +66 -0
  3. package/dist/components/AlertDialog/AlertDialog.d.ts.map +1 -0
  4. package/dist/components/AlertDialog/index.d.ts +3 -0
  5. package/dist/components/AlertDialog/index.d.ts.map +1 -0
  6. package/dist/components/AlertDialog/index.js +1 -0
  7. package/dist/components/Badge/Badge.d.ts +13 -0
  8. package/dist/components/Badge/Badge.d.ts.map +1 -0
  9. package/dist/components/Badge/index.d.ts +3 -0
  10. package/dist/components/Badge/index.d.ts.map +1 -0
  11. package/dist/components/Badge/index.js +1 -0
  12. package/dist/components/Button/Button.d.ts +15 -0
  13. package/dist/components/Button/Button.d.ts.map +1 -0
  14. package/dist/components/Button/index.d.ts +2 -0
  15. package/dist/components/Button/index.d.ts.map +1 -0
  16. package/dist/components/Button/index.js +1 -0
  17. package/dist/components/ButtonGroup/ButtonGroup.d.ts +13 -0
  18. package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -0
  19. package/dist/components/ButtonGroup/index.d.ts +3 -0
  20. package/dist/components/ButtonGroup/index.d.ts.map +1 -0
  21. package/dist/components/ButtonGroup/index.js +1 -0
  22. package/dist/components/Card/Card.d.ts +59 -0
  23. package/dist/components/Card/Card.d.ts.map +1 -0
  24. package/dist/components/Card/index.d.ts +3 -0
  25. package/dist/components/Card/index.d.ts.map +1 -0
  26. package/dist/components/Card/index.js +1 -0
  27. package/dist/components/Collapsible/Collapsible.d.ts +34 -0
  28. package/dist/components/Collapsible/Collapsible.d.ts.map +1 -0
  29. package/dist/components/Collapsible/index.d.ts +3 -0
  30. package/dist/components/Collapsible/index.d.ts.map +1 -0
  31. package/dist/components/Collapsible/index.js +1 -0
  32. package/dist/components/Command/Command.d.ts +64 -0
  33. package/dist/components/Command/Command.d.ts.map +1 -0
  34. package/dist/components/Command/index.d.ts +3 -0
  35. package/dist/components/Command/index.d.ts.map +1 -0
  36. package/dist/components/Command/index.js +1 -0
  37. package/dist/components/Dialog/Dialog.d.ts +66 -0
  38. package/dist/components/Dialog/Dialog.d.ts.map +1 -0
  39. package/dist/components/Dialog/index.d.ts +3 -0
  40. package/dist/components/Dialog/index.d.ts.map +1 -0
  41. package/dist/components/Dialog/index.js +1 -0
  42. package/dist/components/DropdownMenu/DropdownMenu.d.ts +91 -0
  43. package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -0
  44. package/dist/components/DropdownMenu/index.d.ts +3 -0
  45. package/dist/components/DropdownMenu/index.d.ts.map +1 -0
  46. package/dist/components/DropdownMenu/index.js +1 -0
  47. package/dist/components/Field/Field.d.ts +45 -0
  48. package/dist/components/Field/Field.d.ts.map +1 -0
  49. package/dist/components/Field/index.d.ts +3 -0
  50. package/dist/components/Field/index.d.ts.map +1 -0
  51. package/dist/components/Field/index.js +1 -0
  52. package/dist/components/Icon/Icon.d.ts +7 -0
  53. package/dist/components/Icon/Icon.d.ts.map +1 -0
  54. package/dist/components/Icon/index.d.ts +2 -0
  55. package/dist/components/Icon/index.d.ts.map +1 -0
  56. package/dist/components/Icon/index.js +1 -0
  57. package/dist/components/ImperativeDialog/ImperativeDialog.d.ts +26 -0
  58. package/dist/components/ImperativeDialog/ImperativeDialog.d.ts.map +1 -0
  59. package/dist/components/ImperativeDialog/index.d.ts +2 -0
  60. package/dist/components/ImperativeDialog/index.d.ts.map +1 -0
  61. package/dist/components/ImperativeDialog/index.js +1 -0
  62. package/dist/components/Input/Input.d.ts +20 -0
  63. package/dist/components/Input/Input.d.ts.map +1 -0
  64. package/dist/components/Input/index.d.ts +2 -0
  65. package/dist/components/Input/index.d.ts.map +1 -0
  66. package/dist/components/Input/index.js +1 -0
  67. package/dist/components/InputGroup/InputGroup.d.ts +26 -0
  68. package/dist/components/InputGroup/InputGroup.d.ts.map +1 -0
  69. package/dist/components/InputGroup/index.d.ts +2 -0
  70. package/dist/components/InputGroup/index.d.ts.map +1 -0
  71. package/dist/components/InputGroup/index.js +1 -0
  72. package/dist/components/Item/Item.d.ts +52 -0
  73. package/dist/components/Item/Item.d.ts.map +1 -0
  74. package/dist/components/Item/index.d.ts +3 -0
  75. package/dist/components/Item/index.d.ts.map +1 -0
  76. package/dist/components/Item/index.js +1 -0
  77. package/dist/components/Kbd/Kbd.d.ts +8 -0
  78. package/dist/components/Kbd/Kbd.d.ts.map +1 -0
  79. package/dist/components/Kbd/index.d.ts +3 -0
  80. package/dist/components/Kbd/index.d.ts.map +1 -0
  81. package/dist/components/Kbd/index.js +1 -0
  82. package/dist/components/Label/Label.d.ts +4 -0
  83. package/dist/components/Label/Label.d.ts.map +1 -0
  84. package/dist/components/Label/index.d.ts +3 -0
  85. package/dist/components/Label/index.d.ts.map +1 -0
  86. package/dist/components/Label/index.js +1 -0
  87. package/dist/components/NumberField/NumberField.d.ts +18 -0
  88. package/dist/components/NumberField/NumberField.d.ts.map +1 -0
  89. package/dist/components/NumberField/index.d.ts +3 -0
  90. package/dist/components/NumberField/index.d.ts.map +1 -0
  91. package/dist/components/NumberField/index.js +1 -0
  92. package/dist/components/Pagination/Pagination.d.ts +26 -0
  93. package/dist/components/Pagination/Pagination.d.ts.map +1 -0
  94. package/dist/components/Pagination/index.d.ts +3 -0
  95. package/dist/components/Pagination/index.d.ts.map +1 -0
  96. package/dist/components/Pagination/index.js +1 -0
  97. package/dist/components/RadioGroup/RadioGroup.d.ts +23 -0
  98. package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -0
  99. package/dist/components/RadioGroup/index.d.ts +3 -0
  100. package/dist/components/RadioGroup/index.d.ts.map +1 -0
  101. package/dist/components/RadioGroup/index.js +1 -0
  102. package/dist/components/Select/Select.d.ts +30 -0
  103. package/dist/components/Select/Select.d.ts.map +1 -0
  104. package/dist/components/Select/index.d.ts +3 -0
  105. package/dist/components/Select/index.d.ts.map +1 -0
  106. package/dist/components/Select/index.js +1 -0
  107. package/dist/components/Sidebar/Sidebar.d.ts +48 -0
  108. package/dist/components/Sidebar/Sidebar.d.ts.map +1 -0
  109. package/dist/components/Sidebar/index.d.ts +3 -0
  110. package/dist/components/Sidebar/index.d.ts.map +1 -0
  111. package/dist/components/Sidebar/index.js +1 -0
  112. package/dist/components/Text/Text.d.ts +21 -0
  113. package/dist/components/Text/Text.d.ts.map +1 -0
  114. package/dist/components/Text/index.d.ts +3 -0
  115. package/dist/components/Text/index.d.ts.map +1 -0
  116. package/dist/components/Text/index.js +1 -0
  117. package/dist/components/Textarea/Textarea.d.ts +12 -0
  118. package/dist/components/Textarea/Textarea.d.ts.map +1 -0
  119. package/dist/components/Textarea/index.d.ts +3 -0
  120. package/dist/components/Textarea/index.d.ts.map +1 -0
  121. package/dist/components/Textarea/index.js +1 -0
  122. package/dist/components/Tooltip/Tooltip.d.ts +12 -0
  123. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
  124. package/dist/components/Tooltip/index.d.ts +3 -0
  125. package/dist/components/Tooltip/index.d.ts.map +1 -0
  126. package/dist/components/Tooltip/index.js +1 -0
  127. package/dist/components/index.d.ts +26 -0
  128. package/dist/components/index.d.ts.map +1 -0
  129. package/dist/index-05dfc8gc.js +1 -0
  130. package/dist/index-18g4vy31.js +1 -0
  131. package/dist/index-1yf7ndde.js +1 -0
  132. package/dist/index-4vcfr6c1.js +1 -0
  133. package/dist/index-5682pajd.js +1 -0
  134. package/dist/index-5hc3rmkd.js +2 -0
  135. package/dist/index-6t49p1dr.js +1 -0
  136. package/dist/index-75dnenyg.js +1 -0
  137. package/dist/index-b20jw979.js +2 -0
  138. package/dist/index-c6xjse86.js +1 -0
  139. package/dist/index-cg4j414r.js +1 -0
  140. package/dist/index-ctt0ekbv.js +1 -0
  141. package/dist/index-cxk963r4.js +1 -0
  142. package/dist/index-dp7zz8qq.js +1 -0
  143. package/dist/index-ekmn6r5r.js +1 -0
  144. package/dist/index-fysv3p6s.js +1 -0
  145. package/dist/index-gf3drq2q.js +1 -0
  146. package/dist/index-j0gmrg5e.js +0 -0
  147. package/dist/index-j5mxpzxd.js +1 -0
  148. package/dist/index-mkz6yp17.js +1 -0
  149. package/dist/index-nmb3js48.js +2 -0
  150. package/dist/index-p83xgc3a.js +1 -0
  151. package/dist/index-qbyq4s4v.js +1 -0
  152. package/dist/index-tgxa310c.js +1 -0
  153. package/dist/index-vjgvz4d9.js +1 -0
  154. package/dist/index-vz7tpve0.js +1 -0
  155. package/dist/index-whmf49bh.js +1 -0
  156. package/dist/index-y4pe6zqs.js +1 -0
  157. package/dist/index.d.ts +5 -0
  158. package/dist/index.d.ts.map +1 -0
  159. package/dist/index.js +1 -0
  160. package/dist/lib/useCommandMenu.d.ts +5 -0
  161. package/dist/lib/useCommandMenu.d.ts.map +1 -0
  162. package/dist/lib/useCommandMenu.js +1 -0
  163. package/dist/lib/utils.d.ts +7 -0
  164. package/dist/lib/utils.d.ts.map +1 -0
  165. package/dist/lib/utils.js +1 -0
  166. package/dist/styles.css +3051 -0
  167. package/package.json +69 -0
@@ -0,0 +1,30 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ declare const selectTriggerVariants: (props?: ({
3
+ size?: "sm" | "md" | "lg" | null | undefined;
4
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
+ declare const selectPopupVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
6
+ declare const selectItemVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
7
+ export type SelectSize = VariantProps<typeof selectTriggerVariants>["size"];
8
+ export interface SelectOption {
9
+ label: string;
10
+ value: string;
11
+ disabled?: boolean;
12
+ }
13
+ export interface SelectProps {
14
+ options: SelectOption[];
15
+ value?: string | null;
16
+ defaultValue?: string | null;
17
+ onValueChange?: (value: string | null) => void;
18
+ placeholder?: string;
19
+ label?: string;
20
+ error?: string;
21
+ disabled?: boolean;
22
+ size?: SelectSize;
23
+ className?: string;
24
+ name?: string;
25
+ /** Width of the select trigger (e.g., "200px", "100%", "20rem") */
26
+ width?: string | number;
27
+ }
28
+ export declare function Select({ options, value, defaultValue, onValueChange, placeholder, label, error, disabled, size, className, name, width, }: SelectProps): import("react/jsx-runtime").JSX.Element;
29
+ export { selectTriggerVariants, selectPopupVariants, selectItemVariants };
30
+ //# sourceMappingURL=Select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,qBAAqB;;8EAwB1B,CAAC;AAEF,QAAA,MAAM,mBAAmB,oFAUvB,CAAC;AAEH,QAAA,MAAM,kBAAkB,oFAMtB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,YAAY,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5E,MAAM,WAAW,YAAY;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC3B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB;AAED,wBAAgB,MAAM,CAAC,EACtB,OAAO,EACP,KAAK,EACL,YAAY,EACZ,aAAa,EACb,WAAgC,EAChC,KAAK,EACL,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,KAAK,GACL,EAAE,WAAW,2CAyFb;AAED,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { SelectOption, SelectProps, SelectSize } from "./Select";
2
+ export { Select, selectItemVariants, selectPopupVariants, selectTriggerVariants, } from "./Select";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtE,OAAO,EACN,MAAM,EACN,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,GACrB,MAAM,UAAU,CAAC"}
@@ -0,0 +1 @@
1
+ import{na as a,oa as b,pa as c,qa as d}from"../../index-p83xgc3a.js";import"../../index-whmf49bh.js";import"../../index-nmb3js48.js";export{a as selectTriggerVariants,b as selectPopupVariants,c as selectItemVariants,d as Select};
@@ -0,0 +1,48 @@
1
+ import { useRender } from "@base-ui/react/use-render";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ import { type ComponentPropsWithoutRef, type ReactNode } from "react";
4
+ declare const sidebarVariants: (props?: ({
5
+ variant?: "default" | "bordered" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface SidebarProps extends ComponentPropsWithoutRef<"nav">, VariantProps<typeof sidebarVariants> {
8
+ }
9
+ export declare function Sidebar({ className, variant, ...props }: SidebarProps): import("react/jsx-runtime").JSX.Element;
10
+ export interface SidebarHeaderProps extends ComponentPropsWithoutRef<"div"> {
11
+ }
12
+ export declare function SidebarHeader({ className, ...props }: SidebarHeaderProps): import("react/jsx-runtime").JSX.Element;
13
+ export interface SidebarBodyProps extends ComponentPropsWithoutRef<"div"> {
14
+ }
15
+ export declare function SidebarBody({ className, ...props }: SidebarBodyProps): import("react/jsx-runtime").JSX.Element;
16
+ export interface SidebarFooterProps extends ComponentPropsWithoutRef<"div"> {
17
+ }
18
+ export declare function SidebarFooter({ className, ...props }: SidebarFooterProps): import("react/jsx-runtime").JSX.Element;
19
+ export interface SidebarSectionProps extends ComponentPropsWithoutRef<"div"> {
20
+ }
21
+ export declare function SidebarSection({ className, ...props }: SidebarSectionProps): import("react/jsx-runtime").JSX.Element;
22
+ export interface SidebarDividerProps extends ComponentPropsWithoutRef<"hr"> {
23
+ }
24
+ export declare function SidebarDivider({ className, ...props }: SidebarDividerProps): import("react/jsx-runtime").JSX.Element;
25
+ export interface SidebarSpacerProps extends ComponentPropsWithoutRef<"div"> {
26
+ }
27
+ export declare function SidebarSpacer({ className, ...props }: SidebarSpacerProps): import("react/jsx-runtime").JSX.Element;
28
+ export interface SidebarHeadingProps extends ComponentPropsWithoutRef<"h3"> {
29
+ }
30
+ export declare function SidebarHeading({ className, ...props }: SidebarHeadingProps): import("react/jsx-runtime").JSX.Element;
31
+ declare const sidebarItemVariants: (props?: ({
32
+ current?: boolean | null | undefined;
33
+ nested?: boolean | null | undefined;
34
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
35
+ export type SidebarItemOwnProps = useRender.ComponentProps<"button"> & VariantProps<typeof sidebarItemVariants> & {
36
+ current?: boolean;
37
+ nested?: boolean;
38
+ children: ReactNode;
39
+ };
40
+ export type SidebarItemProps<C extends React.ElementType = "button"> = SidebarItemOwnProps & {
41
+ as?: C;
42
+ } & Omit<React.ComponentPropsWithoutRef<C>, keyof SidebarItemOwnProps | "as">;
43
+ export declare function SidebarItem<C extends React.ElementType = "button">({ current, nested, className, children, render, as, ...props }: SidebarItemProps<C>): import("react/jsx-runtime").JSX.Element;
44
+ export interface SidebarLabelProps extends ComponentPropsWithoutRef<"span"> {
45
+ }
46
+ export declare function SidebarLabel({ className, ...props }: SidebarLabelProps): import("react/jsx-runtime").JSX.Element;
47
+ export { sidebarVariants, sidebarItemVariants };
48
+ //# sourceMappingURL=Sidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Sidebar.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,3 @@
1
+ export type { SidebarBodyProps, SidebarDividerProps, SidebarFooterProps, SidebarHeaderProps, SidebarHeadingProps, SidebarItemProps, SidebarLabelProps, SidebarProps, SidebarSectionProps, SidebarSpacerProps, } from "./Sidebar";
2
+ export { Sidebar, SidebarBody, SidebarDivider, SidebarFooter, SidebarHeader, SidebarHeading, SidebarItem, SidebarLabel, SidebarSection, SidebarSpacer, sidebarItemVariants, sidebarVariants, } from "./Sidebar";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,GAClB,MAAM,WAAW,CAAC;AACnB,OAAO,EACN,OAAO,EACP,WAAW,EACX,cAAc,EACd,aAAa,EACb,aAAa,EACb,cAAc,EACd,WAAW,EACX,YAAY,EACZ,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,eAAe,GACf,MAAM,WAAW,CAAC"}
@@ -0,0 +1 @@
1
+ import{a,b,c,d,e,f,g,h,i,j,k,l}from"../../index-05dfc8gc.js";import"../../index-nmb3js48.js";export{a as sidebarVariants,j as sidebarItemVariants,h as SidebarSpacer,f as SidebarSection,l as SidebarLabel,k as SidebarItem,i as SidebarHeading,c as SidebarHeader,e as SidebarFooter,g as SidebarDivider,d as SidebarBody,b as Sidebar};
@@ -0,0 +1,21 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ declare const textVariants: (props?: ({
3
+ variant?: "default" | "muted" | null | undefined;
4
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
+ export interface TextProps extends React.ComponentPropsWithoutRef<"p">, VariantProps<typeof textVariants> {
6
+ }
7
+ export declare function Text({ variant, className, ...props }: TextProps): import("react/jsx-runtime").JSX.Element;
8
+ declare const textLinkVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
9
+ export interface TextLinkProps extends React.ComponentPropsWithoutRef<"a">, VariantProps<typeof textLinkVariants> {
10
+ }
11
+ export declare function TextLink({ className, ...props }: TextLinkProps): import("react/jsx-runtime").JSX.Element;
12
+ declare const strongVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
13
+ export interface StrongProps extends React.ComponentPropsWithoutRef<"strong">, VariantProps<typeof strongVariants> {
14
+ }
15
+ export declare function Strong({ className, ...props }: StrongProps): import("react/jsx-runtime").JSX.Element;
16
+ declare const codeVariants: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
17
+ export interface CodeProps extends React.ComponentPropsWithoutRef<"code">, VariantProps<typeof codeVariants> {
18
+ }
19
+ export declare function Code({ className, ...props }: CodeProps): import("react/jsx-runtime").JSX.Element;
20
+ export { textVariants, textLinkVariants, strongVariants, codeVariants };
21
+ //# sourceMappingURL=Text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,YAAY;;8EAajB,CAAC;AAEF,MAAM,WAAW,SAChB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,GAAG,CAAC,EAC1C,YAAY,CAAC,OAAO,YAAY,CAAC;CAAG;AAEtC,wBAAgB,IAAI,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAQ/D;AAED,QAAA,MAAM,gBAAgB,oFAAyD,CAAC;AAEhF,MAAM,WAAW,aAChB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,GAAG,CAAC,EAC1C,YAAY,CAAC,OAAO,gBAAgB,CAAC;CAAG;AAE1C,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,2CAQ9D;AAED,QAAA,MAAM,cAAc,oFAAmD,CAAC;AAExE,MAAM,WAAW,WAChB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAC/C,YAAY,CAAC,OAAO,cAAc,CAAC;CAAG;AAExC,wBAAgB,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAQ1D;AAED,QAAA,MAAM,YAAY,oFAEjB,CAAC;AAEF,MAAM,WAAW,SAChB,SAAQ,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAC7C,YAAY,CAAC,OAAO,YAAY,CAAC;CAAG;AAEtC,wBAAgB,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAQtD;AAED,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { CodeProps, StrongProps, TextLinkProps, TextProps } from "./Text";
2
+ export { Code, codeVariants, Strong, strongVariants, Text, TextLink, textLinkVariants, textVariants, } from "./Text";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Text/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC/E,OAAO,EACN,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,cAAc,EACd,IAAI,EACJ,QAAQ,EACR,gBAAgB,EAChB,YAAY,GACZ,MAAM,QAAQ,CAAC"}
@@ -0,0 +1 @@
1
+ import{m as a,n as b,o as c,p as d,q as e,r as f,s as g,t as h}from"../../index-5682pajd.js";import"../../index-nmb3js48.js";export{a as textVariants,c as textLinkVariants,e as strongVariants,g as codeVariants,d as TextLink,b as Text,f as Strong,h as Code};
@@ -0,0 +1,12 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ declare const textareaVariants: (props?: ({
3
+ size?: "sm" | "md" | "lg" | null | undefined;
4
+ resize?: "none" | "both" | "horizontal" | "vertical" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface TextareaProps extends Omit<React.ComponentPropsWithoutRef<"textarea">, "size">, VariantProps<typeof textareaVariants> {
7
+ label?: string;
8
+ error?: string;
9
+ }
10
+ export declare const Textarea: import("react").ForwardRefExoticComponent<TextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
11
+ export { textareaVariants };
12
+ //# sourceMappingURL=Textarea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,gBAAgB;;;8EA+BrB,CAAC;AAEF,MAAM,WAAW,aAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,EAC/D,YAAY,CAAC,OAAO,gBAAgB,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,QAAQ,+GA6CpB,CAAC;AAIF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { TextareaProps } from "./Textarea";
2
+ export { Textarea, textareaVariants } from "./Textarea";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1 @@
1
+ import{u as a,v as b}from"../../index-qbyq4s4v.js";import"../../index-nmb3js48.js";export{a as textareaVariants,b as Textarea};
@@ -0,0 +1,12 @@
1
+ import { Tooltip as BaseTooltip } from "@base-ui/react/tooltip";
2
+ declare function TooltipProvider({ delay, closeDelay, ...props }: React.ComponentProps<typeof BaseTooltip.Provider>): import("react/jsx-runtime").JSX.Element;
3
+ declare function Tooltip({ ...props }: React.ComponentProps<typeof BaseTooltip.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function TooltipTrigger({ className, ...props }: React.ComponentProps<typeof BaseTooltip.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ export interface TooltipContentProps extends Omit<React.ComponentProps<typeof BaseTooltip.Popup>, "className"> {
6
+ className?: string;
7
+ sideOffset?: number;
8
+ side?: "top" | "bottom" | "left" | "right";
9
+ }
10
+ declare function TooltipContent({ className, sideOffset, side, children, ...props }: TooltipContentProps): import("react/jsx-runtime").JSX.Element;
11
+ export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
12
+ //# sourceMappingURL=Tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAGhE,iBAAS,eAAe,CAAC,EACxB,KAAS,EACT,UAAc,EACd,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,QAAQ,CAAC,2CAInD;AAED,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,2CAM3E;AAED,iBAAS,cAAc,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,2CAElD;AAED,MAAM,WAAW,mBAChB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CAC3C;AAED,iBAAS,cAAc,CAAC,EACvB,SAAS,EACT,UAAc,EACd,IAAY,EACZ,QAAQ,EACR,GAAG,KAAK,EACR,EAAE,mBAAmB,2CAyBrB;AAoBD,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { TooltipContentProps } from "./Tooltip";
2
+ export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from "./Tooltip";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EACN,OAAO,EACP,cAAc,EACd,eAAe,EACf,cAAc,GACd,MAAM,WAAW,CAAC"}
@@ -0,0 +1 @@
1
+ import{w as a,x as b,y as c,z as d}from"../../index-1yf7ndde.js";import"../../index-nmb3js48.js";export{c as TooltipTrigger,a as TooltipProvider,d as TooltipContent,b as Tooltip};
@@ -0,0 +1,26 @@
1
+ export { AlertDialog, type AlertDialogActionsProps, type AlertDialogBackdropProps, type AlertDialogCloseProps, type AlertDialogDescriptionProps, type AlertDialogPopupProps, type AlertDialogPopupVariants, type AlertDialogPortalProps, type AlertDialogRootProps, type AlertDialogTitleProps, type AlertDialogTriggerProps, } from "./AlertDialog/index.ts";
2
+ export { Badge, type BadgeProps, badgeVariants, } from "./Badge/index.ts";
3
+ export { Button, type ButtonProps } from "./Button/index.ts";
4
+ export { ButtonGroup, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, } from "./ButtonGroup/index.ts";
5
+ export { Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, CardHeaderContent, type CardHeaderContentProps, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, } from "./Card/index.ts";
6
+ export { Collapsible, CollapsibleChevron, type CollapsibleChevronProps, CollapsibleContent, type CollapsibleContentProps, CollapsiblePanel, type CollapsiblePanelProps, CollapsibleRoot, type CollapsibleRootProps, CollapsibleTrigger, type CollapsibleTriggerProps, collapsiblePanelVariants, collapsibleTriggerVariants, } from "./Collapsible/index.ts";
7
+ export { Command, type CommandDialogProps, type CommandEmptyProps, type CommandGroupProps, type CommandInputProps, type CommandItemProps, type CommandListProps, type CommandRootProps, type CommandSeparatorProps, type CommandShortcutProps, type CommandVariants, commandEmptyVariants, commandGroupVariants, commandInputVariants, commandInputWrapperVariants, commandItemVariants, commandListVariants, commandSeparatorVariants, commandShortcutVariants, commandVariants, } from "./Command/index.ts";
8
+ export { Dialog, type DialogActionsProps, type DialogBackdropProps, type DialogCloseProps, type DialogDescriptionProps, type DialogPopupProps, type DialogPopupVariants, type DialogPortalProps, type DialogRootProps, type DialogTitleProps, type DialogTriggerProps, } from "./Dialog/index.ts";
9
+ export { DropdownMenu, type DropdownMenuContentProps, type DropdownMenuGroupProps, type DropdownMenuItemProps, type DropdownMenuLabelProps, type DropdownMenuPortalProps, type DropdownMenuRootProps, type DropdownMenuSeparatorProps, type DropdownMenuShortcutProps, type DropdownMenuSubContentProps, type DropdownMenuSubProps, type DropdownMenuSubTriggerProps, type DropdownMenuTriggerProps, dropdownMenuContentVariants, dropdownMenuItemVariants, dropdownMenuLabelVariants, dropdownMenuSeparatorVariants, dropdownMenuShortcutVariants, dropdownMenuSubContentVariants, dropdownMenuSubTriggerVariants, } from "./DropdownMenu/index.ts";
10
+ export { Field, FieldContent, type FieldContentProps, FieldDescription, type FieldDescriptionProps, FieldError, type FieldErrorProps, FieldGroup, type FieldGroupProps, FieldLabel, type FieldLabelProps, FieldLegend, type FieldLegendProps, type FieldProps, FieldSeparator, type FieldSeparatorProps, FieldSet, type FieldSetProps, FieldTitle, type FieldTitleProps, fieldVariants, } from "./Field/index.ts";
11
+ export { Icon, type IconProps } from "./Icon/index.ts";
12
+ export { ImperativeDialogProvider, type ImperativeDialogProviderProps, useAlert, useConfirm, useImperativeDialog, } from "./ImperativeDialog/index.ts";
13
+ export { Input, type InputProps } from "./Input/index.ts";
14
+ export { InputGroup, InputGroupAddon, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, InputGroupInput, type InputGroupInputProps, type InputGroupProps, InputGroupText, InputGroupTextarea, type InputGroupTextareaProps, type InputGroupTextProps, inputGroupAddonVariants, } from "./InputGroup/index.ts";
15
+ export { Item, ItemActions, type ItemActionsProps, ItemContent, type ItemContentProps, ItemDescription, type ItemDescriptionProps, ItemFooter, type ItemFooterProps, ItemGroup, type ItemGroupProps, ItemHeader, type ItemHeaderProps, ItemMedia, type ItemMediaProps, type ItemProps, ItemSeparator, type ItemSeparatorProps, ItemTitle, type ItemTitleProps, itemMediaVariants, itemVariants, } from "./Item/index.ts";
16
+ export { Kbd, KbdGroup, type KbdGroupProps, type KbdProps, } from "./Kbd/index.ts";
17
+ export { Label, type LabelProps } from "./Label/index.ts";
18
+ export { NumberField, type NumberFieldProps, numberFieldButtonVariants, numberFieldInputVariants, } from "./NumberField/index.ts";
19
+ export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, paginationContentVariants, paginationEllipsisVariants, paginationLinkVariants, paginationVariants, } from "./Pagination/index.ts";
20
+ export { RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, radioGroupVariants, radioIndicatorVariants, radioItemVariants, } from "./RadioGroup/index.ts";
21
+ export { Select, type SelectOption, type SelectProps, type SelectSize, selectItemVariants, selectPopupVariants, selectTriggerVariants, } from "./Select/index.ts";
22
+ export { Sidebar, SidebarBody, type SidebarBodyProps, SidebarDivider, type SidebarDividerProps, SidebarFooter, type SidebarFooterProps, SidebarHeader, type SidebarHeaderProps, SidebarHeading, type SidebarHeadingProps, SidebarItem, type SidebarItemProps, SidebarLabel, type SidebarLabelProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SidebarSpacer, type SidebarSpacerProps, sidebarItemVariants, sidebarVariants, } from "./Sidebar/index.ts";
23
+ export { Code, type CodeProps, codeVariants, Strong, type StrongProps, strongVariants, Text, TextLink, type TextLinkProps, type TextProps, textLinkVariants, textVariants, } from "./Text/index.ts";
24
+ export { Textarea, type TextareaProps, textareaVariants, } from "./Textarea/index.ts";
25
+ export { Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, } from "./Tooltip/index.ts";
26
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1 @@
1
+ import{Nb as r}from"./index-nmb3js48.js";import{mergeProps as m}from"@base-ui/react/merge-props";import{useRender as S}from"@base-ui/react/use-render";import{cva as d}from"class-variance-authority";import{createElement as x}from"react";import{jsx as o,jsxs as V}from"react/jsx-runtime";var s=d("flex h-full min-h-0 flex-col",{variants:{variant:{default:"",bordered:"border-r border-border"}},defaultVariants:{variant:"default"}});function P({className:e,variant:t,...a}){return o("nav",{...a,className:r(s({variant:t}),e)})}function v({className:e,...t}){return o("div",{...t,className:r("flex flex-col border-b border-border pb-2 [&>[data-slot=section]+[data-slot=section]]:mt-2.5",e)})}function g({className:e,...t}){return o("div",{...t,className:r("flex flex-1 flex-col overflow-y-auto px-2 py-3 [&>[data-slot=section]+[data-slot=section]]:mt-5",e)})}function h({className:e,...t}){return o("div",{...t,className:r("flex flex-col border-t border-border px-2 py-2.5 [&>[data-slot=section]+[data-slot=section]]:mt-2.5",e)})}function y({className:e,...t}){return o("div",{...t,"data-slot":"section",className:r("flex flex-col gap-[3px]",e)})}function R({className:e,...t}){return o("hr",{...t,className:r("-mx-2 my-3 border-t border-border",e)})}function C({className:e,...t}){return o("div",{"aria-hidden":"true",...t,className:r("mt-8 flex-1",e)})}function N({className:e,...t}){return o("h3",{...t,className:r("mb-1 px-2 text-xs/6 font-medium text-muted-foreground",e)})}var p=d(["flex w-full items-center gap-2.5 rounded-lg px-2 text-left","[&_[data-slot=icon]]:shrink-0 [&_[data-slot=icon]]:text-muted-foreground","[&_[data-slot=icon]:last-child]:ml-auto","hover:bg-accent hover:[&_[data-slot=icon]]:text-foreground","active:bg-accent active:[&_[data-slot=icon]]:text-foreground","focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50","data-[disabled]:pointer-events-none data-[disabled]:opacity-50"],{variants:{current:{true:"[&_[data-slot=icon]]:text-foreground bg-accent text-foreground",false:""},nested:{true:["py-1.5 text-sm/5 font-normal text-muted-foreground","[&_[data-slot=icon]]:size-4","[&_[data-slot=icon]:last-child]:size-3.5","hover:text-foreground"],false:["py-2.5 text-base/6 font-medium text-foreground sm:py-2 sm:text-sm/5","[&_[data-slot=icon]]:size-5 sm:[&_[data-slot=icon]]:size-[18px]","[&_[data-slot=icon]:last-child]:size-4 sm:[&_[data-slot=icon]:last-child]:size-3.5"]}},defaultVariants:{current:!1,nested:!1}});function _({current:e,nested:t,className:a,children:l,render:c,as:i,...b}){let n=c??(i?x(i):void 0),f={className:r(p({current:e??!1,nested:t??!1}),!n&&"cursor-default",a),"data-current":e?"true":void 0,children:l},u=S({defaultTagName:"button",render:n,props:m(f,b)});return V("span",{className:"relative",children:[e&&o("span",{className:"absolute inset-y-2 -left-2 w-0.5 rounded-full bg-primary"}),u]})}function I({className:e,...t}){return o("span",{...t,className:r("truncate",e)})}export{s as a,P as b,v as c,g as d,h as e,y as f,R as g,C as h,N as i,p as j,_ as k,I as l};
@@ -0,0 +1 @@
1
+ import{gb as J}from"./index-whmf49bh.js";import{Nb as z}from"./index-nmb3js48.js";import{Menu as y}from"@base-ui/react/menu";import{faChevronRight as _}from"@fortawesome/pro-solid-svg-icons";import{cva as E}from"class-variance-authority";import{jsx as q,jsxs as B}from"react/jsx-runtime";var K=E(["bg-background text-foreground","z-50 min-w-[8rem] overflow-hidden rounded-md border border-input p-1 shadow-md","origin-[var(--transform-origin)]","outline-none","transition-[transform,scale,opacity]","data-[starting-style]:opacity-0 data-[starting-style]:scale-95","data-[ending-style]:opacity-0 data-[ending-style]:scale-95"]),Q=E(["relative flex w-full cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none","data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","[&_svg:not([class*='text-'])]:text-muted-foreground"]),U=E(["px-2 py-1.5 text-sm font-semibold text-foreground"]),W=E(["-mx-1 my-1 h-px bg-border"]),X=E(["ml-auto text-xs tracking-widest text-muted-foreground"]),Y=E(["relative flex w-full cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none","data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground","data-[popup-open]:bg-accent data-[popup-open]:text-accent-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"]),Z=E(["bg-background text-foreground","z-50 min-w-[8rem] overflow-hidden rounded-md border border-input p-1 shadow-lg","origin-[var(--transform-origin)]","outline-none","transition-[transform,scale,opacity]","data-[starting-style]:opacity-0 data-[starting-style]:scale-95","data-[ending-style]:opacity-0 data-[ending-style]:scale-95"]);function $({children:D,...P}){return q(y.Root,{...P,children:D})}function L({className:D,children:P,asChild:k,...A}){return q(y.Trigger,{"data-slot":"dropdown-menu-trigger",className:z(D),render:k?P:void 0,...A,children:k?void 0:P})}function R({children:D,...P}){return q(y.Portal,{...P,children:D})}function T({className:D,children:P,side:k="bottom",align:A="start",sideOffset:F=4,alignOffset:G,...H}){return q(y.Portal,{children:q(y.Positioner,{className:"outline-none z-50",side:k,sideOffset:F,align:A,alignOffset:G,children:q(y.Popup,{"data-slot":"dropdown-menu-content",className:z(K(),D),...H,children:P})})})}function I({className:D,children:P,disabled:k,...A}){return q(y.Item,{"data-slot":"dropdown-menu-item",className:z(Q(),D),disabled:k,...A,children:P})}function S({className:D,children:P,...k}){return q("fieldset",{"data-slot":"dropdown-menu-group",className:z("border-0 p-0 m-0",D),...k,children:P})}function b({className:D,children:P,...k}){return q("div",{"data-slot":"dropdown-menu-label",className:z(U(),D),...k,children:P})}function w({className:D,...P}){return q(y.Separator,{"data-slot":"dropdown-menu-separator",className:z(W(),D),...P})}function C({className:D,children:P,...k}){return q("span",{"data-slot":"dropdown-menu-shortcut",className:z(X(),D),...k,children:P})}function V({children:D,...P}){return q(y.SubmenuRoot,{...P,children:D})}function O({className:D,children:P,...k}){return B(y.SubmenuTrigger,{"data-slot":"dropdown-menu-sub-trigger",className:z(Y(),D),...k,children:[P,q(J,{icon:_,className:"ml-auto size-4"})]})}function v({className:D,children:P,side:k,align:A,sideOffset:F=2,alignOffset:G=-4,...H}){return q(y.Portal,{children:q(y.Positioner,{className:"outline-none z-50",side:k,align:A,sideOffset:F,alignOffset:G,children:q(y.Popup,{"data-slot":"dropdown-menu-sub-content",className:z(Z(),D),...H,children:P})})})}var g={Root:$,Trigger:L,Portal:R,Content:T,Item:I,Group:S,Label:b,Separator:w,Shortcut:C,Sub:V,SubTrigger:O,SubContent:v};export{K as Pa,Q as Qa,U as Ra,W as Sa,X as Ta,Y as Ua,Z as Va,g as Wa};
@@ -0,0 +1 @@
1
+ import{Nb as i}from"./index-nmb3js48.js";import{Tooltip as e}from"@base-ui/react/tooltip";import{jsx as o,jsxs as g}from"react/jsx-runtime";function a({delay:t=0,closeDelay:r=0,...p}){return o(e.Provider,{delay:t,closeDelay:r,...p})}function s({...t}){return o(a,{children:o(e.Root,{...t})})}function d({className:t,...r}){return o(e.Trigger,{className:i(t),...r})}function f({className:t,sideOffset:r=4,side:p="top",children:n,...l}){return o(e.Portal,{children:o(e.Positioner,{sideOffset:r,side:p,children:g(e.Popup,{className:i("z-50 w-fit origin-[var(--transform-origin)] rounded-md bg-foreground px-3 py-1.5 text-xs text-white text-balance","transition-[transform,scale,opacity] data-[starting-style]:scale-90 data-[starting-style]:opacity-0 data-[ending-style]:scale-90 data-[ending-style]:opacity-0",t),...l,children:[n,o(e.Arrow,{className:i("data-[side=bottom]:top-[-8px] data-[side=left]:right-[-13px] data-[side=right]:left-[-13px] data-[side=top]:bottom-[-8px]","[&>path]:fill-foreground"),children:o(T,{})})]})})})}function T(t){return o("svg",{"aria-hidden":"true",width:"20",height:"10",viewBox:"0 0 20 10",fill:"none",...t,children:o("path",{d:"M9.66437 2.60207L4.80758 6.97318C4.07308 7.63423 3.11989 8 2.13172 8H0V10H20V8H18.5349C17.5468 8 16.5936 7.63423 15.8591 6.97318L11.0023 2.60207C10.622 2.2598 10.0447 2.25979 9.66437 2.60207Z",fill:"currentColor"})})}export{a as w,s as x,d as y,f as z};
@@ -0,0 +1 @@
1
+ import{Nb as e}from"./index-nmb3js48.js";import{jsx as n}from"react/jsx-runtime";function r({className:t,...o}){return n("kbd",{"data-slot":"kbd",className:e("bg-accent text-accent-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium select-none","[&_svg:not([class*='size-'])]:size-3","[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10",t),...o})}function d({className:t,...o}){return n("div",{"data-slot":"kbd-group",className:e("inline-flex items-center gap-1",t),...o})}export{r as T,d as U};
@@ -0,0 +1 @@
1
+ import{Nb as r}from"./index-nmb3js48.js";import{cva as o}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var a=o("text-base/6 sm:text-sm/6 [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",{variants:{variant:{default:"text-foreground",muted:"text-muted-foreground"}},defaultVariants:{variant:"default"}});function d({variant:t,className:e,...x}){return n("p",{"data-slot":"text",className:r(a({variant:t}),e),...x})}var s=o("underline underline-offset-4 hover:text-primary");function c({className:t,...e}){return n("a",{"data-slot":"text-link",className:r(s(),t),...e})}var i=o("font-medium text-zinc-950 dark:text-white");function f({className:t,...e}){return n("strong",{"data-slot":"strong",className:r(i(),t),...e})}var p=o("rounded-sm border border-zinc-950/10 bg-zinc-950/[0.025] px-0.5 text-sm font-medium text-zinc-950 sm:text-[0.8125rem] dark:border-white/20 dark:bg-white/5 dark:text-white");function m({className:t,...e}){return n("code",{"data-slot":"code",className:r(p(),t),...e})}export{a as m,d as n,s as o,c as p,i as q,f as r,p as s,m as t};
@@ -0,0 +1,2 @@
1
+ import{useEffect as u,useState as d}from"react";function c(s={}){let{shortcut:n="k"}=s,[r,t]=d(!1);return u(()=>{let o=(e)=>{if((e.metaKey||e.ctrlKey)&&e.key.toLowerCase()===n)e.preventDefault(),t((a)=>!a)};return window.addEventListener("keydown",o),()=>window.removeEventListener("keydown",o)},[n]),[r,t]}
2
+ export{c as ob};
@@ -0,0 +1 @@
1
+ import{Nb as r}from"./index-nmb3js48.js";import{AlertDialog as l}from"@base-ui/react/alert-dialog";import{cva as i}from"class-variance-authority";import{jsx as o}from"react/jsx-runtime";var s=i(["fixed inset-0 z-50 bg-black/50","data-[starting-style]:opacity-0 data-[ending-style]:opacity-0","transition-opacity duration-150"]),n=i(["fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2","w-full max-w-md rounded-xl border border-border bg-background p-6 shadow-lg","data-[starting-style]:scale-95 data-[starting-style]:opacity-0","data-[ending-style]:scale-95 data-[ending-style]:opacity-0","transition-all duration-150","focus:outline-none"],{variants:{size:{sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg"}},defaultVariants:{size:"md"}}),p=i("text-lg font-semibold text-foreground"),g=i("mt-2 text-sm text-muted-foreground"),c=i("mt-6 flex justify-end gap-3");function d({children:t,...e}){return o(l.Root,{...e,children:t})}function A({className:t,children:e,...a}){return o(l.Trigger,{className:r(t),...a,children:e})}function P({children:t,...e}){return o(l.Portal,{...e,children:t})}function m({className:t,...e}){return o(l.Backdrop,{className:r(s(),t),...e})}function u({size:t,className:e,children:a,...D}){return o(l.Popup,{"data-slot":"alert-dialog-popup",className:r(n({size:t}),e),...D,children:a})}function f({className:t,children:e,...a}){return o(l.Title,{"data-slot":"alert-dialog-title",className:r(p(),t),...a,children:e})}function R({className:t,children:e,...a}){return o(l.Description,{"data-slot":"alert-dialog-description",className:r(g(),t),...a,children:e})}function N({className:t,children:e,...a}){return o(l.Close,{className:r(t),...a,children:e})}function y({className:t,children:e,...a}){return o("div",{"data-slot":"alert-dialog-actions",className:r(c(),t),...a,children:e})}var x={Root:d,Trigger:A,Portal:P,Backdrop:m,Popup:u,Title:f,Description:R,Close:N,Actions:y};export{s as pb,n as qb,p as rb,g as sb,c as tb,x as ub};
@@ -0,0 +1 @@
1
+ import{Nb as k}from"./index-nmb3js48.js";import{Collapsible as D}from"@base-ui/react/collapsible";import{faChevronRight as S}from"@fortawesome/pro-solid-svg-icons";import{FontAwesomeIcon as T}from"@fortawesome/react-fontawesome";import{cva as E}from"class-variance-authority";import{forwardRef as G}from"react";import{jsx as b}from"react/jsx-runtime";var H=E(["flex w-full items-center gap-2.5 rounded-lg px-2 py-2.5 text-left text-base/6 font-medium text-foreground sm:py-2 sm:text-sm/5","[&_[data-slot=icon]]:shrink-0 [&_[data-slot=icon]]:text-muted-foreground","[&_[data-slot=icon]]:size-5 sm:[&_[data-slot=icon]]:size-[18px]","[&_[data-slot=icon]:last-child]:ml-auto [&_[data-slot=icon]:last-child]:size-4 sm:[&_[data-slot=icon]:last-child]:size-3.5","hover:bg-accent hover:[&_[data-slot=icon]]:text-foreground","active:bg-accent","focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50","data-[disabled]:pointer-events-none data-[disabled]:opacity-50"],{variants:{variant:{default:"",subtle:"text-muted-foreground hover:text-foreground"}},defaultVariants:{variant:"default"}}),J=E(["flex flex-col","h-[var(--collapsible-panel-height)]","transition-[height] duration-200 ease-out","data-[starting-style]:h-0","data-[ending-style]:h-0","[clip-path:inset(-4px_-10px_-4px_-10px)]"],{variants:{indent:{true:"pl-4",false:""}},defaultVariants:{indent:!0}});function K({className:P,...C}){return b(D.Root,{className:k("flex flex-col",P),...C})}var L=G(function({className:C,variant:q,...y},z){return b(D.Trigger,{ref:z,className:k(H({variant:q}),C),...y})}),M=G(function({className:C,indent:q,...y},z){return b(D.Panel,{ref:z,className:k(J({indent:q}),C),...y})});function O({className:P,...C}){return b("div",{"data-slot":"collapsible-content",className:k("flex flex-col gap-[3px] pt-[3px]",P),...C})}function Q({className:P,...C}){return b("span",{"data-slot":"icon",className:k("ml-auto inline-flex items-center justify-center transition-transform duration-200 [[data-panel-open]_&]:rotate-90",P),...C,children:b(T,{icon:S,size:"sm"})})}var U={Root:K,Trigger:L,Panel:M,Content:O,Chevron:Q};export{H as ra,J as sa,K as ta,L as ua,M as va,O as wa,Q as xa,U as ya};
@@ -0,0 +1,2 @@
1
+ import{Nb as t}from"./index-nmb3js48.js";import{Button as n}from"@base-ui/react/button";import{cva as r}from"class-variance-authority";import{jsx as d}from"react/jsx-runtime";var c=r("inline-flex items-center justify-center gap-2 whitespace-nowrap font-medium rounded-md transition-all shrink-0 focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 aria-invalid:ring-destructive/20 aria-invalid:border-destructive [&_[data-slot=icon]]:pointer-events-none [&_[data-slot=icon]]:shrink-0",{variants:{variant:{primary:"bg-primary text-white shadow hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",destructive:"bg-destructive text-white shadow hover:bg-destructive/90 focus-visible:ring-destructive/20",ghost:"hover:bg-accent hover:text-accent-foreground",success:"bg-success text-white shadow hover:bg-success/90",warning:"bg-warning text-warning-foreground shadow hover:bg-warning/90",info:"bg-info text-white shadow hover:bg-info/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{sm:"h-8 px-3 py-2 text-xs rounded-md [&_[data-slot=icon]]:size-3.5",md:"h-9 px-4 py-2 text-sm [&_[data-slot=icon]]:size-4",lg:"h-10 px-6 py-2.5 text-sm [&_[data-slot=icon]]:size-5",icon:"size-9 [&_[data-slot=icon]]:size-4 [&_[data-slot=icon]:last-child]:ml-0","icon-sm":"size-8 [&_[data-slot=icon]]:size-3.5 [&_[data-slot=icon]:last-child]:ml-0","icon-lg":"size-10 [&_[data-slot=icon]]:size-5 [&_[data-slot=icon]:last-child]:ml-0"}},compoundVariants:[{size:"sm",className:"has-[[data-slot=icon]]:gap-1.5"},{size:"md",className:"has-[[data-slot=icon]]:gap-2"},{size:"lg",className:"has-[[data-slot=icon]]:gap-2.5"}],defaultVariants:{variant:"primary",size:"md"}});function m({variant:e,size:o,children:a,className:s,...i}){return d(n,{className:t(c({variant:e,size:o}),s),...i,children:a})}
2
+ export{m as xb};
@@ -0,0 +1 @@
1
+ import{Nb as D}from"./index-nmb3js48.js";import{cva as k}from"class-variance-authority";import{jsx as T}from"react/jsx-runtime";var t=k("bg-card text-foreground flex flex-col rounded-lg border border-input/70",{variants:{padding:{none:"",sm:"p-4",md:"p-5",lg:"p-6"},shadow:{none:"",sm:"shadow-sm",md:"shadow-md",lg:"shadow-lg"},gap:{none:"",sm:"gap-3",md:"gap-5",lg:"gap-7"}},defaultVariants:{padding:"none",shadow:"none",gap:"md"}});function G({padding:C,shadow:P,gap:H,className:A,children:q,...F}){return T("div",{"data-slot":"card",className:D(t({padding:C,shadow:P,gap:H}),A),...F,children:q})}var z=k("-mt-4 -ml-4 flex flex-wrap items-center justify-between sm:flex-nowrap [.border-b]:pb-5",{variants:{padding:{none:"px-0 pt-0",sm:"px-4 pt-4",md:"px-5 pt-5",lg:"px-6 pt-6"}},defaultVariants:{padding:"md"}});function I({padding:C,className:P,children:H,...A}){return T("div",{"data-slot":"card-header",className:D(z({padding:C}),P),...A,children:H})}function J({className:C,children:P,...H}){return T("div",{"data-slot":"card-header-content",className:D("mt-4 ml-4",C),...H,children:P})}function K({className:C,children:P,...H}){return T("h3",{"data-slot":"card-title",className:D("text-base font-semibold text-foreground",C),...H,children:P})}function L({className:C,children:P,...H}){return T("p",{"data-slot":"card-description",className:D("mt-1 text-sm text-muted-foreground",C),...H,children:P})}function M({className:C,children:P,...H}){return T("div",{"data-slot":"card-action",className:D("mt-4 ml-4 shrink-0",C),...H,children:P})}var B=k("",{variants:{padding:{none:"",sm:"px-4 last:pb-4",md:"px-5 last:pb-5",lg:"px-6 last:pb-6"}},defaultVariants:{padding:"md"}});function O({padding:C,className:P,children:H,...A}){return T("div",{"data-slot":"card-content",className:D(B({padding:C}),P),...A,children:H})}var E=k("flex items-center [.border-t]:pt-5",{variants:{padding:{none:"",sm:"px-4 pb-4",md:"px-5 pb-5",lg:"px-6 pb-6"},justify:{start:"justify-start",center:"justify-center",end:"justify-end",between:"justify-between"}},defaultVariants:{padding:"md",justify:"start"}});function Q({padding:C,justify:P,className:H,children:A,...q}){return T("div",{"data-slot":"card-footer",className:D(E({padding:C,justify:P}),H),...q,children:A})}export{t as Bb,G as Cb,z as Db,I as Eb,J as Fb,K as Gb,L as Hb,M as Ib,B as Jb,O as Kb,E as Lb,Q as Mb};
@@ -0,0 +1 @@
1
+ import{Nb as o}from"./index-nmb3js48.js";import{Field as r}from"@base-ui/react/field";import{cva as f}from"class-variance-authority";import{useMemo as c}from"react";import{jsx as a,jsxs as N}from"react/jsx-runtime";var p=f("group/field flex w-full gap-3 border-0 p-0 m-0 data-[invalid]:text-destructive",{variants:{orientation:{vertical:["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],horizontal:["flex-row items-center","[&>[data-slot=field-label]]:flex-auto","has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"],responsive:["flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto","@md/field-group:[&>[data-slot=field-label]]:flex-auto","@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"]}},defaultVariants:{orientation:"vertical"}});function u({className:t,orientation:e="vertical",...l}){return a(r.Root,{"data-slot":"field","data-orientation":e,className:o(p({orientation:e}),t),render:a("fieldset",{}),...l})}function m({className:t,...e}){return a("fieldset",{"data-slot":"field-set",className:o("flex flex-col gap-6","has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",t),...e})}function g({className:t,variant:e="legend",...l}){return a("legend",{"data-slot":"field-legend","data-variant":e,className:o("mb-3 font-medium","data-[variant=legend]:text-base","data-[variant=label]:text-sm",t),...l})}function F({className:t,...e}){return a("div",{"data-slot":"field-group",className:o("group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4",t),...e})}function x({className:t,...e}){return a("div",{"data-slot":"field-content",className:o("group/field-content flex flex-1 flex-col gap-1.5 leading-snug",t),...e})}function P({className:t,...e}){return a(r.Label,{"data-slot":"field-label",className:o("flex items-center gap-2 text-sm leading-none font-medium select-none","group/field-label peer/field-label w-fit leading-snug group-data-[disabled]/field:opacity-50","has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4","has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary",t),...e})}function h({className:t,...e}){return a("div",{"data-slot":"field-label",className:o("flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled]/field:opacity-50",t),...e})}function b({className:t,...e}){return a(r.Description,{"data-slot":"field-description",className:o("text-muted-foreground text-sm leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance","last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5","[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",t),...e})}function v({children:t,className:e,...l}){return N("div",{"data-slot":"field-separator","data-content":!!t,className:o("relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2",e),...l,children:[a("div",{className:"absolute inset-0 top-1/2 h-px bg-border"}),t&&a("span",{className:"bg-white text-muted-foreground relative mx-auto block w-fit px-2","data-slot":"field-separator-content",children:t})]})}function R({className:t,children:e,errors:l,...s}){let n=c(()=>{if(e)return e;if(!l?.length)return null;let d=[...new Map(l.map((i)=>[i?.message,i])).values()];if(d?.length===1)return d[0]?.message;return a("ul",{className:"ml-4 flex list-disc flex-col gap-1",children:d.map((i)=>i?.message&&a("li",{children:i.message},i.message))})},[e,l]);if(!n&&!s.match)return null;return a(r.Error,{"data-slot":"field-error",className:o("text-destructive text-sm font-normal",t),...s,children:n})}export{p as Xa,u as Ya,m as Za,g as _a,F as $a,x as ab,P as bb,h as cb,b as db,v as eb,R as fb};
@@ -0,0 +1 @@
1
+ import{Oa as s}from"./index-dp7zz8qq.js";import{Nb as n}from"./index-nmb3js48.js";import{cva as r}from"class-variance-authority";import{Command as i}from"cmdk";import{forwardRef as d}from"react";import{jsx as m,jsxs as S}from"react/jsx-runtime";var c=r(["flex h-full w-full flex-col overflow-hidden rounded-xl bg-background text-foreground"]),l=r(["flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none","placeholder:text-muted-foreground","disabled:cursor-not-allowed disabled:opacity-50"]),u=r(["max-h-[300px] overflow-y-auto overflow-x-hidden"]),C=r(["py-6 text-center text-sm"]),f=r(["overflow-hidden p-1 text-foreground","[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5","[&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium","[&_[cmdk-group-heading]]:text-muted-foreground"]),P=r(["-mx-1 h-px bg-border"]),g=r(["relative flex cursor-default gap-2 select-none items-center rounded-md px-2 py-1.5 text-sm outline-none","data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground","data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50","[&_[data-slot=icon]]:pointer-events-none [&_[data-slot=icon]]:size-4 [&_[data-slot=icon]]:shrink-0"]),y=r(["ml-auto text-xs tracking-widest text-muted-foreground"]),h=r(["flex items-center m-1 px-3 rounded-lg border border-input bg-background shadow-xs","[&_[data-slot=icon]]:mr-2 [&_[data-slot=icon]]:size-4 [&_[data-slot=icon]]:shrink-0 [&_[data-slot=icon]]:text-muted-foreground/60"]),p=d(({className:o,children:t,...a},e)=>m(i,{ref:e,"data-slot":"command",className:n(c(),o),...a,children:t})),N=d(({className:o,wrapperClassName:t,leading:a,...e},b)=>S("div",{"data-slot":"command-input-wrapper",className:n(h(),t),children:[a,m(i.Input,{ref:b,"data-slot":"command-input",className:n(l(),o),...e})]})),x=d(({className:o,children:t,...a},e)=>m(i.List,{ref:e,"data-slot":"command-list",className:n(u(),o),...a,children:t})),R=d(({className:o,children:t,...a},e)=>m(i.Empty,{ref:e,"data-slot":"command-empty",className:n(C(),o),...a,children:t})),v=d(({className:o,children:t,...a},e)=>m(i.Group,{ref:e,"data-slot":"command-group",className:n(f(),o),...a,children:t})),I=d(({className:o,...t},a)=>m(i.Separator,{ref:a,"data-slot":"command-separator",className:n(P(),o),...t})),V=d(({className:o,children:t,...a},e)=>m(i.Item,{ref:e,"data-slot":"command-item",className:n(g(),o),...a,children:t})),E=d(({className:o,children:t,...a},e)=>m("span",{ref:e,"data-slot":"command-shortcut",className:n(y(),o),...a,children:t}));p.displayName="CommandRoot";N.displayName="CommandInput";x.displayName="CommandList";R.displayName="CommandEmpty";v.displayName="CommandGroup";I.displayName="CommandSeparator";V.displayName="CommandItem";E.displayName="CommandShortcut";function L({open:o,onOpenChange:t,children:a}){return m(s.Root,{open:o,onOpenChange:t,children:S(s.Portal,{children:[m(s.Backdrop,{}),m(s.Popup,{size:"md",className:"overflow-hidden p-0",children:m(p,{className:"[&_[data-slot=command-input-wrapper]]:h-12",children:a})})]})})}var w={Root:p,Input:N,List:x,Empty:R,Group:v,Separator:I,Item:V,Shortcut:E,Dialog:L};export{c as za,l as Aa,u as Ba,C as Ca,f as Da,P as Ea,g as Fa,y as Ga,h as Ha,w as Ia};
@@ -0,0 +1 @@
1
+ import{gb as K}from"./index-whmf49bh.js";import{Nb as D}from"./index-nmb3js48.js";import{Field as G}from"@base-ui/react/field";import{NumberField as q}from"@base-ui/react/number-field";import{faMinus as Z,faPlus as _}from"@fortawesome/pro-solid-svg-icons";import{cva as P}from"class-variance-authority";import*as Q from"react";import{jsx as k,jsxs as E}from"react/jsx-runtime";var R=P("border-t border-b border-input bg-background text-center tabular-nums transition-[color,box-shadow] focus:z-10 focus:outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",{variants:{size:{sm:"h-8 w-16 text-xs",md:"h-9 w-20 text-sm",lg:"h-10 w-24 text-base"}},defaultVariants:{size:"md"}}),L=P("flex items-center justify-center border border-input bg-accent text-foreground select-none transition-colors hover:bg-accent/80 active:bg-accent/70 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",{variants:{size:{sm:"size-8 [&_[data-slot=icon]]:size-3",md:"size-9 [&_[data-slot=icon]]:size-3.5",lg:"size-10 [&_[data-slot=icon]]:size-4"}},defaultVariants:{size:"md"}});function $({size:y,className:T,label:H,error:O,scrubArea:U=!1,id:W,...X}){let Y=Q.useId(),J=W||Y;return E(G.Root,{invalid:O?!0:void 0,className:"flex flex-col gap-1",children:[E(q.Root,{id:J,className:D("flex flex-col items-start gap-1",T),...X,children:[H&&(U?E(q.ScrubArea,{className:"cursor-ew-resize",children:[k(G.Label,{htmlFor:J,className:"cursor-ew-resize text-sm font-medium text-foreground",children:H}),k(q.ScrubAreaCursor,{className:"drop-shadow-[0_1px_1px_#0008] filter",children:k(f,{})})]}):k(G.Label,{htmlFor:J,className:"text-sm font-medium text-foreground",children:H})),E(q.Group,{className:"flex",children:[k(q.Decrement,{className:D(L({size:y}),"rounded-l-md border-r-0"),children:k(K,{icon:Z,"data-slot":"icon"})}),k(q.Input,{className:D(R({size:y}))}),k(q.Increment,{className:D(L({size:y}),"rounded-r-md border-l-0"),children:k(K,{icon:_,"data-slot":"icon"})})]})]}),k(G.Error,{className:"text-sm text-destructive",children:O})]})}function f(y){return E("svg",{width:"26",height:"14",viewBox:"0 0 24 14",fill:"black",stroke:"white",xmlns:"http://www.w3.org/2000/svg",...y,children:[k("title",{children:"Scrub cursor"}),k("path",{d:"M19.5 5.5L6.49737 5.51844V2L1 6.9999L6.5 12L6.49737 8.5L19.5 8.5V12L25 6.9999L19.5 2V5.5Z"})]})}export{R as W,L as X,$ as Y};
@@ -0,0 +1 @@
1
+ import{Nb as i}from"./index-nmb3js48.js";import{Dialog as r}from"@base-ui/react/dialog";import{cva as s}from"class-variance-authority";import{jsx as e}from"react/jsx-runtime";var l=s(["fixed inset-0 z-50 bg-black/50","data-[starting-style]:opacity-0 data-[ending-style]:opacity-0","transition-opacity duration-150"]),n=s(["fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2","w-full rounded-xl border border-border bg-background p-6 shadow-lg","data-[starting-style]:scale-95 data-[starting-style]:opacity-0","data-[ending-style]:scale-95 data-[ending-style]:opacity-0","transition-all duration-150","focus:outline-none"],{variants:{size:{sm:"max-w-sm",md:"max-w-md",lg:"max-w-lg",xl:"max-w-xl",full:"max-w-[calc(100vw-3rem)]"}},defaultVariants:{size:"md"}}),p=s("text-lg font-semibold text-foreground"),g=s("mt-2 text-sm text-muted-foreground"),c=s("mt-6 flex justify-end gap-3");function D({children:o,...a}){return e(r.Root,{...a,children:o})}function m({className:o,children:a,...t}){return e(r.Trigger,{className:i(o),...t,children:a})}function P({children:o,...a}){return e(r.Portal,{...a,children:o})}function u({className:o,...a}){return e(r.Backdrop,{className:i(l(),o),...a})}function f({size:o,className:a,children:t,...d}){return e(r.Popup,{"data-slot":"dialog-popup",className:i(n({size:o}),a),...d,children:t})}function R({className:o,children:a,...t}){return e(r.Title,{"data-slot":"dialog-title",className:i(p(),o),...t,children:a})}function x({className:o,children:a,...t}){return e(r.Description,{"data-slot":"dialog-description",className:i(g(),o),...t,children:a})}function N({className:o,children:a,...t}){return e(r.Close,{className:i(o),...t,children:a})}function y({className:o,children:a,...t}){return e("div",{"data-slot":"dialog-actions",className:i(c(),o),...t,children:a})}var B={Root:D,Trigger:m,Portal:P,Backdrop:u,Popup:f,Title:R,Description:x,Close:N,Actions:y};export{l as Ja,n as Ka,p as La,g as Ma,c as Na,B as Oa};
@@ -0,0 +1 @@
1
+ import{Nb as r}from"./index-nmb3js48.js";import{mergeProps as l}from"@base-ui/react/merge-props";import{useRender as c}from"@base-ui/react/use-render";import{cva as i}from"class-variance-authority";import{createElement as f}from"react";import{jsx as o}from"react/jsx-runtime";function u({className:t,...e}){return o("div",{"data-slot":"item-group",className:r("group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2",t),...e})}function x({className:t,...e}){return o("hr",{"data-slot":"item-separator",className:r("my-2 border-t border-border",t),...e})}var n=i(["rounded-lg border text-sm w-full group/item flex items-center flex-wrap outline-none transition-colors duration-100","[a]:hover:bg-accent [a]:transition-colors","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]"],{variants:{variant:{default:"border-transparent",outline:"border-border",muted:"bg-accent/50 border-transparent text-accent-foreground"},size:{default:"gap-2.5 px-3 py-2.5",sm:"gap-2.5 px-3 py-2.5",xs:"gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0"}},defaultVariants:{variant:"default",size:"default"}});function I({className:t,variant:e="default",size:a="default",render:p,as:s,...d}){return c({defaultTagName:"div",props:l({className:r(n({variant:e,size:a,className:t}))},d),render:p??(s?f(s):void 0),state:{slot:"item",variant:e,size:a}})}var m=i("gap-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none",{variants:{variant:{default:"bg-transparent",icon:"[&_svg:not([class*='size-'])]:size-4",image:"size-10 overflow-hidden rounded-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover"}},defaultVariants:{variant:"default"}});function g({className:t,variant:e="default",...a}){return o("div",{"data-slot":"item-media","data-variant":e,className:r(m({variant:e,className:t})),...a})}function P({className:t,...e}){return o("div",{"data-slot":"item-content",className:r("flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",t),...e})}function v({className:t,...e}){return o("div",{"data-slot":"item-title",className:r("flex w-fit items-center gap-2 text-sm font-medium leading-snug underline-offset-4 line-clamp-1",t),...e})}function N({className:t,...e}){return o("p",{"data-slot":"item-description",className:r("text-muted-foreground text-left text-sm font-normal leading-normal line-clamp-2 group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",t),...e})}function R({className:t,...e}){return o("div",{"data-slot":"item-actions",className:r("flex items-center gap-2",t),...e})}function C({className:t,...e}){return o("div",{"data-slot":"item-header",className:r("flex basis-full items-center justify-between gap-2",t),...e})}function b({className:t,...e}){return o("div",{"data-slot":"item-footer",className:r("flex basis-full items-center justify-between gap-2",t),...e})}export{u as H,x as I,n as J,I as K,m as L,g as M,P as N,v as O,N as P,R as Q,C as R,b as S};
@@ -0,0 +1 @@
1
+ import{xb as M}from"./index-b20jw979.js";import{Nb as H}from"./index-nmb3js48.js";import{Field as X}from"@base-ui/react/field";import{cva as Y}from"class-variance-authority";import{forwardRef as O}from"react";import{jsx as D}from"react/jsx-runtime";function Z({className:q,...P}){return D("div",{"data-slot":"input-group",role:"group",className:H("border-input bg-background shadow-xs dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-disabled:bg-input/50 dark:has-disabled:bg-input/80 h-9 rounded border transition-[color,box-shadow] in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>[data-slot=input-group-control]]:pt-3 has-[>[data-align=block-start]]:[&>[data-slot=input-group-control]]:pb-3 has-[>[data-align=inline-end]]:[&>[data-slot=input-group-control]]:pr-1.5 has-[>[data-align=inline-start]]:[&>[data-slot=input-group-control]]:pl-1.5 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto",q),...P})}var Q=Y("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none",{variants:{align:{"inline-start":"pl-2 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem] order-first","inline-end":"pr-2 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem] order-last","block-start":"px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start","block-end":"px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start"}},defaultVariants:{align:"inline-start"}});function _({className:q,align:P="inline-start",...A}){return D("div",{role:"group","data-slot":"input-group-addon","data-align":P,className:H(Q({align:P}),q),onClick:(J)=>{if(J.target.closest("button"))return;let L=J.currentTarget.parentElement;(L?.querySelector("input")??L?.querySelector("textarea"))?.focus()},...A})}function $({className:q,type:P="button",variant:A="ghost",size:J="sm",...L}){return D(M,{type:P,variant:A,size:J,className:H("shadow-none",q),...L})}function y({className:q,...P}){return D("span",{className:H("text-muted-foreground gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",q),...P})}var S=O(({className:q,...P},A)=>{return D(X.Control,{ref:A,"data-slot":"input-group-control",render:D("input",{}),className:H("placeholder:text-muted-foreground/60 selection:bg-primary selection:text-primary-foreground","w-full min-w-0 bg-transparent px-3 text-base outline-none md:text-sm","rounded-none border-0 shadow-none ring-0 focus-visible:ring-0","disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1",q),...P})});S.displayName="InputGroupInput";var U=O(({className:q,...P},A)=>{return D("textarea",{ref:A,"data-slot":"input-group-control",className:H("placeholder:text-muted-foreground/60 selection:bg-primary selection:text-primary-foreground","w-full min-w-0 bg-transparent px-3 py-2 text-base outline-none md:text-sm","rounded-none border-0 shadow-none ring-0 focus-visible:ring-0","disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 resize-none",q),...P})});U.displayName="InputGroupTextarea";export{Z as A,Q as B,_ as C,$ as D,y as E,S as F,U as G};
@@ -0,0 +1 @@
1
+ import{Nb as e}from"./index-nmb3js48.js";import{jsx as l}from"react/jsx-runtime";function a({className:o,...t}){return l("label",{"data-slot":"label",className:e("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",o),...t})}export{a as V};
File without changes
@@ -0,0 +1 @@
1
+ import{gb as F}from"./index-whmf49bh.js";import{xb as D}from"./index-b20jw979.js";import{Nb as y}from"./index-nmb3js48.js";import{faChevronLeft as S,faChevronRight as T,faEllipsis as U}from"@fortawesome/pro-solid-svg-icons";import{cva as G}from"class-variance-authority";import{jsx as q,jsxs as H}from"react/jsx-runtime";var J=G("mx-auto flex w-full justify-center"),K=G("flex items-center gap-0.5"),M=G("",{variants:{isActive:{true:"",false:""}},defaultVariants:{isActive:!1}}),O=G("flex size-9 items-center justify-center");function W({className:k,...P}){return q("nav",{"aria-label":"pagination","data-slot":"pagination",className:y(J(),k),...P})}function X({className:k,...P}){return q("ul",{"data-slot":"pagination-content",className:y(K(),k),...P})}function Y({...k}){return q("li",{"data-slot":"pagination-item",...k})}function Z({className:k,isActive:P,children:z,...Q}){return q(D,{variant:P?"outline":"ghost",size:"icon",className:y(M({isActive:P}),k),nativeButton:!1,render:q("a",{"aria-current":P?"page":void 0,"data-slot":"pagination-link","data-active":P,...Q}),children:z})}function _({className:k,text:P="Previous",...z}){return H(D,{variant:"ghost",size:"md",className:y("pl-1.5",k),nativeButton:!1,render:q("a",{"aria-label":"Go to previous page","data-slot":"pagination-link",...z}),children:[q(F,{icon:S,"data-slot":"icon",className:"rtl:rotate-180"}),q("span",{className:"hidden sm:block",children:P})]})}function $({className:k,text:P="Next",...z}){return H(D,{variant:"ghost",size:"md",className:y("pr-1.5",k),nativeButton:!1,render:q("a",{"aria-label":"Go to next page","data-slot":"pagination-link",...z}),children:[q("span",{className:"hidden sm:block",children:P}),q(F,{icon:T,"data-slot":"icon",className:"rtl:rotate-180"})]})}function b({className:k,...P}){return H("span",{"aria-hidden":!0,"data-slot":"pagination-ellipsis",className:y(O(),k),...P,children:[q(F,{icon:U,"data-slot":"icon"}),q("span",{className:"sr-only",children:"More pages"})]})}export{J as Z,K as _,M as $,O as aa,W as ba,X as ca,Y as da,Z as ea,_ as fa,$ as ga,b as ha};
@@ -0,0 +1 @@
1
+ import{Nb as o}from"./index-nmb3js48.js";import{Radio as s}from"@base-ui/react/radio";import{RadioGroup as c}from"@base-ui/react/radio-group";import{cva as e}from"class-variance-authority";import{jsx as r}from"react/jsx-runtime";var d=e("grid gap-3",{variants:{orientation:{vertical:"grid-flow-row",horizontal:"grid-flow-col auto-cols-max"}},defaultVariants:{orientation:"vertical"}}),n=e(["aspect-square shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none","border-input bg-transparent","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","data-[disabled]:pointer-events-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50","data-[invalid]:ring-destructive/20 data-[invalid]:border-destructive","data-[checked]:border-primary data-[checked]:bg-primary"],{variants:{size:{sm:"size-3.5",md:"size-4",lg:"size-5"}},defaultVariants:{size:"md"}}),p=e("relative flex size-full items-center justify-center",{variants:{size:{sm:"",md:"",lg:""}},defaultVariants:{size:"md"}});function m({orientation:a,className:t,...i}){return r(c,{"data-slot":"radio-group",className:o(d({orientation:a}),t),...i})}function u({size:a,className:t,...i}){let l={sm:"size-1.5",md:"size-2",lg:"size-2.5"}[a||"md"];return r(s.Root,{"data-slot":"radio-group-item",className:o(n({size:a}),t),...i,children:r(s.Indicator,{"data-slot":"radio-group-indicator",className:o(p({size:a})),children:r("span",{className:o("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-foreground",l)})})})}export{d as ia,n as ja,p as ka,m as la,u as ma};
@@ -0,0 +1,2 @@
1
+ import{cx as o}from"class-variance-authority";import{twMerge as e}from"tailwind-merge";function n(...t){return e(o(t))}
2
+ export{n as Nb};
@@ -0,0 +1 @@
1
+ import{gb as G}from"./index-whmf49bh.js";import{Nb as J}from"./index-nmb3js48.js";import{Select as A}from"@base-ui/react/select";import{faCheck as f,faChevronDown as X,faChevronUp as C}from"@fortawesome/pro-solid-svg-icons";import{cva as L}from"class-variance-authority";import{jsx as q,jsxs as F}from"react/jsx-runtime";var Y=L(["flex w-full items-center justify-between gap-2 rounded border border-input bg-background px-3 py-2 text-sm whitespace-nowrap shadow-xs","text-foreground","transition-[color,box-shadow] outline-none select-none cursor-default","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","data-[popup-open]:border-ring data-[popup-open]:ring-ring/50 data-[popup-open]:ring-[3px]","data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50","data-[placeholder]:text-muted-foreground","[&_svg:not([class*='text-'])]:text-muted-foreground","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"],{variants:{size:{sm:"h-8 px-3 text-xs",md:"h-9 px-3 text-sm",lg:"h-10 px-3.5 text-sm"}},defaultVariants:{size:"md"}}),Z=L(["bg-background text-foreground","relative z-50 max-h-[var(--available-height)] min-w-[var(--anchor-width)] overflow-x-hidden overflow-y-auto rounded border border-input shadow-md","origin-[var(--transform-origin)]","outline-none","transition-[transform,scale,opacity]","data-[starting-style]:opacity-0","data-[ending-style]:opacity-0","data-[side=bottom]:data-[starting-style]:scale-95 data-[side=top]:data-[starting-style]:scale-95","data-[side=bottom]:data-[ending-style]:scale-95 data-[side=top]:data-[ending-style]:scale-95"]),_=L(["relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none","data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground","[&_svg:not([class*='text-'])]:text-muted-foreground","data-[disabled]:pointer-events-none data-[disabled]:opacity-50","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"]);function m({options:M,value:$,defaultValue:k,onValueChange:y,placeholder:z="Select an option",label:K,error:P,disabled:O,size:T,className:U,name:Q,width:H}){let R=Q||K?.toLowerCase().replace(/\s+/g,"-"),D=H?{width:typeof H==="number"?`${H}px`:H}:void 0;return F("div",{className:"flex flex-col gap-1",style:D,children:[K&&q("label",{htmlFor:R,className:"text-sm font-medium text-foreground",children:K}),F(A.Root,{name:Q,value:$,defaultValue:k,onValueChange:y,disabled:O,children:[F(A.Trigger,{id:R,"data-slot":"select-trigger",className:J(Y({size:T}),U),children:[q(A.Value,{"data-slot":"select-value",className:"line-clamp-1 flex items-center gap-2",children:(E)=>{let W=M.find((N)=>N.value===E);return W?W.label:z}}),q(A.Icon,{className:"flex opacity-50",children:q(G,{icon:X})})]}),q(A.Portal,{children:q(A.Positioner,{className:"z-50 outline-none",children:F(A.Popup,{"data-slot":"select-content",className:J(Z()),children:[q(A.ScrollUpArrow,{"data-slot":"select-scroll-up-button",className:"flex cursor-default items-center justify-center py-1",children:q(G,{icon:C,className:"size-4"})}),q(A.List,{className:"p-1 max-h-[var(--available-height)] overflow-y-auto scroll-my-1",children:M.map((E)=>F(A.Item,{value:E.value,disabled:E.disabled,"data-slot":"select-item",className:J(_()),children:[q("span",{"data-slot":"select-item-indicator",className:"absolute right-2 flex size-3.5 items-center justify-center",children:q(A.ItemIndicator,{children:q(G,{icon:f,className:"size-4"})})}),q(A.ItemText,{children:E.label})]},E.value))}),q(A.ScrollDownArrow,{"data-slot":"select-scroll-down-button",className:"flex cursor-default items-center justify-center py-1",children:q(G,{icon:X,className:"size-4"})})]})})})]}),P&&q("span",{className:"text-sm text-destructive",children:P})]})}export{Y as na,Z as oa,_ as pa,m as qa};
@@ -0,0 +1 @@
1
+ import{Nb as s}from"./index-nmb3js48.js";import{Field as t}from"@base-ui/react/field";import{cva as v}from"class-variance-authority";import{forwardRef as g}from"react";import{jsx as r,jsxs as y}from"react/jsx-runtime";var n=v(["placeholder:text-muted-foreground/60 selection:bg-primary selection:text-primary-foreground","w-full min-w-0 rounded border border-input bg-background shadow-xs","text-base outline-none md:text-sm","transition-[color,box-shadow]","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","data-[invalid]:ring-destructive/20 data-[invalid]:border-destructive","data-[disabled]:pointer-events-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50","aria-invalid:ring-destructive/20 aria-invalid:border-destructive","disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50"],{variants:{size:{sm:"px-2.5 py-1.5 text-xs min-h-[60px]",md:"px-3 py-2 text-sm min-h-[80px]",lg:"px-3.5 py-2.5 text-base md:text-sm min-h-[120px]"},resize:{none:"resize-none",vertical:"resize-y",horizontal:"resize-x",both:"resize"}},defaultVariants:{size:"md",resize:"vertical"}}),d=g(({label:e,error:a,className:l,id:p,value:i,defaultValue:x,size:m,resize:c,...u},f)=>{let o=p||e?.toLowerCase().replace(/\s+/g,"-"),b=i!==void 0?{value:i}:{defaultValue:x??""};return y(t.Root,{invalid:a?!0:void 0,className:"flex flex-col gap-1",children:[e&&r(t.Label,{htmlFor:o,className:"text-sm font-medium text-foreground",children:e}),r("textarea",{ref:f,id:o,"data-slot":"textarea",className:s(n({size:m,resize:c}),l),...b,...u}),r(t.Error,{className:"text-sm text-destructive",children:a})]})});d.displayName="Textarea";export{n as u,d as v};
@@ -0,0 +1 @@
1
+ import{Nb as K}from"./index-nmb3js48.js";import{Field as J}from"@base-ui/react/field";import{Input as N}from"@base-ui/react/input";import{cva as T}from"class-variance-authority";import{forwardRef as R}from"react";import{jsx as k,jsxs as S}from"react/jsx-runtime";var U=T("file:text-foreground placeholder:text-muted-foreground/60 selection:bg-primary selection:text-primary-foreground w-full min-w-0 bg-background text-base outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium md:text-sm",{variants:{size:{sm:"h-8 py-1.5 text-xs",md:"h-9 py-1",lg:"h-10 py-2 text-base md:text-sm"}},defaultVariants:{size:"md"}}),X=T("border-input flex w-full items-center rounded border bg-background shadow-xs transition-[color,box-shadow]",{variants:{size:{sm:"h-8 [&_[data-slot=icon]]:size-3 text-xs",md:"h-9 [&_[data-slot=icon]]:size-3.5 text-sm",lg:"h-10 [&_[data-slot=icon]]:size-4 text-base md:text-sm"}},defaultVariants:{size:"md"}}),Y=R(({label:D,error:L,leading:q,trailing:y,addonBefore:G,addonAfter:H,className:Z,id:_,value:M,defaultValue:$,size:O,...w},W)=>{let P=_||D?.toLowerCase().replace(/\s+/g,"-"),C=q||y||G||H,I=M!==void 0?{value:M}:{defaultValue:$??""},Q=k(N,{ref:W,id:P,"data-slot":"input",className:K(U({size:O}),C?q?"pl-2":"pl-3":"px-3",C?y?"pr-2":"pr-3":void 0,!C&&["rounded border border-input shadow-xs transition-[color,box-shadow]","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","data-[invalid]:ring-destructive/20 data-[invalid]:border-destructive","data-[disabled]:pointer-events-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50"],Z),...I,...w});return S(J.Root,{invalid:L?!0:void 0,className:"flex flex-col gap-1",children:[D&&k(J.Label,{htmlFor:P,className:"text-sm font-medium text-foreground",children:D}),C?S("div",{className:K(X({size:O}),"overflow-hidden","has-[input:focus-visible]:border-ring has-[input:focus-visible]:ring-ring/50 has-[input:focus-visible]:ring-[3px]","has-[[data-disabled]]:pointer-events-none has-[[data-disabled]]:cursor-not-allowed has-[[data-disabled]]:opacity-50","has-[[data-invalid]]:ring-destructive/20 has-[[data-invalid]]:border-destructive","[&_[data-slot=icon]]:shrink-0 [&_[data-slot=icon]]:text-muted-foreground/60"),children:[G&&k("span",{className:"flex items-center self-stretch border-r border-input bg-muted px-3 text-muted-foreground",children:G}),q&&k("span",{className:"flex items-center pl-3",children:q}),Q,y&&k("span",{className:"flex items-center pr-3",children:y}),H&&k("span",{className:"flex items-center self-stretch border-l border-input bg-muted px-3 text-muted-foreground",children:H})]}):Q,k(J.Error,{className:"text-sm text-destructive",children:L})]})});Y.displayName="Input";export{U as lb,X as mb,Y as nb};
@@ -0,0 +1 @@
1
+ import{Nb as u}from"./index-nmb3js48.js";import{cva as S}from"class-variance-authority";import{jsx as f}from"react/jsx-runtime";var k={horizontal:["flex-row","[&>*:not(:first-child)]:-ml-px","[&>*:first-child]:rounded-r-none","[&>*:last-child]:rounded-l-none","[&>*:not(:first-child):not(:last-child)]:rounded-none","[&>[data-slot=button-group]]:ml-0","[&>[data-slot=button-group]:not(:first-child)]:ml-2","[&>[data-slot=button-group]]:rounded-md"].join(" "),vertical:["flex-col","[&>*:not(:first-child)]:-mt-px","[&>*:first-child]:rounded-b-none","[&>*:last-child]:rounded-t-none","[&>*:not(:first-child):not(:last-child)]:rounded-none","[&>[data-slot=button-group]]:mt-0","[&>[data-slot=button-group]:not(:first-child)]:mt-2","[&>[data-slot=button-group]]:rounded-md"].join(" ")},P=S(["isolate flex w-fit items-stretch border-0 p-0 m-0","[&>button]:shadow-none [&>button]:border [&>button]:border-input","[&>a]:shadow-none [&>a]:border [&>a]:border-input","[&>button.bg-primary]:border-primary [&>a.bg-primary]:border-primary","[&>button.bg-secondary]:border-input [&>a.bg-secondary]:border-input","[&>button.bg-destructive]:border-destructive [&>a.bg-destructive]:border-destructive","[&>button.bg-success]:border-success [&>a.bg-success]:border-success","[&>button.bg-warning]:border-warning [&>a.bg-warning]:border-warning","[&>button.bg-info]:border-info [&>a.bg-info]:border-info","[&>*]:focus-visible:relative [&>*]:focus-visible:z-10"].join(" "),{variants:{orientation:k},defaultVariants:{orientation:"horizontal"}});function q({className:G,orientation:B="horizontal",...p}){return f("fieldset",{"data-slot":"button-group","data-orientation":B,className:u(P({orientation:B}),G),...p})}function z({className:G,orientation:B="vertical",...p}){return f("hr",{"data-slot":"button-group-separator","data-orientation":B,"aria-orientation":B,className:u("bg-input shrink-0 border-0",B==="vertical"?"w-px self-stretch":"h-px w-full",G),...p})}export{P as yb,q as zb,z as Ab};
@@ -0,0 +1 @@
1
+ import{Nb as t}from"./index-nmb3js48.js";import{cva as s}from"class-variance-authority";import{jsx as p}from"react/jsx-runtime";var e=s("inline-flex items-center justify-center gap-1 rounded-md font-medium transition-colors whitespace-nowrap [&_[data-slot=icon]]:pointer-events-none [&_[data-slot=icon]]:shrink-0",{variants:{variant:{primary:"bg-primary text-white",secondary:"bg-secondary text-secondary-foreground",success:"bg-success text-white",destructive:"bg-destructive text-white",warning:"bg-warning text-warning-foreground",info:"bg-info text-white",outline:"border border-input text-foreground"},size:{sm:"h-5 px-1.5 text-xs [&_[data-slot=icon]]:size-3",md:"h-6 px-2 text-xs [&_[data-slot=icon]]:size-3.5",lg:"h-7 px-2.5 text-sm [&_[data-slot=icon]]:size-4"}},defaultVariants:{variant:"primary",size:"md"}});function d({variant:r,size:a,children:n,className:o,...i}){return p("span",{className:t(e({variant:r,size:a}),o),...i,children:n})}export{e as vb,d as wb};
@@ -0,0 +1 @@
1
+ import{FontAwesomeIcon as e}from"@fortawesome/react-fontawesome";import{jsx as c}from"react/jsx-runtime";function t({icon:o,...n}){return c(e,{"data-slot":"icon",icon:o,...n})}export{t as gb};
@@ -0,0 +1 @@
1
+ import{ub as o}from"./index-6t49p1dr.js";import{xb as u}from"./index-b20jw979.js";import{createContext as A,useCallback as m,useContext as O,useRef as I,useState as b}from"react";import{jsx as i,jsxs as a,Fragment as w}from"react/jsx-runtime";var D=A(null);function y({children:t}){let[n,s]=b(null),g=I(null),C=m((e)=>{let c=typeof e==="string"?{title:e}:e;return new Promise((l)=>{g.current=()=>l(),s({type:"alert",options:c,resolve:()=>l()})})},[]),P=m((e)=>{let c=typeof e==="string"?{title:e}:e;return new Promise((l)=>{g.current=l,s({type:"confirm",options:c,resolve:l})})},[]),p=m((e)=>{n?.resolve(e),s(null)},[n]),v=n?.type==="confirm",r=n?.options,d=r;return a(D.Provider,{value:{alert:C,confirm:P},children:[t,i(o.Root,{open:n!==null,onOpenChange:(e)=>{if(!e)p(!1)},children:a(o.Portal,{children:[i(o.Backdrop,{}),i(o.Popup,{children:r&&a(w,{children:[i(o.Title,{children:r.title}),r.description&&i(o.Description,{children:r.description}),a(o.Actions,{children:[v&&i(u,{variant:"ghost",onClick:()=>p(!1),children:d?.cancelLabel??"Cancel"}),i(u,{variant:v?d?.variant??"primary":"primary",onClick:()=>p(!0),children:r.confirmLabel??"OK"})]})]})})]})})]})}function f(){let t=O(D);if(!t)throw Error("useImperativeDialog must be used within an ImperativeDialogProvider");return t}function h(){let{alert:t}=f();return t}function R(){let{confirm:t}=f();return t}export{y as hb,f as ib,h as jb,R as kb};
@@ -0,0 +1,5 @@
1
+ export * from "./components/index.ts";
2
+ export { useCommandMenu } from "./lib/useCommandMenu";
3
+ export type { PolymorphicProps } from "./lib/utils";
4
+ export { cn } from "./lib/utils";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,YAAY,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ import{a as Yo,b as Zo,c as _o,d as $o,e as oe,f as ee,g as re,h as te,i as pe,j as ae,k as ie,l as ne}from"./index-05dfc8gc.js";import{m as se,n as de,o as le,p as Pe,q as ye,r as me,s as ue,t as ge}from"./index-5682pajd.js";import{u as Ce,v as be}from"./index-qbyq4s4v.js";import{w as Ie,x as Se,y as De,z as ce}from"./index-1yf7ndde.js";import{A as po,B as ao,C as io,D as no,E as so,F as lo,G as Po}from"./index-fysv3p6s.js";import{H as yo,I as mo,J as uo,K as go,L as Co,M as bo,N as Io,O as So,P as Do,Q as co,R as Vo,S as xo}from"./index-ekmn6r5r.js";import{T as To,U as fo}from"./index-4vcfr6c1.js";import{V as Go}from"./index-gf3drq2q.js";import{W as Fo,X as Mo,Y as Ao}from"./index-cxk963r4.js";import{$ as Bo,Z as wo,_ as Lo,aa as vo,ba as Ho,ca as Ro,da as ko,ea as ho,fa as Eo,ga as Ko,ha as No}from"./index-j5mxpzxd.js";import{ia as zo,ja as Oo,ka as Wo,la as jo,ma as qo}from"./index-mkz6yp17.js";import{na as Jo,oa as Qo,pa as Uo,qa as Xo}from"./index-p83xgc3a.js";import{ra as u,sa as g,ta as C,ua as b,va as I,wa as S,xa as D,ya as c}from"./index-75dnenyg.js";import{Aa as T,Ba as f,Ca as G,Da as F,Ea as M,Fa as A,Ga as w,Ha as L,Ia as B,za as x}from"./index-ctt0ekbv.js";import{Oa as V}from"./index-dp7zz8qq.js";import{Pa as H,Qa as R,Ra as k,Sa as h,Ta as E,Ua as K,Va as N,Wa as z}from"./index-18g4vy31.js";import{$a as J,Xa as O,Ya as W,Za as j,_a as q,ab as Q,bb as U,cb as X,db as Y,eb as Z,fb as _}from"./index-cg4j414r.js";import{gb as v}from"./index-whmf49bh.js";import{hb as $,ib as oo,jb as eo,kb as ro}from"./index-y4pe6zqs.js";import{nb as to}from"./index-tgxa310c.js";import{ob as xe}from"./index-5hc3rmkd.js";import{ub as o}from"./index-6t49p1dr.js";import{vb as e,wb as r}from"./index-vz7tpve0.js";import"./index-j0gmrg5e.js";import{xb as t}from"./index-b20jw979.js";import{Ab as a,zb as p}from"./index-vjgvz4d9.js";import{Cb as i,Eb as n,Fb as s,Gb as d,Hb as l,Ib as P,Kb as y,Mb as m}from"./index-c6xjse86.js";import{Nb as Ve}from"./index-nmb3js48.js";export{oo as useImperativeDialog,ro as useConfirm,xe as useCommandMenu,eo as useAlert,Ce as textareaVariants,se as textVariants,le as textLinkVariants,ye as strongVariants,Yo as sidebarVariants,ae as sidebarItemVariants,Jo as selectTriggerVariants,Qo as selectPopupVariants,Uo as selectItemVariants,Oo as radioItemVariants,Wo as radioIndicatorVariants,zo as radioGroupVariants,wo as paginationVariants,Bo as paginationLinkVariants,vo as paginationEllipsisVariants,Lo as paginationContentVariants,Fo as numberFieldInputVariants,Mo as numberFieldButtonVariants,uo as itemVariants,Co as itemMediaVariants,ao as inputGroupAddonVariants,O as fieldVariants,K as dropdownMenuSubTriggerVariants,N as dropdownMenuSubContentVariants,E as dropdownMenuShortcutVariants,h as dropdownMenuSeparatorVariants,k as dropdownMenuLabelVariants,R as dropdownMenuItemVariants,H as dropdownMenuContentVariants,x as commandVariants,w as commandShortcutVariants,M as commandSeparatorVariants,f as commandListVariants,A as commandItemVariants,L as commandInputWrapperVariants,T as commandInputVariants,F as commandGroupVariants,G as commandEmptyVariants,u as collapsibleTriggerVariants,g as collapsiblePanelVariants,ue as codeVariants,Ve as cn,e as badgeVariants,De as TooltipTrigger,Ie as TooltipProvider,ce as TooltipContent,Se as Tooltip,be as Textarea,Pe as TextLink,de as Text,me as Strong,te as SidebarSpacer,ee as SidebarSection,ne as SidebarLabel,ie as SidebarItem,pe as SidebarHeading,_o as SidebarHeader,oe as SidebarFooter,re as SidebarDivider,$o as SidebarBody,Zo as Sidebar,Xo as Select,qo as RadioGroupItem,jo as RadioGroup,Eo as PaginationPrevious,Ko as PaginationNext,ho as PaginationLink,ko as PaginationItem,No as PaginationEllipsis,Ro as PaginationContent,Ho as Pagination,Ao as NumberField,Go as Label,fo as KbdGroup,To as Kbd,So as ItemTitle,mo as ItemSeparator,bo as ItemMedia,Vo as ItemHeader,yo as ItemGroup,xo as ItemFooter,Do as ItemDescription,Io as ItemContent,co as ItemActions,go as Item,Po as InputGroupTextarea,so as InputGroupText,lo as InputGroupInput,no as InputGroupButton,io as InputGroupAddon,po as InputGroup,to as Input,$ as ImperativeDialogProvider,v as Icon,X as FieldTitle,j as FieldSet,Z as FieldSeparator,q as FieldLegend,U as FieldLabel,J as FieldGroup,_ as FieldError,Y as FieldDescription,Q as FieldContent,W as Field,z as DropdownMenu,V as Dialog,B as Command,b as CollapsibleTrigger,C as CollapsibleRoot,I as CollapsiblePanel,S as CollapsibleContent,D as CollapsibleChevron,c as Collapsible,ge as Code,d as CardTitle,s as CardHeaderContent,n as CardHeader,m as CardFooter,l as CardDescription,y as CardContent,P as CardAction,i as Card,a as ButtonGroupSeparator,p as ButtonGroup,t as Button,r as Badge,o as AlertDialog};
@@ -0,0 +1,5 @@
1
+ export interface UseCommandMenuOptions {
2
+ shortcut?: string;
3
+ }
4
+ export declare function useCommandMenu(options?: UseCommandMenuOptions): readonly [boolean, import("react").Dispatch<import("react").SetStateAction<boolean>>];
5
+ //# sourceMappingURL=useCommandMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCommandMenu.d.ts","sourceRoot":"","sources":["../../src/lib/useCommandMenu.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,qBAAqB;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,cAAc,CAAC,OAAO,GAAE,qBAA0B,yFAoBjE"}
@@ -0,0 +1 @@
1
+ import{ob as a}from"../index-5hc3rmkd.js";export{a as useCommandMenu};
@@ -0,0 +1,7 @@
1
+ import { type CxOptions } from "class-variance-authority";
2
+ import type React from "react";
3
+ export declare function cn(...inputs: CxOptions): string;
4
+ export type PolymorphicProps<C extends React.ElementType, OwnProps> = OwnProps & {
5
+ as?: C;
6
+ } & Omit<React.ComponentPropsWithoutRef<C>, keyof OwnProps | "as">;
7
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAM,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,SAAS,UAEtC;AAED,MAAM,MAAM,gBAAgB,CAC3B,CAAC,SAAS,KAAK,CAAC,WAAW,EAC3B,QAAQ,IACL,QAAQ,GAAG;IAAE,EAAE,CAAC,EAAE,CAAC,CAAA;CAAE,GAAG,IAAI,CAC9B,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,EACjC,MAAM,QAAQ,GAAG,IAAI,CACrB,CAAC"}
@@ -0,0 +1 @@
1
+ import{Nb as a}from"../index-nmb3js48.js";export{a as cn};