@open-elements/ui 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +37 -0
  3. package/dist/brand.css +48 -0
  4. package/dist/components/alert-dialog.d.ts +19 -0
  5. package/dist/components/alert-dialog.d.ts.map +1 -0
  6. package/dist/components/alert-dialog.js +66 -0
  7. package/dist/components/alert-dialog.js.map +1 -0
  8. package/dist/components/badge.d.ts +10 -0
  9. package/dist/components/badge.d.ts.map +1 -0
  10. package/dist/components/badge.js +37 -0
  11. package/dist/components/badge.js.map +1 -0
  12. package/dist/components/button.d.ts +11 -0
  13. package/dist/components/button.d.ts.map +1 -0
  14. package/dist/components/button.js +48 -0
  15. package/dist/components/button.js.map +1 -0
  16. package/dist/components/calendar.d.ts +9 -0
  17. package/dist/components/calendar.d.ts.map +1 -0
  18. package/dist/components/calendar.js +58 -0
  19. package/dist/components/calendar.js.map +1 -0
  20. package/dist/components/card.d.ts +10 -0
  21. package/dist/components/card.d.ts.map +1 -0
  22. package/dist/components/card.js +43 -0
  23. package/dist/components/card.js.map +1 -0
  24. package/dist/components/combobox.d.ts +25 -0
  25. package/dist/components/combobox.d.ts.map +1 -0
  26. package/dist/components/combobox.js +85 -0
  27. package/dist/components/combobox.js.map +1 -0
  28. package/dist/components/dialog.d.ts +18 -0
  29. package/dist/components/dialog.d.ts.map +1 -0
  30. package/dist/components/dialog.js +59 -0
  31. package/dist/components/dialog.js.map +1 -0
  32. package/dist/components/health-status.d.ts +12 -0
  33. package/dist/components/health-status.d.ts.map +1 -0
  34. package/dist/components/health-status.js +8 -0
  35. package/dist/components/health-status.js.map +1 -0
  36. package/dist/components/input-group.d.ts +17 -0
  37. package/dist/components/input-group.d.ts.map +1 -0
  38. package/dist/components/input-group.js +82 -0
  39. package/dist/components/input-group.js.map +1 -0
  40. package/dist/components/input.d.ts +4 -0
  41. package/dist/components/input.d.ts.map +1 -0
  42. package/dist/components/input.js +19 -0
  43. package/dist/components/input.js.map +1 -0
  44. package/dist/components/label.d.ts +5 -0
  45. package/dist/components/label.d.ts.map +1 -0
  46. package/dist/components/label.js +21 -0
  47. package/dist/components/label.js.map +1 -0
  48. package/dist/components/language-switch.d.ts +2 -0
  49. package/dist/components/language-switch.d.ts.map +1 -0
  50. package/dist/components/language-switch.js +13 -0
  51. package/dist/components/language-switch.js.map +1 -0
  52. package/dist/components/popover.d.ts +11 -0
  53. package/dist/components/popover.d.ts.map +1 -0
  54. package/dist/components/popover.js +45 -0
  55. package/dist/components/popover.js.map +1 -0
  56. package/dist/components/select.d.ts +16 -0
  57. package/dist/components/select.d.ts.map +1 -0
  58. package/dist/components/select.js +60 -0
  59. package/dist/components/select.js.map +1 -0
  60. package/dist/components/separator.d.ts +5 -0
  61. package/dist/components/separator.d.ts.map +1 -0
  62. package/dist/components/separator.js +21 -0
  63. package/dist/components/separator.js.map +1 -0
  64. package/dist/components/sheet.d.ts +15 -0
  65. package/dist/components/sheet.d.ts.map +1 -0
  66. package/dist/components/sheet.js +62 -0
  67. package/dist/components/sheet.js.map +1 -0
  68. package/dist/components/sidebar.d.ts +53 -0
  69. package/dist/components/sidebar.d.ts.map +1 -0
  70. package/dist/components/sidebar.js +44 -0
  71. package/dist/components/sidebar.js.map +1 -0
  72. package/dist/components/skeleton.d.ts +3 -0
  73. package/dist/components/skeleton.d.ts.map +1 -0
  74. package/dist/components/skeleton.js +19 -0
  75. package/dist/components/skeleton.js.map +1 -0
  76. package/dist/components/table.d.ts +11 -0
  77. package/dist/components/table.d.ts.map +1 -0
  78. package/dist/components/table.js +48 -0
  79. package/dist/components/table.js.map +1 -0
  80. package/dist/components/tag-chips.d.ts +8 -0
  81. package/dist/components/tag-chips.d.ts.map +1 -0
  82. package/dist/components/tag-chips.js +22 -0
  83. package/dist/components/tag-chips.js.map +1 -0
  84. package/dist/components/tag-form.d.ts +29 -0
  85. package/dist/components/tag-form.d.ts.map +1 -0
  86. package/dist/components/tag-form.js +84 -0
  87. package/dist/components/tag-form.js.map +1 -0
  88. package/dist/components/tag-multi-select.d.ts +4 -0
  89. package/dist/components/tag-multi-select.d.ts.map +1 -0
  90. package/dist/components/tag-multi-select.js +30 -0
  91. package/dist/components/tag-multi-select.js.map +1 -0
  92. package/dist/components/textarea.d.ts +4 -0
  93. package/dist/components/textarea.d.ts.map +1 -0
  94. package/dist/components/textarea.js +19 -0
  95. package/dist/components/textarea.js.map +1 -0
  96. package/dist/components/tooltip.d.ts +8 -0
  97. package/dist/components/tooltip.d.ts.map +1 -0
  98. package/dist/components/tooltip.js +26 -0
  99. package/dist/components/tooltip.js.map +1 -0
  100. package/dist/i18n/de.d.ts +7 -0
  101. package/dist/i18n/de.d.ts.map +1 -0
  102. package/dist/i18n/de.js +7 -0
  103. package/dist/i18n/de.js.map +1 -0
  104. package/dist/i18n/en.d.ts +7 -0
  105. package/dist/i18n/en.d.ts.map +1 -0
  106. package/dist/i18n/en.js +7 -0
  107. package/dist/i18n/en.js.map +1 -0
  108. package/dist/i18n/language-context.d.ts +14 -0
  109. package/dist/i18n/language-context.d.ts.map +1 -0
  110. package/dist/i18n/language-context.js +77 -0
  111. package/dist/i18n/language-context.js.map +1 -0
  112. package/dist/index.d.ts +36 -0
  113. package/dist/index.d.ts.map +1 -0
  114. package/dist/index.js +34 -0
  115. package/dist/index.js.map +1 -0
  116. package/dist/lib/utils.d.ts +3 -0
  117. package/dist/lib/utils.d.ts.map +1 -0
  118. package/dist/lib/utils.js +6 -0
  119. package/dist/lib/utils.js.map +1 -0
  120. package/dist/tsconfig.build.tsbuildinfo +1 -0
  121. package/dist/types/index.d.ts +27 -0
  122. package/dist/types/index.d.ts.map +1 -0
  123. package/dist/types/index.js +2 -0
  124. package/dist/types/index.js.map +1 -0
  125. package/package.json +77 -0
  126. package/src/components/__tests__/button.test.tsx +41 -0
  127. package/src/components/__tests__/input.test.tsx +28 -0
  128. package/src/components/__tests__/tag-multi-select.test.tsx +131 -0
  129. package/src/components/__tests__/textarea.test.tsx +22 -0
  130. package/src/components/alert-dialog.tsx +179 -0
  131. package/src/components/badge.tsx +46 -0
  132. package/src/components/button.tsx +62 -0
  133. package/src/components/calendar.tsx +180 -0
  134. package/src/components/card.tsx +75 -0
  135. package/src/components/combobox.tsx +277 -0
  136. package/src/components/dialog.tsx +144 -0
  137. package/src/components/health-status.tsx +37 -0
  138. package/src/components/input-group.tsx +158 -0
  139. package/src/components/input.tsx +21 -0
  140. package/src/components/label.tsx +21 -0
  141. package/src/components/language-switch.tsx +36 -0
  142. package/src/components/popover.tsx +74 -0
  143. package/src/components/select.tsx +175 -0
  144. package/src/components/separator.tsx +28 -0
  145. package/src/components/sheet.tsx +134 -0
  146. package/src/components/sidebar.tsx +290 -0
  147. package/src/components/skeleton.tsx +13 -0
  148. package/src/components/table.tsx +92 -0
  149. package/src/components/tag-chips.tsx +47 -0
  150. package/src/components/tag-form.tsx +200 -0
  151. package/src/components/tag-multi-select.tsx +84 -0
  152. package/src/components/textarea.tsx +18 -0
  153. package/src/components/tooltip.tsx +32 -0
  154. package/src/i18n/de.ts +6 -0
  155. package/src/i18n/en.ts +6 -0
  156. package/src/i18n/language-context.tsx +104 -0
  157. package/src/index.ts +156 -0
  158. package/src/lib/__tests__/utils.test.ts +29 -0
  159. package/src/lib/utils.ts +6 -0
  160. package/src/styles/brand.css +48 -0
  161. package/src/test/setup.ts +1 -0
  162. package/src/types/index.ts +29 -0
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ declare function Card({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
3
+ declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
4
+ declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
5
+ declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
+ declare function CardAction({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
7
+ declare function CardContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent };
10
+ //# sourceMappingURL=card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/components/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,iBAAS,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAWjE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAWvE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQtE;AAED,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQ5E;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQvE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAExE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQvE;AAED,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,43 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { cn } from "../lib/utils";
14
+ function Card(_a) {
15
+ var { className } = _a, props = __rest(_a, ["className"]);
16
+ return (_jsx("div", Object.assign({ "data-slot": "card", className: cn("flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm", className) }, props)));
17
+ }
18
+ function CardHeader(_a) {
19
+ var { className } = _a, props = __rest(_a, ["className"]);
20
+ return (_jsx("div", Object.assign({ "data-slot": "card-header", className: cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", className) }, props)));
21
+ }
22
+ function CardTitle(_a) {
23
+ var { className } = _a, props = __rest(_a, ["className"]);
24
+ return (_jsx("div", Object.assign({ "data-slot": "card-title", className: cn("leading-none font-semibold", className) }, props)));
25
+ }
26
+ function CardDescription(_a) {
27
+ var { className } = _a, props = __rest(_a, ["className"]);
28
+ return (_jsx("div", Object.assign({ "data-slot": "card-description", className: cn("text-sm text-muted-foreground", className) }, props)));
29
+ }
30
+ function CardAction(_a) {
31
+ var { className } = _a, props = __rest(_a, ["className"]);
32
+ return (_jsx("div", Object.assign({ "data-slot": "card-action", className: cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end", className) }, props)));
33
+ }
34
+ function CardContent(_a) {
35
+ var { className } = _a, props = __rest(_a, ["className"]);
36
+ return _jsx("div", Object.assign({ "data-slot": "card-content", className: cn("px-6", className) }, props));
37
+ }
38
+ function CardFooter(_a) {
39
+ var { className } = _a, props = __rest(_a, ["className"]);
40
+ return (_jsx("div", Object.assign({ "data-slot": "card-footer", className: cn("flex items-center px-6 [.border-t]:pt-6", className) }, props)));
41
+ }
42
+ export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent };
43
+ //# sourceMappingURL=card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.js","sourceRoot":"","sources":["../../src/components/card.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAElC,SAAS,IAAI,CAAC,EAAoD;QAApD,EAAE,SAAS,OAAyC,EAApC,KAAK,cAArB,aAAuB,CAAF;IACjC,OAAO,CACL,yCACY,MAAM,EAChB,SAAS,EAAE,EAAE,CACX,mFAAmF,EACnF,SAAS,CACV,IACG,KAAK,EACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAoD;QAApD,EAAE,SAAS,OAAyC,EAApC,KAAK,cAArB,aAAuB,CAAF;IACvC,OAAO,CACL,yCACY,aAAa,EACvB,SAAS,EAAE,EAAE,CACX,0JAA0J,EAC1J,SAAS,CACV,IACG,KAAK,EACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,SAAS,CAAC,EAAoD;QAApD,EAAE,SAAS,OAAyC,EAApC,KAAK,cAArB,aAAuB,CAAF;IACtC,OAAO,CACL,yCACY,YAAY,EACtB,SAAS,EAAE,EAAE,CAAC,4BAA4B,EAAE,SAAS,CAAC,IAClD,KAAK,EACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,eAAe,CAAC,EAAoD;QAApD,EAAE,SAAS,OAAyC,EAApC,KAAK,cAArB,aAAuB,CAAF;IAC5C,OAAO,CACL,yCACY,kBAAkB,EAC5B,SAAS,EAAE,EAAE,CAAC,+BAA+B,EAAE,SAAS,CAAC,IACrD,KAAK,EACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAoD;QAApD,EAAE,SAAS,OAAyC,EAApC,KAAK,cAArB,aAAuB,CAAF;IACvC,OAAO,CACL,yCACY,aAAa,EACvB,SAAS,EAAE,EAAE,CAAC,gEAAgE,EAAE,SAAS,CAAC,IACtF,KAAK,EACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,EAAoD;QAApD,EAAE,SAAS,OAAyC,EAApC,KAAK,cAArB,aAAuB,CAAF;IACxC,OAAO,yCAAe,cAAc,EAAC,SAAS,EAAE,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC,IAAM,KAAK,EAAI,CAAC;AACvF,CAAC;AAED,SAAS,UAAU,CAAC,EAAoD;QAApD,EAAE,SAAS,OAAyC,EAApC,KAAK,cAArB,aAAuB,CAAF;IACvC,OAAO,CACL,yCACY,aAAa,EACvB,SAAS,EAAE,EAAE,CAAC,yCAAyC,EAAE,SAAS,CAAC,IAC/D,KAAK,EACT,CACH,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,25 @@
1
+ import * as React from "react";
2
+ import { Combobox as ComboboxPrimitive } from "@base-ui/react";
3
+ declare const Combobox: typeof ComboboxPrimitive.Root;
4
+ declare function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
5
+ declare function ComboboxTrigger({ className, children, ...props }: ComboboxPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
6
+ declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: ComboboxPrimitive.Input.Props & {
7
+ showTrigger?: boolean;
8
+ showClear?: boolean;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: ComboboxPrimitive.Popup.Props & Pick<ComboboxPrimitive.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">): import("react/jsx-runtime").JSX.Element;
11
+ declare function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
12
+ declare function ComboboxItem({ className, children, ...props }: ComboboxPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
13
+ declare function ComboboxGroup({ className, ...props }: ComboboxPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
14
+ declare function ComboboxLabel({ className, ...props }: ComboboxPrimitive.GroupLabel.Props): import("react/jsx-runtime").JSX.Element;
15
+ declare function ComboboxCollection({ ...props }: ComboboxPrimitive.Collection.Props): import("react/jsx-runtime").JSX.Element;
16
+ declare function ComboboxEmpty({ className, ...props }: ComboboxPrimitive.Empty.Props): import("react/jsx-runtime").JSX.Element;
17
+ declare function ComboboxSeparator({ className, ...props }: ComboboxPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
18
+ declare function ComboboxChips({ className, ...props }: React.ComponentPropsWithRef<typeof ComboboxPrimitive.Chips> & ComboboxPrimitive.Chips.Props): import("react/jsx-runtime").JSX.Element;
19
+ declare function ComboboxChip({ className, children, showRemove, ...props }: ComboboxPrimitive.Chip.Props & {
20
+ showRemove?: boolean;
21
+ }): import("react/jsx-runtime").JSX.Element;
22
+ declare function ComboboxChipsInput({ className, children, ...props }: ComboboxPrimitive.Input.Props): import("react/jsx-runtime").JSX.Element;
23
+ declare function useComboboxAnchor(): React.RefObject<HTMLDivElement | null>;
24
+ export { Combobox, ComboboxInput, ComboboxContent, ComboboxList, ComboboxItem, ComboboxGroup, ComboboxLabel, ComboboxCollection, ComboboxEmpty, ComboboxSeparator, ComboboxChips, ComboboxChip, ComboboxChipsInput, ComboboxTrigger, ComboboxValue, useComboboxAnchor, };
25
+ //# sourceMappingURL=combobox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["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};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
+ import * as React from "react";
15
+ import { Combobox as ComboboxPrimitive } from "@base-ui/react";
16
+ import { CheckIcon, ChevronDownIcon, XIcon } from "lucide-react";
17
+ import { cn } from "../lib/utils";
18
+ import { Button } from "./button";
19
+ import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from "./input-group";
20
+ const Combobox = ComboboxPrimitive.Root;
21
+ function ComboboxValue(_a) {
22
+ var props = __rest(_a, []);
23
+ return _jsx(ComboboxPrimitive.Value, Object.assign({ "data-slot": "combobox-value" }, props));
24
+ }
25
+ function ComboboxTrigger(_a) {
26
+ var { className, children } = _a, props = __rest(_a, ["className", "children"]);
27
+ return (_jsxs(ComboboxPrimitive.Trigger, Object.assign({ "data-slot": "combobox-trigger", className: cn("[&_svg:not([class*='size-'])]:size-4", className) }, props, { children: [children, _jsx(ChevronDownIcon, { "data-slot": "combobox-trigger-icon", className: "pointer-events-none size-4 text-muted-foreground" })] })));
28
+ }
29
+ function ComboboxClear(_a) {
30
+ var { className } = _a, props = __rest(_a, ["className"]);
31
+ return (_jsx(ComboboxPrimitive.Clear, Object.assign({ "data-slot": "combobox-clear", render: _jsx(InputGroupButton, { variant: "ghost", size: "icon-xs" }), className: cn(className) }, props, { children: _jsx(XIcon, { className: "pointer-events-none" }) })));
32
+ }
33
+ function ComboboxInput(_a) {
34
+ var { className, children, disabled = false, showTrigger = true, showClear = false } = _a, props = __rest(_a, ["className", "children", "disabled", "showTrigger", "showClear"]);
35
+ return (_jsxs(InputGroup, { className: cn("w-auto", className), children: [_jsx(ComboboxPrimitive.Input, Object.assign({ render: _jsx(InputGroupInput, { disabled: disabled }) }, props)), _jsxs(InputGroupAddon, { align: "inline-end", children: [showTrigger && (_jsx(InputGroupButton, { size: "icon-xs", variant: "ghost", asChild: true, "data-slot": "input-group-button", className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent", disabled: disabled, children: _jsx(ComboboxTrigger, {}) })), showClear && _jsx(ComboboxClear, { disabled: disabled })] }), children] }));
36
+ }
37
+ function ComboboxContent(_a) {
38
+ var { className, side = "bottom", sideOffset = 6, align = "start", alignOffset = 0, anchor } = _a, props = __rest(_a, ["className", "side", "sideOffset", "align", "alignOffset", "anchor"]);
39
+ return (_jsx(ComboboxPrimitive.Portal, { children: _jsx(ComboboxPrimitive.Positioner, { side: side, sideOffset: sideOffset, align: align, alignOffset: alignOffset, anchor: anchor, className: "isolate z-50", children: _jsx(ComboboxPrimitive.Popup, Object.assign({ "data-slot": "combobox-content", "data-chips": !!anchor, className: cn("group/combobox-content relative max-h-96 w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) overflow-hidden rounded-md bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[chips=true]:min-w-(--anchor-width) data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:border-input/30 *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:shadow-none data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className) }, props)) }) }));
40
+ }
41
+ function ComboboxList(_a) {
42
+ var { className } = _a, props = __rest(_a, ["className"]);
43
+ return (_jsx(ComboboxPrimitive.List, Object.assign({ "data-slot": "combobox-list", className: cn("max-h-[min(calc(--spacing(96)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto p-1 data-empty:p-0", className) }, props)));
44
+ }
45
+ function ComboboxItem(_a) {
46
+ var { className, children } = _a, props = __rest(_a, ["className", "children"]);
47
+ return (_jsxs(ComboboxPrimitive.Item, Object.assign({ "data-slot": "combobox-item", className: cn("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 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className) }, props, { children: [children, _jsx(ComboboxPrimitive.ItemIndicator, { "data-slot": "combobox-item-indicator", render: _jsx("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }), children: _jsx(CheckIcon, { className: "pointer-events-none size-4 pointer-coarse:size-5" }) })] })));
48
+ }
49
+ function ComboboxGroup(_a) {
50
+ var { className } = _a, props = __rest(_a, ["className"]);
51
+ return (_jsx(ComboboxPrimitive.Group, Object.assign({ "data-slot": "combobox-group", className: cn(className) }, props)));
52
+ }
53
+ function ComboboxLabel(_a) {
54
+ var { className } = _a, props = __rest(_a, ["className"]);
55
+ return (_jsx(ComboboxPrimitive.GroupLabel, Object.assign({ "data-slot": "combobox-label", className: cn("px-2 py-1.5 text-xs text-muted-foreground pointer-coarse:px-3 pointer-coarse:py-2 pointer-coarse:text-sm", className) }, props)));
56
+ }
57
+ function ComboboxCollection(_a) {
58
+ var props = __rest(_a, []);
59
+ return _jsx(ComboboxPrimitive.Collection, Object.assign({ "data-slot": "combobox-collection" }, props));
60
+ }
61
+ function ComboboxEmpty(_a) {
62
+ var { className } = _a, props = __rest(_a, ["className"]);
63
+ return (_jsx(ComboboxPrimitive.Empty, Object.assign({ "data-slot": "combobox-empty", className: cn("hidden w-full justify-center py-2 text-center text-sm text-muted-foreground group-data-empty/combobox-content:flex", className) }, props)));
64
+ }
65
+ function ComboboxSeparator(_a) {
66
+ var { className } = _a, props = __rest(_a, ["className"]);
67
+ return (_jsx(ComboboxPrimitive.Separator, Object.assign({ "data-slot": "combobox-separator", className: cn("-mx-1 my-1 h-px bg-border", className) }, props)));
68
+ }
69
+ function ComboboxChips(_a) {
70
+ var { className } = _a, props = __rest(_a, ["className"]);
71
+ return (_jsx(ComboboxPrimitive.Chips, Object.assign({ "data-slot": "combobox-chips", className: cn("flex min-h-9 flex-wrap items-center gap-1.5 rounded-md border border-input bg-transparent bg-clip-padding px-2.5 py-1.5 text-sm shadow-xs transition-[color,box-shadow] focus-within:border-ring focus-within:ring-[3px] focus-within:ring-ring/50 has-aria-invalid:border-destructive has-aria-invalid:ring-[3px] has-aria-invalid:ring-destructive/20 has-data-[slot=combobox-chip]:px-1.5 dark:bg-input/30 dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40", className) }, props)));
72
+ }
73
+ function ComboboxChip(_a) {
74
+ var { className, children, showRemove = true } = _a, props = __rest(_a, ["className", "children", "showRemove"]);
75
+ return (_jsxs(ComboboxPrimitive.Chip, Object.assign({ "data-slot": "combobox-chip", className: cn("flex h-[calc(--spacing(5.5))] w-fit items-center justify-center gap-1 rounded-sm bg-muted px-1.5 text-xs font-medium whitespace-nowrap text-foreground has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50 has-data-[slot=combobox-chip-remove]:pr-0", className) }, props, { children: [children, showRemove && (_jsx(ComboboxPrimitive.ChipRemove, { render: _jsx(Button, { variant: "ghost", size: "icon-xs" }), className: "-ml-1 opacity-50 hover:opacity-100", "data-slot": "combobox-chip-remove", children: _jsx(XIcon, { className: "pointer-events-none" }) }))] })));
76
+ }
77
+ function ComboboxChipsInput(_a) {
78
+ var { className, children } = _a, props = __rest(_a, ["className", "children"]);
79
+ return (_jsx(ComboboxPrimitive.Input, Object.assign({ "data-slot": "combobox-chip-input", className: cn("min-w-16 flex-1 outline-none", className) }, props)));
80
+ }
81
+ function useComboboxAnchor() {
82
+ return React.useRef(null);
83
+ }
84
+ export { Combobox, ComboboxInput, ComboboxContent, ComboboxList, ComboboxItem, ComboboxGroup, ComboboxLabel, ComboboxCollection, ComboboxEmpty, ComboboxSeparator, ComboboxChips, ComboboxChip, ComboboxChipsInput, ComboboxTrigger, ComboboxValue, useComboboxAnchor, };
85
+ //# sourceMappingURL=combobox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combobox.js","sourceRoot":"","sources":["../../src/components/combobox.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;AAEb,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAEjE,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAE/F,MAAM,QAAQ,GAAG,iBAAiB,CAAC,IAAI,CAAC;AAExC,SAAS,aAAa,CAAC,EAA2C;QAAtC,KAAK,cAAV,EAAY,CAAF;IAC/B,OAAO,KAAC,iBAAiB,CAAC,KAAK,+BAAW,gBAAgB,IAAK,KAAK,EAAI,CAAC;AAC3E,CAAC;AAED,SAAS,eAAe,CAAC,EAAkE;QAAlE,EAAE,SAAS,EAAE,QAAQ,OAA6C,EAAxC,KAAK,cAA/B,yBAAiC,CAAF;IACtD,OAAO,CACL,MAAC,iBAAiB,CAAC,OAAO,+BACd,kBAAkB,EAC5B,SAAS,EAAE,EAAE,CAAC,sCAAsC,EAAE,SAAS,CAAC,IAC5D,KAAK,eAER,QAA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"react";
2
+ import { Dialog as DialogPrimitive } from "radix-ui";
3
+ declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
+ declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
7
+ declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
8
+ declare function DialogContent({ className, children, showCloseButton, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
9
+ showCloseButton?: boolean;
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
12
+ declare function DialogFooter({ className, showCloseButton, children, ...props }: React.ComponentProps<"div"> & {
13
+ showCloseButton?: boolean;
14
+ }): import("react/jsx-runtime").JSX.Element;
15
+ declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
16
+ declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
17
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
18
+ //# sourceMappingURL=dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../src/components/dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,UAAU,CAAC;AAKrD,iBAAS,MAAM,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AAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,2CAQ1D;AAED,OAAO,EACL,MAAM,EACN,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,GACd,CAAC"}
@@ -0,0 +1,59 @@
1
+ "use client";
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
+ import { XIcon } from "lucide-react";
15
+ import { Dialog as DialogPrimitive } from "radix-ui";
16
+ import { cn } from "../lib/utils";
17
+ import { Button } from "./button";
18
+ function Dialog(_a) {
19
+ var props = __rest(_a, []);
20
+ return _jsx(DialogPrimitive.Root, Object.assign({ "data-slot": "dialog" }, props));
21
+ }
22
+ function DialogTrigger(_a) {
23
+ var props = __rest(_a, []);
24
+ return _jsx(DialogPrimitive.Trigger, Object.assign({ "data-slot": "dialog-trigger" }, props));
25
+ }
26
+ function DialogPortal(_a) {
27
+ var props = __rest(_a, []);
28
+ return _jsx(DialogPrimitive.Portal, Object.assign({ "data-slot": "dialog-portal" }, props));
29
+ }
30
+ function DialogClose(_a) {
31
+ var props = __rest(_a, []);
32
+ return _jsx(DialogPrimitive.Close, Object.assign({ "data-slot": "dialog-close" }, props));
33
+ }
34
+ function DialogOverlay(_a) {
35
+ var { className } = _a, props = __rest(_a, ["className"]);
36
+ return (_jsx(DialogPrimitive.Overlay, Object.assign({ "data-slot": "dialog-overlay", className: cn("fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0", className) }, props)));
37
+ }
38
+ function DialogContent(_a) {
39
+ var { className, children, showCloseButton = true } = _a, props = __rest(_a, ["className", "children", "showCloseButton"]);
40
+ return (_jsxs(DialogPortal, { "data-slot": "dialog-portal", children: [_jsx(DialogOverlay, {}), _jsxs(DialogPrimitive.Content, Object.assign({ "data-slot": "dialog-content", className: cn("fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-background p-6 shadow-lg duration-200 outline-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 sm:max-w-lg", className) }, props, { children: [children, showCloseButton && (_jsxs(DialogPrimitive.Close, { "data-slot": "dialog-close", className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", children: [_jsx(XIcon, {}), _jsx("span", { className: "sr-only", children: "Close" })] }))] }))] }));
41
+ }
42
+ function DialogHeader(_a) {
43
+ var { className } = _a, props = __rest(_a, ["className"]);
44
+ return (_jsx("div", Object.assign({ "data-slot": "dialog-header", className: cn("flex flex-col gap-2 text-center sm:text-left", className) }, props)));
45
+ }
46
+ function DialogFooter(_a) {
47
+ var { className, showCloseButton = false, children } = _a, props = __rest(_a, ["className", "showCloseButton", "children"]);
48
+ return (_jsxs("div", Object.assign({ "data-slot": "dialog-footer", className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className) }, props, { children: [children, showCloseButton && (_jsx(DialogPrimitive.Close, { asChild: true, children: _jsx(Button, { variant: "outline", children: "Close" }) }))] })));
49
+ }
50
+ function DialogTitle(_a) {
51
+ var { className } = _a, props = __rest(_a, ["className"]);
52
+ return (_jsx(DialogPrimitive.Title, Object.assign({ "data-slot": "dialog-title", className: cn("text-lg leading-none font-semibold", className) }, props)));
53
+ }
54
+ function DialogDescription(_a) {
55
+ var { className } = _a, props = __rest(_a, ["className"]);
56
+ return (_jsx(DialogPrimitive.Description, Object.assign({ "data-slot": "dialog-description", className: cn("text-sm text-muted-foreground", className) }, props)));
57
+ }
58
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
59
+ //# sourceMappingURL=dialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.js","sourceRoot":"","sources":["../../src/components/dialog.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;AAGb,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,UAAU,CAAC;AAErD,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,SAAS,MAAM,CAAC,EAA+D;QAA1D,KAAK,cAAV,EAAY,CAAF;IACxB,OAAO,KAAC,eAAe,CAAC,IAAI,+BAAW,QAAQ,IAAK,KAAK,EAAI,CAAC;AAChE,CAAC;AAED,SAAS,aAAa,CAAC,EAAkE;QAA7D,KAAK,cAAV,EAAY,CAAF;IAC/B,OAAO,KAAC,eAAe,CAAC,OAAO,+BAAW,gBAAgB,IAAK,KAAK,EAAI,CAAC;AAC3E,CAAC;AAED,SAAS,YAAY,CAAC,EAAiE;QAA5D,KAAK,cAAV,EAAY,CAAF;IAC9B,OAAO,KAAC,eAAe,CAAC,MAAM,+BAAW,eAAe,I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EAHI,KAAK,cAJY,4CAKrB,CADS;IAIR,OAAO,CACL,0CACY,eAAe,EACzB,SAAS,EAAE,EAAE,CAAC,wDAAwD,EAAE,SAAS,CAAC,IAC9E,KAAK,eAER,QAAQ,EACR,eAAe,IAAI,CAClB,KAAC,eAAe,CAAC,KAAK,IAAC,OAAO,kBAC5B,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,sBAAe,GAClB,CACzB,KACG,CACP,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,EAA2E;QAA3E,EAAE,SAAS,OAAgE,EAA3D,KAAK,cAArB,aAAuB,CAAF;IACxC,OAAO,CACL,KAAC,eAAe,CAAC,KAAK,+BACV,cAAc,EACxB,SAAS,EAAE,EAAE,CAAC,oCAAoC,EAAE,SAAS,CAAC,IAC1D,KAAK,EACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CAAC,EAGgC;QAHhC,EACzB,SAAS,OAEgD,EADtD,KAAK,cAFiB,aAG1B,CADS;IAER,OAAO,CACL,KAAC,eAAe,CAAC,WAAW,+BAChB,oBAAoB,EAC9B,SAAS,EAAE,EAAE,CAAC,+BAA+B,EAAE,SAAS,CAAC,IACrD,KAAK,EACT,CACH,CAAC;AACJ,CAAC;AAED,OAAO,EACL,MAAM,EACN,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,GACd,CAAC"}
@@ -0,0 +1,12 @@
1
+ interface HealthStatusTranslations {
2
+ readonly title: string;
3
+ readonly statusUp: string;
4
+ readonly statusDown: string;
5
+ }
6
+ interface HealthStatusProps {
7
+ readonly healthy: boolean;
8
+ readonly translations: HealthStatusTranslations;
9
+ }
10
+ export declare function HealthStatus({ healthy, translations }: HealthStatusProps): import("react/jsx-runtime").JSX.Element;
11
+ export type { HealthStatusProps, HealthStatusTranslations };
12
+ //# sourceMappingURL=health-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health-status.d.ts","sourceRoot":"","sources":["../../src/components/health-status.tsx"],"names":[],"mappings":"AAIA,UAAU,wBAAwB;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED,UAAU,iBAAiB;IACzB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,YAAY,EAAE,wBAAwB,CAAC;CACjD;AAED,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,iBAAiB,2CAmBxE;AAED,YAAY,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { Card, CardContent, CardHeader, CardTitle } from "./card";
4
+ export function HealthStatus({ healthy, translations }) {
5
+ const statusText = healthy ? translations.statusUp : translations.statusDown;
6
+ return (_jsxs(Card, { className: "border-oe-gray-light", children: [_jsx(CardHeader, { children: _jsx(CardTitle, { className: "font-heading text-lg text-oe-dark", children: translations.title }) }), _jsx(CardContent, { children: _jsxs("div", { className: "flex items-center gap-3", children: [_jsx("span", { className: `inline-block h-4 w-4 rounded-full ${healthy ? "bg-oe-green" : "bg-oe-red"}`, "aria-label": statusText }), _jsx("span", { className: "text-base font-medium", children: statusText })] }) })] }));
7
+ }
8
+ //# sourceMappingURL=health-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health-status.js","sourceRoot":"","sources":["../../src/components/health-status.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAalE,MAAM,UAAU,YAAY,CAAC,EAAE,OAAO,EAAE,YAAY,EAAqB;IACvE,MAAM,UAAU,GAAG,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,UAAU,CAAC;IAE7E,OAAO,CACL,MAAC,IAAI,IAAC,SAAS,EAAC,sBAAsB,aACpC,KAAC,UAAU,cACT,KAAC,SAAS,IAAC,SAAS,EAAC,mCAAmC,YAAE,YAAY,CAAC,KAAK,GAAa,GAC9E,EACb,KAAC,WAAW,cACV,eAAK,SAAS,EAAC,yBAAyB,aACtC,eACE,SAAS,EAAE,qCAAqC,OAAO,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAE,gBAC3E,UAAU,GACtB,EACF,eAAM,SAAS,EAAC,uBAAuB,YAAE,UAAU,GAAQ,IACvD,GACM,IACT,CACR,CAAC;AACJ,CAAC"}
@@ -0,0 +1,17 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ import { Button } from "./button";
4
+ declare function InputGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
5
+ declare const inputGroupAddonVariants: (props?: ({
6
+ align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
9
+ declare const inputGroupButtonVariants: (props?: ({
10
+ size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
11
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
12
+ declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): import("react/jsx-runtime").JSX.Element;
13
+ declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
14
+ declare function InputGroupInput({ className, ...props }: React.ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
15
+ declare function InputGroupTextarea({ className, ...props }: React.ComponentProps<"textarea">): import("react/jsx-runtime").JSX.Element;
16
+ export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea, };
17
+ //# sourceMappingURL=input-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../../src/components/input-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CA0BvE;AAED,QAAA,MAAM,uBAAuB;;8EAiB5B,CAAC;AAEF,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,KAAsB,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,2CAgB5E;AAED,QAAA,MAAM,wBAAwB;;8EAY5B,CAAC;AAEH,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,IAAe,EACf,OAAiB,EACjB,IAAW,EACX,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,MAAM,CAAC,GAClD,YAAY,CAAC,OAAO,wBAAwB,CAAC,2CAU9C;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,2CAU5E;AAED,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAW9E;AAED,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,2CAWpF;AAED,OAAO,EACL,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,kBAAkB,GACnB,CAAC"}
@@ -0,0 +1,82 @@
1
+ "use client";
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { cva } from "class-variance-authority";
15
+ import { cn } from "../lib/utils";
16
+ import { Button } from "./button";
17
+ import { Input } from "./input";
18
+ import { Textarea } from "./textarea";
19
+ function InputGroup(_a) {
20
+ var { className } = _a, props = __rest(_a, ["className"]);
21
+ return (_jsx("div", Object.assign({ "data-slot": "input-group", role: "group", className: cn("group/input-group relative flex w-full items-center rounded-md border border-input shadow-xs transition-[color,box-shadow] outline-none dark:bg-input/30", "h-9 min-w-0 has-[>textarea]:h-auto",
22
+ // Variants based on alignment.
23
+ "has-[>[data-align=inline-start]]:[&>input]:pl-2", "has-[>[data-align=inline-end]]:[&>input]:pr-2", "has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-3", "has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3",
24
+ // Focus state.
25
+ "has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50",
26
+ // Error state.
27
+ "has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-destructive/20 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40", className) }, props)));
28
+ }
29
+ const inputGroupAddonVariants = cva("flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4", {
30
+ variants: {
31
+ align: {
32
+ "inline-start": "order-first pl-3 has-[>button]:ml-[-0.45rem] has-[>kbd]:ml-[-0.35rem]",
33
+ "inline-end": "order-last pr-3 has-[>button]:mr-[-0.45rem] has-[>kbd]:mr-[-0.35rem]",
34
+ "block-start": "order-first w-full justify-start px-3 pt-3 group-has-[>input]/input-group:pt-2.5 [.border-b]:pb-3",
35
+ "block-end": "order-last w-full justify-start px-3 pb-3 group-has-[>input]/input-group:pb-2.5 [.border-t]:pt-3",
36
+ },
37
+ },
38
+ defaultVariants: {
39
+ align: "inline-start",
40
+ },
41
+ });
42
+ function InputGroupAddon(_a) {
43
+ var { className, align = "inline-start" } = _a, props = __rest(_a, ["className", "align"]);
44
+ return (_jsx("div", Object.assign({ role: "group", "data-slot": "input-group-addon", "data-align": align, className: cn(inputGroupAddonVariants({ align }), className), onClick: (e) => {
45
+ var _a, _b;
46
+ if (e.target.closest("button")) {
47
+ return;
48
+ }
49
+ (_b = (_a = e.currentTarget.parentElement) === null || _a === void 0 ? void 0 : _a.querySelector("input")) === null || _b === void 0 ? void 0 : _b.focus();
50
+ } }, props)));
51
+ }
52
+ const inputGroupButtonVariants = cva("flex items-center gap-2 text-sm shadow-none", {
53
+ variants: {
54
+ size: {
55
+ xs: "h-6 gap-1 rounded-[calc(var(--radius)-5px)] px-2 has-[>svg]:px-2 [&>svg:not([class*='size-'])]:size-3.5",
56
+ sm: "h-8 gap-1.5 rounded-md px-2.5 has-[>svg]:px-2.5",
57
+ "icon-xs": "size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0",
58
+ "icon-sm": "size-8 p-0 has-[>svg]:p-0",
59
+ },
60
+ },
61
+ defaultVariants: {
62
+ size: "xs",
63
+ },
64
+ });
65
+ function InputGroupButton(_a) {
66
+ var { className, type = "button", variant = "ghost", size = "xs" } = _a, props = __rest(_a, ["className", "type", "variant", "size"]);
67
+ return (_jsx(Button, Object.assign({ type: type, "data-size": size, variant: variant, className: cn(inputGroupButtonVariants({ size }), className) }, props)));
68
+ }
69
+ function InputGroupText(_a) {
70
+ var { className } = _a, props = __rest(_a, ["className"]);
71
+ return (_jsx("span", Object.assign({ className: cn("flex items-center gap-2 text-sm text-muted-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4", className) }, props)));
72
+ }
73
+ function InputGroupInput(_a) {
74
+ var { className } = _a, props = __rest(_a, ["className"]);
75
+ return (_jsx(Input, Object.assign({ "data-slot": "input-group-control", className: cn("flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent", className) }, props)));
76
+ }
77
+ function InputGroupTextarea(_a) {
78
+ var { className } = _a, props = __rest(_a, ["className"]);
79
+ return (_jsx(Textarea, Object.assign({ "data-slot": "input-group-control", className: cn("flex-1 resize-none rounded-none border-0 bg-transparent py-3 shadow-none focus-visible:ring-0 dark:bg-transparent", className) }, props)));
80
+ }
81
+ export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea, };
82
+ //# sourceMappingURL=input-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-group.js","sourceRoot":"","sources":["../../src/components/input-group.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;AAGb,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAClC,OAAO,EAA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C,KAAK,cAArB,aAAuB,CAAF;IAC/C,OAAO,CACL,KAAC,QAAQ,+BACG,qBAAqB,EAC/B,SAAS,EAAE,EAAE,CACX,mHAAmH,EACnH,SAAS,CACV,IACG,KAAK,EACT,CACH,CAAC;AACJ,CAAC;AAED,OAAO,EACL,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,kBAAkB,GACnB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ declare function Input({ className, type, ...props }: React.ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
3
+ export { Input };
4
+ //# sourceMappingURL=input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/components/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAc1E;AAED,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1,19 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { cn } from "../lib/utils";
14
+ function Input(_a) {
15
+ var { className, type } = _a, props = __rest(_a, ["className", "type"]);
16
+ return (_jsx("input", Object.assign({ type: type, "data-slot": "input", className: cn("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30", "focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50", "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40", className) }, props)));
17
+ }
18
+ export { Input };
19
+ //# sourceMappingURL=input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.js","sourceRoot":"","sources":["../../src/components/input.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAElC,SAAS,KAAK,CAAC,EAA4D;QAA5D,EAAE,SAAS,EAAE,IAAI,OAA2C,EAAtC,KAAK,cAA3B,qBAA6B,CAAF;IACxC,OAAO,CACL,8BACE,IAAI,EAAE,IAAI,eACA,OAAO,EACjB,SAAS,EAAE,EAAE,CACX,4bAA4b,EAC5b,+EAA+E,EAC/E,wGAAwG,EACxG,SAAS,CACV,IACG,KAAK,EACT,CACH,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as React from "react";
2
+ import { Label as LabelPrimitive } from "radix-ui";
3
+ declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ export { Label };
5
+ //# sourceMappingURL=label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../src/components/label.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,UAAU,CAAC;AAInD,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,2CAWvF;AAED,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use client";
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { Label as LabelPrimitive } from "radix-ui";
15
+ import { cn } from "../lib/utils";
16
+ function Label(_a) {
17
+ var { className } = _a, props = __rest(_a, ["className"]);
18
+ return (_jsx(LabelPrimitive.Root, Object.assign({ "data-slot": "label", className: cn("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", className) }, props)));
19
+ }
20
+ export { Label };
21
+ //# sourceMappingURL=label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.js","sourceRoot":"","sources":["../../src/components/label.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;AAGb,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,UAAU,CAAC;AAEnD,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAElC,SAAS,KAAK,CAAC,EAAyE;QAAzE,EAAE,SAAS,OAA8D,EAAzD,KAAK,cAArB,aAAuB,CAAF;IAClC,OAAO,CACL,KAAC,cAAc,CAAC,IAAI,+BACR,OAAO,EACjB,SAAS,EAAE,EAAE,CACX,qNAAqN,EACrN,SAAS,CACV,IACG,KAAK,EACT,CACH,CAAC;AACJ,CAAC;AAED,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function LanguageSwitch(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=language-switch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"language-switch.d.ts","sourceRoot":"","sources":["../../src/components/language-switch.tsx"],"names":[],"mappings":"AAKA,wBAAgB,cAAc,4CA8B7B"}
@@ -0,0 +1,13 @@
1
+ "use client";
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { cn } from "../lib/utils";
4
+ import { useLanguage } from "../i18n/language-context";
5
+ export function LanguageSwitch() {
6
+ const { language, setLanguage } = useLanguage();
7
+ return (_jsxs("div", { className: "flex items-center gap-2 text-sm", children: [_jsx("button", { onClick: () => setLanguage("de"), className: cn("transition-colors", language === "de"
8
+ ? "text-oe-green font-bold"
9
+ : "text-oe-white/70 hover:text-oe-white cursor-pointer"), children: "DE" }), _jsx("span", { className: "text-oe-white/30", children: "|" }), _jsx("button", { onClick: () => setLanguage("en"), className: cn("transition-colors", language === "en"
10
+ ? "text-oe-green font-bold"
11
+ : "text-oe-white/70 hover:text-oe-white cursor-pointer"), children: "EN" })] }));
12
+ }
13
+ //# sourceMappingURL=language-switch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"language-switch.js","sourceRoot":"","sources":["../../src/components/language-switch.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,MAAM,UAAU,cAAc;IAC5B,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,WAAW,EAAE,CAAC;IAEhD,OAAO,CACL,eAAK,SAAS,EAAC,iCAAiC,aAC9C,iBACE,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,EAChC,SAAS,EAAE,EAAE,CACX,mBAAmB,EACnB,QAAQ,KAAK,IAAI;oBACf,CAAC,CAAC,yBAAyB;oBAC3B,CAAC,CAAC,qDAAqD,CAC1D,mBAGM,EACT,eAAM,SAAS,EAAC,kBAAkB,kBAAS,EAC3C,iBACE,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,EAChC,SAAS,EAAE,EAAE,CACX,mBAAmB,EACnB,QAAQ,KAAK,IAAI;oBACf,CAAC,CAAC,yBAAyB;oBAC3B,CAAC,CAAC,qDAAqD,CAC1D,mBAGM,IACL,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,11 @@
1
+ import * as React from "react";
2
+ import { Popover as PopoverPrimitive } from "radix-ui";
3
+ declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
6
+ declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): import("react/jsx-runtime").JSX.Element;
7
+ declare function PopoverHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare function PopoverTitle({ className, ...props }: React.ComponentProps<"h2">): import("react/jsx-runtime").JSX.Element;
9
+ declare function PopoverDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
10
+ export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor, PopoverHeader, PopoverTitle, PopoverDescription, };
11
+ //# sourceMappingURL=popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../src/components/popover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAIvD,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,2CAEhF;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAE1F;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAgB,EAChB,UAAc,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAevD;AAED,iBAAS,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,2CAExF;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQ1E;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,2CAExE;AAED,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,2CAQ7E;AAED,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,EACd,aAAa,EACb,aAAa,EACb,YAAY,EACZ,kBAAkB,GACnB,CAAC"}