@xemahq/ui-kernel 0.1.11 → 0.2.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 (235) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +1 -0
  4. package/dist/index.js.map +1 -1
  5. package/dist/lib/biome-host/biome-builders.d.ts +21 -0
  6. package/dist/lib/biome-host/biome-builders.d.ts.map +1 -0
  7. package/dist/lib/biome-host/biome-builders.js +25 -0
  8. package/dist/lib/biome-host/biome-builders.js.map +1 -0
  9. package/dist/lib/biome-host/biome-navigation.d.ts +3 -0
  10. package/dist/lib/biome-host/biome-navigation.d.ts.map +1 -0
  11. package/dist/lib/biome-host/biome-navigation.js +14 -0
  12. package/dist/lib/biome-host/biome-navigation.js.map +1 -0
  13. package/dist/lib/biome-host/biome-scope.d.ts +18 -0
  14. package/dist/lib/biome-host/biome-scope.d.ts.map +1 -0
  15. package/dist/lib/biome-host/biome-scope.js +42 -0
  16. package/dist/lib/biome-host/biome-scope.js.map +1 -0
  17. package/dist/lib/biome-host/biome-scoped-query.d.ts +17 -0
  18. package/dist/lib/biome-host/biome-scoped-query.d.ts.map +1 -0
  19. package/dist/lib/biome-host/biome-scoped-query.js +39 -0
  20. package/dist/lib/biome-host/biome-scoped-query.js.map +1 -0
  21. package/dist/lib/biome-host/host-bridge.d.ts +3 -0
  22. package/dist/lib/biome-host/host-bridge.d.ts.map +1 -1
  23. package/dist/lib/biome-host/host-bridge.js.map +1 -1
  24. package/dist/lib/biome-host/index.d.ts +4 -0
  25. package/dist/lib/biome-host/index.d.ts.map +1 -1
  26. package/dist/lib/biome-host/index.js +4 -0
  27. package/dist/lib/biome-host/index.js.map +1 -1
  28. package/dist/lib/capabilities/capability-provider.d.ts +15 -0
  29. package/dist/lib/capabilities/capability-provider.d.ts.map +1 -0
  30. package/dist/lib/capabilities/capability-provider.js +36 -0
  31. package/dist/lib/capabilities/capability-provider.js.map +1 -0
  32. package/dist/lib/capabilities/index.d.ts +4 -0
  33. package/dist/lib/capabilities/index.d.ts.map +1 -0
  34. package/dist/lib/capabilities/index.js +20 -0
  35. package/dist/lib/capabilities/index.js.map +1 -0
  36. package/dist/lib/capabilities/types.d.ts +18 -0
  37. package/dist/lib/capabilities/types.d.ts.map +1 -0
  38. package/dist/lib/capabilities/types.js +3 -0
  39. package/dist/lib/capabilities/types.js.map +1 -0
  40. package/dist/lib/capabilities/use-capability.d.ts +18 -0
  41. package/dist/lib/capabilities/use-capability.d.ts.map +1 -0
  42. package/dist/lib/capabilities/use-capability.js +21 -0
  43. package/dist/lib/capabilities/use-capability.js.map +1 -0
  44. package/dist/session/shell/SessionWorkspaceShell.js +1 -1
  45. package/dist/session/shell/SessionWorkspaceShell.js.map +1 -1
  46. package/dist/session-kit/display/ThinkingPanel.d.ts.map +1 -1
  47. package/dist/session-kit/display/ThinkingPanel.js +3 -0
  48. package/dist/session-kit/display/ThinkingPanel.js.map +1 -1
  49. package/dist/ui/chrome/AsyncBoundary.d.ts +22 -0
  50. package/dist/ui/chrome/AsyncBoundary.d.ts.map +1 -0
  51. package/dist/ui/chrome/AsyncBoundary.js +23 -0
  52. package/dist/ui/chrome/AsyncBoundary.js.map +1 -0
  53. package/dist/ui/chrome/EmptyState.d.ts +34 -0
  54. package/dist/ui/chrome/EmptyState.d.ts.map +1 -0
  55. package/dist/ui/chrome/EmptyState.js +27 -0
  56. package/dist/ui/chrome/EmptyState.js.map +1 -0
  57. package/dist/ui/chrome/ErrorCard.d.ts +11 -0
  58. package/dist/ui/chrome/ErrorCard.d.ts.map +1 -0
  59. package/dist/ui/chrome/ErrorCard.js +21 -0
  60. package/dist/ui/chrome/ErrorCard.js.map +1 -0
  61. package/dist/ui/chrome/LoadingState.d.ts +10 -0
  62. package/dist/ui/chrome/LoadingState.d.ts.map +1 -0
  63. package/dist/ui/chrome/LoadingState.js +17 -0
  64. package/dist/ui/chrome/LoadingState.js.map +1 -0
  65. package/dist/ui/chrome/PageHeader.d.ts +20 -0
  66. package/dist/ui/chrome/PageHeader.d.ts.map +1 -0
  67. package/dist/ui/chrome/PageHeader.js +26 -0
  68. package/dist/ui/chrome/PageHeader.js.map +1 -0
  69. package/dist/ui/chrome/StateCard.d.ts +24 -0
  70. package/dist/ui/chrome/StateCard.d.ts.map +1 -0
  71. package/dist/ui/chrome/StateCard.js +17 -0
  72. package/dist/ui/chrome/StateCard.js.map +1 -0
  73. package/dist/ui/cn.d.ts +3 -0
  74. package/dist/ui/cn.d.ts.map +1 -0
  75. package/dist/ui/cn.js +18 -0
  76. package/dist/ui/cn.js.map +1 -0
  77. package/dist/ui/index.d.ts +33 -0
  78. package/dist/ui/index.d.ts.map +1 -0
  79. package/dist/ui/index.js +61 -0
  80. package/dist/ui/index.js.map +1 -0
  81. package/dist/ui/primitives/alert-dialog.d.ts +21 -0
  82. package/dist/ui/primitives/alert-dialog.d.ts.map +1 -0
  83. package/dist/ui/primitives/alert-dialog.js +72 -0
  84. package/dist/ui/primitives/alert-dialog.js.map +1 -0
  85. package/dist/ui/primitives/badge.d.ts +10 -0
  86. package/dist/ui/primitives/badge.d.ts.map +1 -0
  87. package/dist/ui/primitives/badge.js +60 -0
  88. package/dist/ui/primitives/badge.js.map +1 -0
  89. package/dist/ui/primitives/button.d.ts +12 -0
  90. package/dist/ui/primitives/button.d.ts.map +1 -0
  91. package/dist/ui/primitives/button.js +71 -0
  92. package/dist/ui/primitives/button.js.map +1 -0
  93. package/dist/ui/primitives/card.d.ts +9 -0
  94. package/dist/ui/primitives/card.d.ts.map +1 -0
  95. package/dist/ui/primitives/card.js +58 -0
  96. package/dist/ui/primitives/card.js.map +1 -0
  97. package/dist/ui/primitives/checkbox.d.ts +5 -0
  98. package/dist/ui/primitives/checkbox.d.ts.map +1 -0
  99. package/dist/ui/primitives/checkbox.js +45 -0
  100. package/dist/ui/primitives/checkbox.js.map +1 -0
  101. package/dist/ui/primitives/collapsible.d.ts +6 -0
  102. package/dist/ui/primitives/collapsible.d.ts.map +1 -0
  103. package/dist/ui/primitives/collapsible.js +44 -0
  104. package/dist/ui/primitives/collapsible.js.map +1 -0
  105. package/dist/ui/primitives/dialog.d.ts +22 -0
  106. package/dist/ui/primitives/dialog.d.ts.map +1 -0
  107. package/dist/ui/primitives/dialog.js +68 -0
  108. package/dist/ui/primitives/dialog.js.map +1 -0
  109. package/dist/ui/primitives/dropdown-menu.d.ts +28 -0
  110. package/dist/ui/primitives/dropdown-menu.d.ts.map +1 -0
  111. package/dist/ui/primitives/dropdown-menu.js +83 -0
  112. package/dist/ui/primitives/dropdown-menu.js.map +1 -0
  113. package/dist/ui/primitives/input.d.ts +4 -0
  114. package/dist/ui/primitives/input.d.ts.map +1 -0
  115. package/dist/ui/primitives/input.js +45 -0
  116. package/dist/ui/primitives/input.js.map +1 -0
  117. package/dist/ui/primitives/label.d.ts +6 -0
  118. package/dist/ui/primitives/label.d.ts.map +1 -0
  119. package/dist/ui/primitives/label.js +46 -0
  120. package/dist/ui/primitives/label.js.map +1 -0
  121. package/dist/ui/primitives/overflow-tabs.d.ts +18 -0
  122. package/dist/ui/primitives/overflow-tabs.d.ts.map +1 -0
  123. package/dist/ui/primitives/overflow-tabs.js +84 -0
  124. package/dist/ui/primitives/overflow-tabs.js.map +1 -0
  125. package/dist/ui/primitives/popover.d.ts +9 -0
  126. package/dist/ui/primitives/popover.d.ts.map +1 -0
  127. package/dist/ui/primitives/popover.js +48 -0
  128. package/dist/ui/primitives/popover.js.map +1 -0
  129. package/dist/ui/primitives/radio-group.d.ts +6 -0
  130. package/dist/ui/primitives/radio-group.d.ts.map +1 -0
  131. package/dist/ui/primitives/radio-group.js +52 -0
  132. package/dist/ui/primitives/radio-group.js.map +1 -0
  133. package/dist/ui/primitives/resizable.d.ts +12 -0
  134. package/dist/ui/primitives/resizable.d.ts.map +1 -0
  135. package/dist/ui/primitives/resizable.js +18 -0
  136. package/dist/ui/primitives/resizable.js.map +1 -0
  137. package/dist/ui/primitives/scroll-area.d.ts +6 -0
  138. package/dist/ui/primitives/scroll-area.d.ts.map +1 -0
  139. package/dist/ui/primitives/scroll-area.js +47 -0
  140. package/dist/ui/primitives/scroll-area.js.map +1 -0
  141. package/dist/ui/primitives/select.d.ts +14 -0
  142. package/dist/ui/primitives/select.d.ts.map +1 -0
  143. package/dist/ui/primitives/select.js +71 -0
  144. package/dist/ui/primitives/select.js.map +1 -0
  145. package/dist/ui/primitives/separator.d.ts +5 -0
  146. package/dist/ui/primitives/separator.d.ts.map +1 -0
  147. package/dist/ui/primitives/separator.js +44 -0
  148. package/dist/ui/primitives/separator.js.map +1 -0
  149. package/dist/ui/primitives/sheet.d.ts +26 -0
  150. package/dist/ui/primitives/sheet.d.ts.map +1 -0
  151. package/dist/ui/primitives/sheet.js +82 -0
  152. package/dist/ui/primitives/sheet.js.map +1 -0
  153. package/dist/ui/primitives/skeleton.d.ts +13 -0
  154. package/dist/ui/primitives/skeleton.d.ts.map +1 -0
  155. package/dist/ui/primitives/skeleton.js +29 -0
  156. package/dist/ui/primitives/skeleton.js.map +1 -0
  157. package/dist/ui/primitives/switch.d.ts +5 -0
  158. package/dist/ui/primitives/switch.d.ts.map +1 -0
  159. package/dist/ui/primitives/switch.js +44 -0
  160. package/dist/ui/primitives/switch.js.map +1 -0
  161. package/dist/ui/primitives/table.d.ts +11 -0
  162. package/dist/ui/primitives/table.d.ts.map +1 -0
  163. package/dist/ui/primitives/table.js +64 -0
  164. package/dist/ui/primitives/table.js.map +1 -0
  165. package/dist/ui/primitives/tabs.d.ts +8 -0
  166. package/dist/ui/primitives/tabs.d.ts.map +1 -0
  167. package/dist/ui/primitives/tabs.js +52 -0
  168. package/dist/ui/primitives/tabs.js.map +1 -0
  169. package/dist/ui/primitives/tag-multi-select.d.ts +19 -0
  170. package/dist/ui/primitives/tag-multi-select.d.ts.map +1 -0
  171. package/dist/ui/primitives/tag-multi-select.js +92 -0
  172. package/dist/ui/primitives/tag-multi-select.js.map +1 -0
  173. package/dist/ui/primitives/textarea.d.ts +5 -0
  174. package/dist/ui/primitives/textarea.d.ts.map +1 -0
  175. package/dist/ui/primitives/textarea.js +45 -0
  176. package/dist/ui/primitives/textarea.js.map +1 -0
  177. package/dist/ui/primitives/tooltip.d.ts +8 -0
  178. package/dist/ui/primitives/tooltip.d.ts.map +1 -0
  179. package/dist/ui/primitives/tooltip.js +50 -0
  180. package/dist/ui/primitives/tooltip.js.map +1 -0
  181. package/package.json +27 -4
  182. package/src/index.ts +1 -0
  183. package/src/lib/biome-host/biome-builders.ts +109 -0
  184. package/src/lib/biome-host/biome-navigation.ts +37 -0
  185. package/src/lib/biome-host/biome-scope.tsx +119 -0
  186. package/src/lib/biome-host/biome-scoped-query.ts +130 -0
  187. package/src/lib/biome-host/host-bridge.ts +23 -0
  188. package/src/lib/biome-host/index.ts +4 -0
  189. package/src/lib/capabilities/capability-provider.tsx +95 -0
  190. package/src/lib/capabilities/index.ts +16 -0
  191. package/src/lib/capabilities/types.ts +69 -0
  192. package/src/lib/capabilities/use-capability.ts +72 -0
  193. package/src/session/shell/SessionWorkspaceShell.tsx +2 -2
  194. package/src/session-kit/display/ThinkingPanel.tsx +3 -0
  195. package/src/ui/chrome/AsyncBoundary.tsx +66 -0
  196. package/src/ui/chrome/EmptyState.tsx +184 -0
  197. package/src/ui/chrome/ErrorCard.tsx +68 -0
  198. package/src/ui/chrome/LoadingState.tsx +61 -0
  199. package/src/ui/chrome/PageHeader.tsx +137 -0
  200. package/src/ui/chrome/StateCard.tsx +150 -0
  201. package/src/ui/cn.ts +32 -0
  202. package/src/ui/index.ts +53 -0
  203. package/src/ui/primitives/alert-dialog.tsx +104 -0
  204. package/src/ui/primitives/badge.tsx +32 -0
  205. package/src/ui/primitives/button.tsx +47 -0
  206. package/src/ui/primitives/card.tsx +43 -0
  207. package/src/ui/primitives/checkbox.tsx +26 -0
  208. package/src/ui/primitives/collapsible.tsx +9 -0
  209. package/src/ui/primitives/dialog.tsx +103 -0
  210. package/src/ui/primitives/dropdown-menu.tsx +179 -0
  211. package/src/ui/primitives/input.tsx +22 -0
  212. package/src/ui/primitives/label.tsx +17 -0
  213. package/src/ui/primitives/overflow-tabs.tsx +281 -0
  214. package/src/ui/primitives/popover.tsx +33 -0
  215. package/src/ui/primitives/radio-group.tsx +36 -0
  216. package/src/ui/primitives/resizable.tsx +67 -0
  217. package/src/ui/primitives/scroll-area.tsx +38 -0
  218. package/src/ui/primitives/select.tsx +143 -0
  219. package/src/ui/primitives/separator.tsx +20 -0
  220. package/src/ui/primitives/sheet.tsx +107 -0
  221. package/src/ui/primitives/skeleton.tsx +99 -0
  222. package/src/ui/primitives/switch.tsx +27 -0
  223. package/src/ui/primitives/table.tsx +72 -0
  224. package/src/ui/primitives/tabs.tsx +53 -0
  225. package/src/ui/primitives/tag-multi-select.tsx +241 -0
  226. package/src/ui/primitives/textarea.tsx +21 -0
  227. package/src/ui/primitives/tooltip.tsx +30 -0
  228. package/dist/lib/biome-host/composition-validation.d.ts +0 -22
  229. package/dist/lib/biome-host/composition-validation.d.ts.map +0 -1
  230. package/dist/lib/biome-host/composition-validation.js +0 -127
  231. package/dist/lib/biome-host/composition-validation.js.map +0 -1
  232. package/dist/registry/lib/composition-validation-host.d.ts +0 -3
  233. package/dist/registry/lib/composition-validation-host.d.ts.map +0 -1
  234. package/dist/registry/lib/composition-validation-host.js +0 -10
  235. package/dist/registry/lib/composition-validation-host.js.map +0 -1
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.Input = void 0;
37
+ const jsx_runtime_1 = require("react/jsx-runtime");
38
+ const React = __importStar(require("react"));
39
+ const cn_1 = require("../cn");
40
+ const Input = React.forwardRef(({ className, type, ...props }, ref) => {
41
+ return ((0, jsx_runtime_1.jsx)("input", { type: type, className: (0, cn_1.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-body-1 file:font-medium file:text-foreground placeholder:text-ink-3 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-body-1", className), ref: ref, ...props }));
42
+ });
43
+ exports.Input = Input;
44
+ Input.displayName = "Input";
45
+ //# sourceMappingURL=input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/ui/primitives/input.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAE/B,8BAA2B;AAE3B,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAC5B,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACrC,OAAO,CACL,kCACE,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,IAAA,OAAE,EACX,6XAA6X,EAC7X,SAAS,CACV,EACD,GAAG,EAAE,GAAG,KACJ,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAGO,sBAAK;AAFd,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as LabelPrimitive from "@radix-ui/react-label";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ import * as React from "react";
4
+ declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/types").ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
5
+ export { Label };
6
+ //# sourceMappingURL=label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/ui/primitives/label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,QAAA,MAAM,KAAK,4PAKT,CAAC;AAGH,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.Label = void 0;
37
+ const jsx_runtime_1 = require("react/jsx-runtime");
38
+ const LabelPrimitive = __importStar(require("@radix-ui/react-label"));
39
+ const class_variance_authority_1 = require("class-variance-authority");
40
+ const React = __importStar(require("react"));
41
+ const cn_1 = require("../cn");
42
+ const labelVariants = (0, class_variance_authority_1.cva)("text-body-1 font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
43
+ const Label = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(LabelPrimitive.Root, { ref: ref, className: (0, cn_1.cn)(labelVariants(), className), ...props })));
44
+ exports.Label = Label;
45
+ Label.displayName = LabelPrimitive.Root.displayName;
46
+ //# sourceMappingURL=label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.js","sourceRoot":"","sources":["../../../src/ui/primitives/label.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAwD;AACxD,uEAAkE;AAClE,6CAA+B;AAE/B,8BAA2B;AAE3B,MAAM,aAAa,GAAG,IAAA,8BAAG,EAAC,gGAAgG,CAAC,CAAC;AAE5H,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAG5B,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,uBAAC,cAAc,CAAC,IAAI,IAAC,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,IAAA,OAAE,EAAC,aAAa,EAAE,EAAE,SAAS,CAAC,KAAM,KAAK,GAAI,CACxF,CAAC,CAAC;AAGM,sBAAK;AAFd,KAAK,CAAC,WAAW,GAAG,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC"}
@@ -0,0 +1,18 @@
1
+ export interface OverflowTab {
2
+ readonly value: string;
3
+ readonly label: string;
4
+ readonly indicator?: boolean;
5
+ readonly count?: number;
6
+ }
7
+ interface OverflowTabsProps {
8
+ readonly tabs: readonly OverflowTab[];
9
+ readonly value: string;
10
+ readonly onChange: (value: string) => void;
11
+ readonly moreTriggerWidth?: number;
12
+ readonly className?: string;
13
+ readonly gap?: number;
14
+ readonly onClose?: (value: string) => void;
15
+ }
16
+ export declare function OverflowTabs({ tabs, value, onChange, moreTriggerWidth, className, gap, onClose, }: OverflowTabsProps): import("react").JSX.Element;
17
+ export {};
18
+ //# sourceMappingURL=overflow-tabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overflow-tabs.d.ts","sourceRoot":"","sources":["../../../src/ui/primitives/overflow-tabs.tsx"],"names":[],"mappings":"AA2BA,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAEvB,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;IAE7B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,iBAAiB;IACzB,QAAQ,CAAC,IAAI,EAAE,SAAS,WAAW,EAAE,CAAC;IACtC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAE3C,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAE5B,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAMtB,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,gBAAqB,EACrB,SAAS,EACT,GAAO,EACP,OAAO,GACR,EAAE,iBAAiB,+BAyJnB"}
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OverflowTabs = OverflowTabs;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const lucide_react_1 = require("lucide-react");
6
+ const react_1 = require("react");
7
+ const dropdown_menu_1 = require("./dropdown-menu");
8
+ const cn_1 = require("../cn");
9
+ function OverflowTabs({ tabs, value, onChange, moreTriggerWidth = 88, className, gap = 4, onClose, }) {
10
+ const containerRef = (0, react_1.useRef)(null);
11
+ const measureRef = (0, react_1.useRef)(null);
12
+ const [containerWidth, setContainerWidth] = (0, react_1.useState)(0);
13
+ const [tabWidths, setTabWidths] = (0, react_1.useState)([]);
14
+ (0, react_1.useEffect)(() => {
15
+ const el = containerRef.current;
16
+ if (!el)
17
+ return;
18
+ const ro = new ResizeObserver((entries) => {
19
+ const w = entries[0]?.contentRect.width ?? el.clientWidth;
20
+ setContainerWidth(w);
21
+ });
22
+ ro.observe(el);
23
+ setContainerWidth(el.clientWidth);
24
+ return () => ro.disconnect();
25
+ }, []);
26
+ (0, react_1.useLayoutEffect)(() => {
27
+ const el = measureRef.current;
28
+ if (!el)
29
+ return;
30
+ const children = Array.from(el.children);
31
+ setTabWidths(children.map((c) => c.getBoundingClientRect().width));
32
+ }, [tabs]);
33
+ const { visible, overflow } = (0, react_1.useMemo)(() => {
34
+ if (tabWidths.length !== tabs.length || containerWidth === 0) {
35
+ return { visible: tabs, overflow: [] };
36
+ }
37
+ const totalNatural = tabWidths.reduce((s, w) => s + w, 0) + gap * Math.max(0, tabs.length - 1);
38
+ if (totalNatural <= containerWidth) {
39
+ return { visible: tabs, overflow: [] };
40
+ }
41
+ const budget = containerWidth - moreTriggerWidth;
42
+ const vis = [];
43
+ const over = [];
44
+ let used = 0;
45
+ for (let i = 0; i < tabs.length; i++) {
46
+ const w = tabWidths[i] + (vis.length > 0 ? gap : 0);
47
+ if (used + w <= budget) {
48
+ vis.push(tabs[i]);
49
+ used += w;
50
+ }
51
+ else {
52
+ over.push(tabs[i]);
53
+ }
54
+ }
55
+ const activeIdx = tabs.findIndex((t) => t.value === value);
56
+ if (activeIdx !== -1) {
57
+ const activeTab = tabs[activeIdx];
58
+ const inVisible = vis.some((t) => t.value === activeTab.value);
59
+ if (!inVisible) {
60
+ const dropped = vis.pop();
61
+ if (dropped)
62
+ over.unshift(dropped);
63
+ vis.push(activeTab);
64
+ const removeIdx = over.findIndex((t) => t.value === activeTab.value);
65
+ if (removeIdx !== -1)
66
+ over.splice(removeIdx, 1);
67
+ }
68
+ }
69
+ return { visible: vis, overflow: over };
70
+ }, [tabs, tabWidths, containerWidth, gap, moreTriggerWidth, value]);
71
+ return ((0, jsx_runtime_1.jsxs)("div", { className: (0, cn_1.cn)('relative -mb-px flex items-end border-b border-rule', className), children: [(0, jsx_runtime_1.jsx)("div", { ref: measureRef, "aria-hidden": true, className: "pointer-events-none absolute left-0 top-0 flex items-center gap-1 opacity-0", style: { visibility: 'hidden' }, children: tabs.map((t) => ((0, jsx_runtime_1.jsx)(TabPill, { tab: t, active: false, onClick: () => undefined }, `measure-${t.value}`))) }), (0, jsx_runtime_1.jsx)("div", { ref: containerRef, role: "tablist", className: "flex flex-1 items-end gap-1 overflow-hidden", children: visible.map((t) => ((0, jsx_runtime_1.jsx)(TabPill, { tab: t, active: t.value === value, onClick: () => onChange(t.value), onClose: onClose ? () => onClose(t.value) : undefined }, t.value))) }), overflow.length > 0 && ((0, jsx_runtime_1.jsxs)(dropdown_menu_1.DropdownMenu, { children: [(0, jsx_runtime_1.jsx)(dropdown_menu_1.DropdownMenuTrigger, { asChild: true, children: (0, jsx_runtime_1.jsxs)("button", { type: "button", className: "ml-1 -mb-px inline-flex shrink-0 items-center gap-1 whitespace-nowrap px-2 py-2 text-body-1 text-ink-3 transition-colors hover:text-ink", "aria-label": "More tabs", children: ["More", (0, jsx_runtime_1.jsx)("span", { className: "rounded bg-paper-elev px-1 font-mono text-[10px] leading-4 text-ink-4", children: overflow.length }), (0, jsx_runtime_1.jsx)(lucide_react_1.ChevronDown, { className: "h-3 w-3", strokeWidth: 1.6 })] }) }), (0, jsx_runtime_1.jsx)(dropdown_menu_1.DropdownMenuContent, { align: "end", className: "min-w-[180px]", children: overflow.map((t) => ((0, jsx_runtime_1.jsxs)(dropdown_menu_1.DropdownMenuItem, { onClick: () => onChange(t.value), className: (0, cn_1.cn)(t.value === value && 'bg-accent/60 text-foreground'), children: [(0, jsx_runtime_1.jsx)("span", { className: "flex-1 truncate", children: t.label }), t.count !== undefined && ((0, jsx_runtime_1.jsx)("span", { className: "ml-2 text-caption tabular-nums text-ink-4", children: t.count })), t.indicator && ((0, jsx_runtime_1.jsx)("span", { "aria-hidden": true, className: "ml-2 inline-block h-1.5 w-1.5 rounded-full bg-warning" })), onClose && ((0, jsx_runtime_1.jsx)("button", { type: "button", "aria-label": `Close ${t.label}`, className: "ml-2 rounded p-0.5 text-ink-4 hover:bg-paper-elev hover:text-ink", onClick: (e) => {
72
+ e.stopPropagation();
73
+ onClose(t.value);
74
+ }, children: (0, jsx_runtime_1.jsx)(lucide_react_1.X, { className: "h-3 w-3", strokeWidth: 1.8 }) }))] }, t.value))) })] }))] }));
75
+ }
76
+ function TabPill({ tab, active, onClick, onClose, }) {
77
+ return ((0, jsx_runtime_1.jsxs)("div", { className: (0, cn_1.cn)('group relative -mb-px inline-flex items-center gap-1.5 whitespace-nowrap rounded-t-md border px-3 py-2 text-body-1 transition-colors', active
78
+ ? 'border-rule border-b-transparent bg-paper-elev text-ink font-medium'
79
+ : 'border-transparent text-ink-3 hover:border-rule/40 hover:bg-paper-elev/60 hover:text-ink-2'), children: [(0, jsx_runtime_1.jsxs)("button", { type: "button", role: "tab", "aria-selected": active, onClick: onClick, className: "inline-flex items-center gap-2 outline-none", children: [tab.label, tab.count !== undefined && ((0, jsx_runtime_1.jsx)("span", { className: "rounded bg-paper-elev px-1 font-mono text-[10px] tabular-nums leading-4 text-ink-4", children: tab.count })), tab.indicator && ((0, jsx_runtime_1.jsx)("span", { "aria-hidden": true, className: "inline-block h-1.5 w-1.5 rounded-full bg-warning" }))] }), onClose && ((0, jsx_runtime_1.jsx)("button", { type: "button", "aria-label": `Close ${tab.label}`, onClick: (e) => {
80
+ e.stopPropagation();
81
+ onClose();
82
+ }, className: (0, cn_1.cn)('rounded p-0.5 text-ink-4 transition-opacity hover:bg-paper hover:text-ink', active ? 'opacity-70' : 'opacity-0 group-hover:opacity-70'), children: (0, jsx_runtime_1.jsx)(lucide_react_1.X, { className: "h-3 w-3", strokeWidth: 1.8 }) })), active && ((0, jsx_runtime_1.jsx)("span", { "aria-hidden": true, className: "absolute inset-x-2 bottom-[-1px] h-[2px] rounded-full bg-primary" }))] }));
83
+ }
84
+ //# sourceMappingURL=overflow-tabs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overflow-tabs.js","sourceRoot":"","sources":["../../../src/ui/primitives/overflow-tabs.tsx"],"names":[],"mappings":";;AAqDA,oCAiKC;;AAtMD,+CAA8C;AAC9C,iCAA8E;AAE9E,mDAKyB;AACzB,8BAA2B;AA4B3B,SAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,g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AAK,KAAK,SAAS,IAAI,CAC1B,iCAAM,SAAS,EAAC,oFAAoF,YACjG,GAAG,CAAC,KAAK,GACL,CACR,EACA,GAAG,CAAC,SAAS,IAAI,CAChB,sDAEE,SAAS,EAAC,kDAAkD,GAC5D,CACH,IACM,EACR,OAAO,IAAI,CACV,mCACE,IAAI,EAAC,QAAQ,gBACD,SAAS,GAAG,CAAC,KAAK,EAAE,EAChC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,eAAe,EAAE,CAAC;oBACpB,OAAO,EAAE,CAAC;gBACZ,CAAC,EACD,SAAS,EAAE,IAAA,OAAE,EACX,2EAA2E,EAC3E,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,kCAAkC,CAC3D,YAED,uBAAC,gBAAC,IAAC,SAAS,EAAC,SAAS,EAAC,WAAW,EAAE,GAAG,GAAI,GACpC,CACV,EACA,MAAM,IAAI,CACT,sDAEE,SAAS,EAAC,kEAAkE,GAC5E,CACH,IACG,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,9 @@
1
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
2
+ import * as React from "react";
3
+ declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
4
+ declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
6
+ container?: HTMLElement | null;
7
+ } & React.RefAttributes<HTMLDivElement>>;
8
+ export { Popover, PopoverTrigger, PopoverContent };
9
+ //# sourceMappingURL=popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/ui/primitives/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,OAAO,yCAAwB,CAAC;AAEtC,QAAA,MAAM,cAAc,gHAA2B,CAAC;AAMhD,QAAA,MAAM,cAAc;gBAHN,WAAW,GAAG,IAAI;wCAmB9B,CAAC;AAGH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.PopoverContent = exports.PopoverTrigger = exports.Popover = void 0;
37
+ const jsx_runtime_1 = require("react/jsx-runtime");
38
+ const PopoverPrimitive = __importStar(require("@radix-ui/react-popover"));
39
+ const React = __importStar(require("react"));
40
+ const cn_1 = require("../cn");
41
+ const Popover = PopoverPrimitive.Root;
42
+ exports.Popover = Popover;
43
+ const PopoverTrigger = PopoverPrimitive.Trigger;
44
+ exports.PopoverTrigger = PopoverTrigger;
45
+ const PopoverContent = React.forwardRef(({ className, align = "center", sideOffset = 4, container, ...props }, ref) => ((0, jsx_runtime_1.jsx)(PopoverPrimitive.Portal, { container: container ?? undefined, children: (0, jsx_runtime_1.jsx)(PopoverPrimitive.Content, { ref: ref, align: align, sideOffset: sideOffset, className: (0, cn_1.cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", className), ...props }) })));
46
+ exports.PopoverContent = PopoverContent;
47
+ PopoverContent.displayName = PopoverPrimitive.Content.displayName;
48
+ //# sourceMappingURL=popover.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.js","sourceRoot":"","sources":["../../../src/ui/primitives/popover.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0EAA4D;AAC5D,6CAA+B;AAE/B,8BAA2B;AAE3B,MAAM,OAAO,GAAG,gBAAgB,CAAC,IAAI,CAAC;AA2B7B,0BAAO;AAzBhB,MAAM,cAAc,GAAG,gBAAgB,CAAC,OAAO,CAAC;AAyB9B,wCAAc;AAnBhC,MAAM,cAAc,GAAG,KAAK,CAAC,UAAU,CAGrC,CAAC,EAAE,SAAS,EAAE,KAAK,GAAG,QAAQ,EAAE,UAAU,GAAG,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAC/E,uBAAC,gBAAgB,CAAC,MAAM,IAAC,SAAS,EAAE,SAAS,IAAI,SAAS,YACxD,uBAAC,gBAAgB,CAAC,OAAO,IACvB,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,IAAA,OAAE,EACX,4aAA4a,EAC5a,SAAS,CACV,KACG,KAAK,GACT,GACsB,CAC3B,CAAC,CAAC;AAG+B,wCAAc;AAFhD,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC,OAAO,CAAC,WAAW,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
2
+ import * as React from "react";
3
+ declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
5
+ export { RadioGroup, RadioGroupItem };
6
+ //# sourceMappingURL=radio-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../src/ui/primitives/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAEnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,UAAU,+JAKd,CAAC;AAGH,QAAA,MAAM,cAAc,yKAkBlB,CAAC;AAGH,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.RadioGroupItem = exports.RadioGroup = void 0;
37
+ const jsx_runtime_1 = require("react/jsx-runtime");
38
+ const RadioGroupPrimitive = __importStar(require("@radix-ui/react-radio-group"));
39
+ const lucide_react_1 = require("lucide-react");
40
+ const React = __importStar(require("react"));
41
+ const cn_1 = require("../cn");
42
+ const RadioGroup = React.forwardRef(({ className, ...props }, ref) => {
43
+ return (0, jsx_runtime_1.jsx)(RadioGroupPrimitive.Root, { className: (0, cn_1.cn)("grid gap-2", className), ...props, ref: ref });
44
+ });
45
+ exports.RadioGroup = RadioGroup;
46
+ RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
47
+ const RadioGroupItem = React.forwardRef(({ className, ...props }, ref) => {
48
+ return ((0, jsx_runtime_1.jsx)(RadioGroupPrimitive.Item, { ref: ref, className: (0, cn_1.cn)("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", className), ...props, children: (0, jsx_runtime_1.jsx)(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: (0, jsx_runtime_1.jsx)(lucide_react_1.Circle, { className: "h-4 w-4 fill-current text-current" }) }) }));
49
+ });
50
+ exports.RadioGroupItem = RadioGroupItem;
51
+ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
52
+ //# sourceMappingURL=radio-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"radio-group.js","sourceRoot":"","sources":["../../../src/ui/primitives/radio-group.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iFAAmE;AACnE,+CAAsC;AACtC,6CAA+B;AAE/B,8BAA2B;AAE3B,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CAGjC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACjC,OAAO,uBAAC,mBAAmB,CAAC,IAAI,IAAC,SAAS,EAAE,IAAA,OAAE,EAAC,YAAY,EAAE,SAAS,CAAC,KAAM,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,CAAC;AACnG,CAAC,CAAC,CAAC;AAwBM,gCAAU;AAvBnB,UAAU,CAAC,WAAW,GAAG,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC;AAE9D,MAAM,cAAc,GAAG,KAAK,CAAC,UAAU,CAGrC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACjC,OAAO,CACL,uBAAC,mBAAmB,CAAC,IAAI,IACvB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,OAAE,EACX,0OAA0O,EAC1O,SAAS,CACV,KACG,KAAK,YAET,uBAAC,mBAAmB,CAAC,SAAS,IAAC,SAAS,EAAC,kCAAkC,YACzE,uBAAC,qBAAM,IAAC,SAAS,EAAC,mCAAmC,GAAG,GAC1B,GACP,CAC5B,CAAC;AACJ,CAAC,CAAC,CAAC;AAGkB,wCAAc;AAFnC,cAAc,CAAC,WAAW,GAAG,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { Group, Panel, Separator } from "react-resizable-panels";
2
+ type Direction = "horizontal" | "vertical";
3
+ declare const ResizablePanelGroup: ({ className, direction, ...props }: Omit<React.ComponentProps<typeof Group>, "orientation"> & {
4
+ direction?: Direction;
5
+ }) => import("react").JSX.Element;
6
+ declare const ResizablePanel: typeof Panel;
7
+ declare const ResizableHandle: ({ withHandle, className, direction, ...props }: React.ComponentProps<typeof Separator> & {
8
+ withHandle?: boolean;
9
+ direction?: Direction;
10
+ }) => import("react").JSX.Element;
11
+ export { ResizablePanelGroup, ResizablePanel, ResizableHandle };
12
+ //# sourceMappingURL=resizable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../src/ui/primitives/resizable.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAchE,KAAK,SAAS,GAAG,YAAY,GAAG,UAAU,CAAA;AAE1C,QAAA,MAAM,mBAAmB,GAAI,oCAI1B,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,EAAE,aAAa,CAAC,GAAG;IAC3D,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB,gCAMA,CAAA;AAED,QAAA,MAAM,cAAc,cAAQ,CAAA;AAE5B,QAAA,MAAM,eAAe,GAAI,gDAKtB,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB,gCAuBA,CAAA;AAED,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResizableHandle = exports.ResizablePanel = exports.ResizablePanelGroup = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const lucide_react_1 = require("lucide-react");
6
+ const react_resizable_panels_1 = require("react-resizable-panels");
7
+ const cn_1 = require("../cn");
8
+ const ResizablePanelGroup = ({ className, direction, ...props }) => ((0, jsx_runtime_1.jsx)(react_resizable_panels_1.Group, { orientation: direction, className: (0, cn_1.cn)("flex h-full w-full", className), ...props }));
9
+ exports.ResizablePanelGroup = ResizablePanelGroup;
10
+ const ResizablePanel = react_resizable_panels_1.Panel;
11
+ exports.ResizablePanel = ResizablePanel;
12
+ const ResizableHandle = ({ withHandle, className, direction, ...props }) => ((0, jsx_runtime_1.jsx)(react_resizable_panels_1.Separator, { className: (0, cn_1.cn)("relative flex items-center justify-center bg-border/60 hover:bg-border focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 transition-colors", direction === "vertical"
13
+ ? "h-px w-full cursor-row-resize after:absolute after:left-0 after:h-2 after:w-full after:-translate-y-1/2"
14
+ : "w-[3px] cursor-col-resize after:absolute after:inset-y-0 after:left-1/2 after:w-2 after:-translate-x-1/2", className), ...props, children: withHandle && ((0, jsx_runtime_1.jsx)("div", { className: (0, cn_1.cn)("z-10 flex items-center justify-center rounded-sm border bg-border", direction === "vertical" ? "w-4 h-3" : "h-4 w-3"), children: direction === "vertical"
15
+ ? (0, jsx_runtime_1.jsx)(lucide_react_1.GripHorizontal, { className: "h-4 w-4" })
16
+ : (0, jsx_runtime_1.jsx)(lucide_react_1.GripVertical, { className: "h-4 w-4" }) })) }));
17
+ exports.ResizableHandle = ResizableHandle;
18
+ //# sourceMappingURL=resizable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resizable.js","sourceRoot":"","sources":["../../../src/ui/primitives/resizable.tsx"],"names":[],"mappings":";;;;AAAA,+CAA2D;AAC3D,mEAAgE;AAEhE,8BAA0B;AAc1B,MAAM,mBAAmB,GAAG,CAAC,EAC3B,SAAS,EACT,SAAS,EACT,GAAG,KAAK,EAGT,EAAE,EAAE,CAAC,CACJ,uBAAC,8BAAK,IACJ,WAAW,EAAE,SAAS,EACtB,SAAS,EAAE,IAAA,OAAE,EAAC,oBAAoB,EAAE,SAAS,CAAC,KAC1C,KAAK,GACT,CACH,CAAA;AAqCQ,kDAAmB;AAnC5B,MAAM,cAAc,GAAG,8BAAK,CAAA;AAmCE,wCAAc;AAjC5C,MAAM,eAAe,GAAG,CAAC,EACvB,UAAU,EACV,SAAS,EACT,SAAS,EACT,GAAG,KAAK,EAIT,EAAE,EAAE,CAAC,CACJ,uBAAC,kCAAS,IACR,SAAS,EAAE,IAAA,OAAE,EACX,8LAA8L,EAC9L,SAAS,KAAK,UAAU;QACtB,CAAC,CAAC,yGAAyG;QAC3G,CAAC,CAAC,0GAA0G,EAC9G,SAAS,CACV,KACG,KAAK,YAER,UAAU,IAAI,CACb,gCAAK,SAAS,EAAE,IAAA,OAAE,EAChB,mEAAmE,EACnE,SAAS,KAAK,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CACjD,YACE,SAAS,KAAK,UAAU;YACvB,CAAC,CAAC,uBAAC,6BAAc,IAAC,SAAS,EAAC,SAAS,GAAG;YACxC,CAAC,CAAC,uBAAC,2BAAY,IAAC,SAAS,EAAC,SAAS,GAAG,GAEpC,CACP,GACS,CACb,CAAA;AAE6C,0CAAe"}
@@ -0,0 +1,6 @@
1
+ import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
2
+ import * as React from "react";
3
+ declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ export { ScrollArea, ScrollBar };
6
+ //# sourceMappingURL=scroll-area.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../src/ui/primitives/scroll-area.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,UAAU,+JASd,CAAC;AAGH,QAAA,MAAM,SAAS,wKAiBb,CAAC;AAGH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.ScrollBar = exports.ScrollArea = void 0;
37
+ const jsx_runtime_1 = require("react/jsx-runtime");
38
+ const ScrollAreaPrimitive = __importStar(require("@radix-ui/react-scroll-area"));
39
+ const React = __importStar(require("react"));
40
+ const cn_1 = require("../cn");
41
+ const ScrollArea = React.forwardRef(({ className, children, ...props }, ref) => ((0, jsx_runtime_1.jsxs)(ScrollAreaPrimitive.Root, { ref: ref, className: (0, cn_1.cn)("relative overflow-hidden", className), ...props, children: [(0, jsx_runtime_1.jsx)(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children: children }), (0, jsx_runtime_1.jsx)(ScrollBar, {}), (0, jsx_runtime_1.jsx)(ScrollAreaPrimitive.Corner, {})] })));
42
+ exports.ScrollArea = ScrollArea;
43
+ ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
44
+ const ScrollBar = React.forwardRef(({ className, orientation = "vertical", ...props }, ref) => ((0, jsx_runtime_1.jsx)(ScrollAreaPrimitive.ScrollAreaScrollbar, { ref: ref, orientation: orientation, className: (0, cn_1.cn)("flex touch-none select-none transition-colors", orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]", orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]", className), ...props, children: (0, jsx_runtime_1.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" }) })));
45
+ exports.ScrollBar = ScrollBar;
46
+ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
47
+ //# sourceMappingURL=scroll-area.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-area.js","sourceRoot":"","sources":["../../../src/ui/primitives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rimitive from "@radix-ui/react-select";
2
+ import * as React from "react";
3
+ declare const Select: React.FC<SelectPrimitive.SelectProps>;
4
+ declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
5
+ declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
6
+ declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
+ declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
+ declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
+ declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
+ declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
+ declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
+ declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
+ export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, };
14
+ //# sourceMappingURL=select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/ui/primitives/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,MAAM,uCAAuB,CAAC;AAEpC,QAAA,MAAM,WAAW,yGAAwB,CAAC;AAE1C,QAAA,MAAM,WAAW,0GAAwB,CAAC;AAE1C,QAAA,MAAM,aAAa,oKAiBjB,CAAC;AAGH,QAAA,MAAM,oBAAoB,qKAWxB,CAAC;AAGH,QAAA,MAAM,sBAAsB,uKAW1B,CAAC;AAGH,QAAA,MAAM,aAAa,8JA6BjB,CAAC;AAGH,QAAA,MAAM,WAAW,4JAKf,CAAC;AAGH,QAAA,MAAM,UAAU,2JAoBd,CAAC;AAGH,QAAA,MAAM,eAAe,gKAKnB,CAAC;AAGH,OAAO,EACL,MAAM,EACN,WAAW,EACX,WAAW,EACX,aAAa,EACb,aAAa,EACb,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,sBAAsB,GACvB,CAAC"}
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.SelectScrollDownButton = exports.SelectScrollUpButton = exports.SelectSeparator = exports.SelectItem = exports.SelectLabel = exports.SelectContent = exports.SelectTrigger = exports.SelectValue = exports.SelectGroup = exports.Select = void 0;
37
+ const jsx_runtime_1 = require("react/jsx-runtime");
38
+ const SelectPrimitive = __importStar(require("@radix-ui/react-select"));
39
+ const lucide_react_1 = require("lucide-react");
40
+ const React = __importStar(require("react"));
41
+ const cn_1 = require("../cn");
42
+ const Select = SelectPrimitive.Root;
43
+ exports.Select = Select;
44
+ const SelectGroup = SelectPrimitive.Group;
45
+ exports.SelectGroup = SelectGroup;
46
+ const SelectValue = SelectPrimitive.Value;
47
+ exports.SelectValue = SelectValue;
48
+ const SelectTrigger = React.forwardRef(({ className, children, ...props }, ref) => ((0, jsx_runtime_1.jsxs)(SelectPrimitive.Trigger, { ref: ref, className: (0, cn_1.cn)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-body-1 ring-offset-background placeholder:text-ink-3 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1", className), ...props, children: [children, (0, jsx_runtime_1.jsx)(SelectPrimitive.Icon, { asChild: true, children: (0, jsx_runtime_1.jsx)(lucide_react_1.ChevronDown, { className: "h-4 w-4 opacity-50" }) })] })));
49
+ exports.SelectTrigger = SelectTrigger;
50
+ SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
51
+ const SelectScrollUpButton = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(SelectPrimitive.ScrollUpButton, { ref: ref, className: (0, cn_1.cn)("flex cursor-default items-center justify-center py-1", className), ...props, children: (0, jsx_runtime_1.jsx)(lucide_react_1.ChevronUp, { className: "h-4 w-4" }) })));
52
+ exports.SelectScrollUpButton = SelectScrollUpButton;
53
+ SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
54
+ const SelectScrollDownButton = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(SelectPrimitive.ScrollDownButton, { ref: ref, className: (0, cn_1.cn)("flex cursor-default items-center justify-center py-1", className), ...props, children: (0, jsx_runtime_1.jsx)(lucide_react_1.ChevronDown, { className: "h-4 w-4" }) })));
55
+ exports.SelectScrollDownButton = SelectScrollDownButton;
56
+ SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
57
+ const SelectContent = React.forwardRef(({ className, children, position = "popper", ...props }, ref) => ((0, jsx_runtime_1.jsx)(SelectPrimitive.Portal, { children: (0, jsx_runtime_1.jsxs)(SelectPrimitive.Content, { ref: ref, className: (0, cn_1.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", position === "popper" &&
58
+ "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className), position: position, ...props, children: [(0, jsx_runtime_1.jsx)(SelectScrollUpButton, {}), (0, jsx_runtime_1.jsx)(SelectPrimitive.Viewport, { className: (0, cn_1.cn)("p-1", position === "popper" &&
59
+ "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"), children: children }), (0, jsx_runtime_1.jsx)(SelectScrollDownButton, {})] }) })));
60
+ exports.SelectContent = SelectContent;
61
+ SelectContent.displayName = SelectPrimitive.Content.displayName;
62
+ const SelectLabel = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(SelectPrimitive.Label, { ref: ref, className: (0, cn_1.cn)("py-1.5 pl-8 pr-2 text-body-1 font-semibold", className), ...props })));
63
+ exports.SelectLabel = SelectLabel;
64
+ SelectLabel.displayName = SelectPrimitive.Label.displayName;
65
+ const SelectItem = React.forwardRef(({ className, children, ...props }, ref) => ((0, jsx_runtime_1.jsxs)(SelectPrimitive.Item, { ref: ref, className: (0, cn_1.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-body-1 outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-accent focus:text-accent-foreground", className), ...props, children: [(0, jsx_runtime_1.jsx)("span", { className: "absolute left-2 flex h-4 w-4 items-center justify-center", children: (0, jsx_runtime_1.jsx)(SelectPrimitive.ItemIndicator, { children: (0, jsx_runtime_1.jsx)(lucide_react_1.Check, { className: "h-4 w-4" }) }) }), (0, jsx_runtime_1.jsx)(SelectPrimitive.ItemText, { children: children })] })));
66
+ exports.SelectItem = SelectItem;
67
+ SelectItem.displayName = SelectPrimitive.Item.displayName;
68
+ const SelectSeparator = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(SelectPrimitive.Separator, { ref: ref, className: (0, cn_1.cn)("-mx-1 my-1 h-px bg-muted", className), ...props })));
69
+ exports.SelectSeparator = SelectSeparator;
70
+ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
71
+ //# sourceMappingURL=select.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select.js","sourceRoot":"","sources":["../../../src/ui/primitives/select.tsx"],"names":[],"mappings":";;;;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IAAC,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,IAAA,OAAE,EAAC,4CAA4C,EAAE,SAAS,CAAC,KAAM,KAAK,GAAI,CACvH,CAAC,CAAC;AAwCD,kCAAW;AAvCb,WAAW,CAAC,WAAW,GAAG,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC;AAE5D,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CAGjC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAC5C,wBAAC,eAAe,CAAC,IAAI,IACnB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,OAAE,EACX,+NAA+N,EAC/N,SAAS,CACV,KACG,KAAK,aAET,iCAAM,SAAS,EAAC,0DAA0D,YACxE,uBAAC,eAAe,CAAC,aAAa,cAC5B,uBAAC,oBAAK,IAAC,SAAS,EAAC,SAAS,GAAG,GACC,GAC3B,EAEP,uBAAC,eAAe,CAAC,QAAQ,cAAE,QAAQ,GAA4B,IAC1C,CACxB,CAAC,CAAC;AAkBD,gCAAU;AAjBZ,UAAU,CAAC,WAAW,GAAG,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC;AAE1D,MAAM,eAAe,GAAG,KAAK,CAAC,UAAU,CAGtC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,uBAAC,eAAe,CAAC,SAAS,IAAC,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,IAAA,OAAE,EAAC,0BAA0B,EAAE,SAAS,CAAC,KAAM,KAAK,GAAI,CACzG,CAAC,CAAC;AAWD,0CAAe;AAVjB,eAAe,CAAC,WAAW,GAAG,eAAe,CAAC,SAAS,CAAC,WAAW,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as SeparatorPrimitive from "@radix-ui/react-separator";
2
+ import * as React from "react";
3
+ declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ export { Separator };
5
+ //# sourceMappingURL=separator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../src/ui/primitives/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,SAAS,6JAWb,CAAC;AAGH,OAAO,EAAE,SAAS,EAAE,CAAC"}