@xemahq/ui-kernel 0.1.12 → 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 (195) 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/host-bridge.d.ts +2 -0
  6. package/dist/lib/biome-host/host-bridge.d.ts.map +1 -1
  7. package/dist/lib/biome-host/host-bridge.js.map +1 -1
  8. package/dist/lib/capabilities/capability-provider.d.ts +15 -0
  9. package/dist/lib/capabilities/capability-provider.d.ts.map +1 -0
  10. package/dist/lib/capabilities/capability-provider.js +36 -0
  11. package/dist/lib/capabilities/capability-provider.js.map +1 -0
  12. package/dist/lib/capabilities/index.d.ts +4 -0
  13. package/dist/lib/capabilities/index.d.ts.map +1 -0
  14. package/dist/lib/capabilities/index.js +20 -0
  15. package/dist/lib/capabilities/index.js.map +1 -0
  16. package/dist/lib/capabilities/types.d.ts +18 -0
  17. package/dist/lib/capabilities/types.d.ts.map +1 -0
  18. package/dist/lib/capabilities/types.js +3 -0
  19. package/dist/lib/capabilities/types.js.map +1 -0
  20. package/dist/lib/capabilities/use-capability.d.ts +18 -0
  21. package/dist/lib/capabilities/use-capability.d.ts.map +1 -0
  22. package/dist/lib/capabilities/use-capability.js +21 -0
  23. package/dist/lib/capabilities/use-capability.js.map +1 -0
  24. package/dist/ui/chrome/AsyncBoundary.d.ts +22 -0
  25. package/dist/ui/chrome/AsyncBoundary.d.ts.map +1 -0
  26. package/dist/ui/chrome/AsyncBoundary.js +23 -0
  27. package/dist/ui/chrome/AsyncBoundary.js.map +1 -0
  28. package/dist/ui/chrome/EmptyState.d.ts +34 -0
  29. package/dist/ui/chrome/EmptyState.d.ts.map +1 -0
  30. package/dist/ui/chrome/EmptyState.js +27 -0
  31. package/dist/ui/chrome/EmptyState.js.map +1 -0
  32. package/dist/ui/chrome/ErrorCard.d.ts +11 -0
  33. package/dist/ui/chrome/ErrorCard.d.ts.map +1 -0
  34. package/dist/ui/chrome/ErrorCard.js +21 -0
  35. package/dist/ui/chrome/ErrorCard.js.map +1 -0
  36. package/dist/ui/chrome/LoadingState.d.ts +10 -0
  37. package/dist/ui/chrome/LoadingState.d.ts.map +1 -0
  38. package/dist/ui/chrome/LoadingState.js +17 -0
  39. package/dist/ui/chrome/LoadingState.js.map +1 -0
  40. package/dist/ui/chrome/PageHeader.d.ts +20 -0
  41. package/dist/ui/chrome/PageHeader.d.ts.map +1 -0
  42. package/dist/ui/chrome/PageHeader.js +26 -0
  43. package/dist/ui/chrome/PageHeader.js.map +1 -0
  44. package/dist/ui/chrome/StateCard.d.ts +24 -0
  45. package/dist/ui/chrome/StateCard.d.ts.map +1 -0
  46. package/dist/ui/chrome/StateCard.js +17 -0
  47. package/dist/ui/chrome/StateCard.js.map +1 -0
  48. package/dist/ui/cn.d.ts +3 -0
  49. package/dist/ui/cn.d.ts.map +1 -0
  50. package/dist/ui/cn.js +18 -0
  51. package/dist/ui/cn.js.map +1 -0
  52. package/dist/ui/index.d.ts +33 -0
  53. package/dist/ui/index.d.ts.map +1 -0
  54. package/dist/ui/index.js +61 -0
  55. package/dist/ui/index.js.map +1 -0
  56. package/dist/ui/primitives/alert-dialog.d.ts +21 -0
  57. package/dist/ui/primitives/alert-dialog.d.ts.map +1 -0
  58. package/dist/ui/primitives/alert-dialog.js +72 -0
  59. package/dist/ui/primitives/alert-dialog.js.map +1 -0
  60. package/dist/ui/primitives/badge.d.ts +10 -0
  61. package/dist/ui/primitives/badge.d.ts.map +1 -0
  62. package/dist/ui/primitives/badge.js +60 -0
  63. package/dist/ui/primitives/badge.js.map +1 -0
  64. package/dist/ui/primitives/button.d.ts +12 -0
  65. package/dist/ui/primitives/button.d.ts.map +1 -0
  66. package/dist/ui/primitives/button.js +71 -0
  67. package/dist/ui/primitives/button.js.map +1 -0
  68. package/dist/ui/primitives/card.d.ts +9 -0
  69. package/dist/ui/primitives/card.d.ts.map +1 -0
  70. package/dist/ui/primitives/card.js +58 -0
  71. package/dist/ui/primitives/card.js.map +1 -0
  72. package/dist/ui/primitives/checkbox.d.ts +5 -0
  73. package/dist/ui/primitives/checkbox.d.ts.map +1 -0
  74. package/dist/ui/primitives/checkbox.js +45 -0
  75. package/dist/ui/primitives/checkbox.js.map +1 -0
  76. package/dist/ui/primitives/collapsible.d.ts +6 -0
  77. package/dist/ui/primitives/collapsible.d.ts.map +1 -0
  78. package/dist/ui/primitives/collapsible.js +44 -0
  79. package/dist/ui/primitives/collapsible.js.map +1 -0
  80. package/dist/ui/primitives/dialog.d.ts +22 -0
  81. package/dist/ui/primitives/dialog.d.ts.map +1 -0
  82. package/dist/ui/primitives/dialog.js +68 -0
  83. package/dist/ui/primitives/dialog.js.map +1 -0
  84. package/dist/ui/primitives/dropdown-menu.d.ts +28 -0
  85. package/dist/ui/primitives/dropdown-menu.d.ts.map +1 -0
  86. package/dist/ui/primitives/dropdown-menu.js +83 -0
  87. package/dist/ui/primitives/dropdown-menu.js.map +1 -0
  88. package/dist/ui/primitives/input.d.ts +4 -0
  89. package/dist/ui/primitives/input.d.ts.map +1 -0
  90. package/dist/ui/primitives/input.js +45 -0
  91. package/dist/ui/primitives/input.js.map +1 -0
  92. package/dist/ui/primitives/label.d.ts +6 -0
  93. package/dist/ui/primitives/label.d.ts.map +1 -0
  94. package/dist/ui/primitives/label.js +46 -0
  95. package/dist/ui/primitives/label.js.map +1 -0
  96. package/dist/ui/primitives/overflow-tabs.d.ts +18 -0
  97. package/dist/ui/primitives/overflow-tabs.d.ts.map +1 -0
  98. package/dist/ui/primitives/overflow-tabs.js +84 -0
  99. package/dist/ui/primitives/overflow-tabs.js.map +1 -0
  100. package/dist/ui/primitives/popover.d.ts +9 -0
  101. package/dist/ui/primitives/popover.d.ts.map +1 -0
  102. package/dist/ui/primitives/popover.js +48 -0
  103. package/dist/ui/primitives/popover.js.map +1 -0
  104. package/dist/ui/primitives/radio-group.d.ts +6 -0
  105. package/dist/ui/primitives/radio-group.d.ts.map +1 -0
  106. package/dist/ui/primitives/radio-group.js +52 -0
  107. package/dist/ui/primitives/radio-group.js.map +1 -0
  108. package/dist/ui/primitives/resizable.d.ts +12 -0
  109. package/dist/ui/primitives/resizable.d.ts.map +1 -0
  110. package/dist/ui/primitives/resizable.js +18 -0
  111. package/dist/ui/primitives/resizable.js.map +1 -0
  112. package/dist/ui/primitives/scroll-area.d.ts +6 -0
  113. package/dist/ui/primitives/scroll-area.d.ts.map +1 -0
  114. package/dist/ui/primitives/scroll-area.js +47 -0
  115. package/dist/ui/primitives/scroll-area.js.map +1 -0
  116. package/dist/ui/primitives/select.d.ts +14 -0
  117. package/dist/ui/primitives/select.d.ts.map +1 -0
  118. package/dist/ui/primitives/select.js +71 -0
  119. package/dist/ui/primitives/select.js.map +1 -0
  120. package/dist/ui/primitives/separator.d.ts +5 -0
  121. package/dist/ui/primitives/separator.d.ts.map +1 -0
  122. package/dist/ui/primitives/separator.js +44 -0
  123. package/dist/ui/primitives/separator.js.map +1 -0
  124. package/dist/ui/primitives/sheet.d.ts +26 -0
  125. package/dist/ui/primitives/sheet.d.ts.map +1 -0
  126. package/dist/ui/primitives/sheet.js +82 -0
  127. package/dist/ui/primitives/sheet.js.map +1 -0
  128. package/dist/ui/primitives/skeleton.d.ts +13 -0
  129. package/dist/ui/primitives/skeleton.d.ts.map +1 -0
  130. package/dist/ui/primitives/skeleton.js +29 -0
  131. package/dist/ui/primitives/skeleton.js.map +1 -0
  132. package/dist/ui/primitives/switch.d.ts +5 -0
  133. package/dist/ui/primitives/switch.d.ts.map +1 -0
  134. package/dist/ui/primitives/switch.js +44 -0
  135. package/dist/ui/primitives/switch.js.map +1 -0
  136. package/dist/ui/primitives/table.d.ts +11 -0
  137. package/dist/ui/primitives/table.d.ts.map +1 -0
  138. package/dist/ui/primitives/table.js +64 -0
  139. package/dist/ui/primitives/table.js.map +1 -0
  140. package/dist/ui/primitives/tabs.d.ts +8 -0
  141. package/dist/ui/primitives/tabs.d.ts.map +1 -0
  142. package/dist/ui/primitives/tabs.js +52 -0
  143. package/dist/ui/primitives/tabs.js.map +1 -0
  144. package/dist/ui/primitives/tag-multi-select.d.ts +19 -0
  145. package/dist/ui/primitives/tag-multi-select.d.ts.map +1 -0
  146. package/dist/ui/primitives/tag-multi-select.js +92 -0
  147. package/dist/ui/primitives/tag-multi-select.js.map +1 -0
  148. package/dist/ui/primitives/textarea.d.ts +5 -0
  149. package/dist/ui/primitives/textarea.d.ts.map +1 -0
  150. package/dist/ui/primitives/textarea.js +45 -0
  151. package/dist/ui/primitives/textarea.js.map +1 -0
  152. package/dist/ui/primitives/tooltip.d.ts +8 -0
  153. package/dist/ui/primitives/tooltip.d.ts.map +1 -0
  154. package/dist/ui/primitives/tooltip.js +50 -0
  155. package/dist/ui/primitives/tooltip.js.map +1 -0
  156. package/package.json +24 -1
  157. package/src/index.ts +1 -0
  158. package/src/lib/biome-host/host-bridge.ts +10 -0
  159. package/src/lib/capabilities/capability-provider.tsx +95 -0
  160. package/src/lib/capabilities/index.ts +16 -0
  161. package/src/lib/capabilities/types.ts +69 -0
  162. package/src/lib/capabilities/use-capability.ts +72 -0
  163. package/src/ui/chrome/AsyncBoundary.tsx +66 -0
  164. package/src/ui/chrome/EmptyState.tsx +184 -0
  165. package/src/ui/chrome/ErrorCard.tsx +68 -0
  166. package/src/ui/chrome/LoadingState.tsx +61 -0
  167. package/src/ui/chrome/PageHeader.tsx +137 -0
  168. package/src/ui/chrome/StateCard.tsx +150 -0
  169. package/src/ui/cn.ts +32 -0
  170. package/src/ui/index.ts +53 -0
  171. package/src/ui/primitives/alert-dialog.tsx +104 -0
  172. package/src/ui/primitives/badge.tsx +32 -0
  173. package/src/ui/primitives/button.tsx +47 -0
  174. package/src/ui/primitives/card.tsx +43 -0
  175. package/src/ui/primitives/checkbox.tsx +26 -0
  176. package/src/ui/primitives/collapsible.tsx +9 -0
  177. package/src/ui/primitives/dialog.tsx +103 -0
  178. package/src/ui/primitives/dropdown-menu.tsx +179 -0
  179. package/src/ui/primitives/input.tsx +22 -0
  180. package/src/ui/primitives/label.tsx +17 -0
  181. package/src/ui/primitives/overflow-tabs.tsx +281 -0
  182. package/src/ui/primitives/popover.tsx +33 -0
  183. package/src/ui/primitives/radio-group.tsx +36 -0
  184. package/src/ui/primitives/resizable.tsx +67 -0
  185. package/src/ui/primitives/scroll-area.tsx +38 -0
  186. package/src/ui/primitives/select.tsx +143 -0
  187. package/src/ui/primitives/separator.tsx +20 -0
  188. package/src/ui/primitives/sheet.tsx +107 -0
  189. package/src/ui/primitives/skeleton.tsx +99 -0
  190. package/src/ui/primitives/switch.tsx +27 -0
  191. package/src/ui/primitives/table.tsx +72 -0
  192. package/src/ui/primitives/tabs.tsx +53 -0
  193. package/src/ui/primitives/tag-multi-select.tsx +241 -0
  194. package/src/ui/primitives/textarea.tsx +21 -0
  195. package/src/ui/primitives/tooltip.tsx +30 -0
package/dist/ui/cn.js ADDED
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.cn = cn;
4
+ const clsx_1 = require("clsx");
5
+ const tailwind_merge_1 = require("tailwind-merge");
6
+ const twMerge = (0, tailwind_merge_1.extendTailwindMerge)({
7
+ extend: {
8
+ classGroups: {
9
+ 'font-size': [
10
+ { text: ['caption', 'body-1', 'body-2', 'subtitle', 'title', 'display'] },
11
+ ],
12
+ },
13
+ },
14
+ });
15
+ function cn(...inputs) {
16
+ return twMerge((0, clsx_1.clsx)(inputs));
17
+ }
18
+ //# sourceMappingURL=cn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cn.js","sourceRoot":"","sources":["../../src/ui/cn.ts"],"names":[],"mappings":";;AA6BA,gBAEC;AA/BD,+BAA6C;AAC7C,mDAAqD;AAcrD,MAAM,OAAO,GAAG,IAAA,oCAAmB,EAAC;IAClC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,WAAW,EAAE;gBACX,EAAE,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE;aAC1E;SACF;KACF;CACF,CAAC,CAAC;AAMH,SAAgB,EAAE,CAAC,GAAG,MAAoB;IACxC,OAAO,OAAO,CAAC,IAAA,WAAI,EAAC,MAAM,CAAC,CAAC,CAAC;AAC/B,CAAC"}
@@ -0,0 +1,33 @@
1
+ export { cn } from './cn';
2
+ export * from './primitives/button';
3
+ export * from './primitives/badge';
4
+ export * from './primitives/input';
5
+ export * from './primitives/label';
6
+ export * from './primitives/select';
7
+ export * from './primitives/dialog';
8
+ export * from './primitives/card';
9
+ export * from './primitives/textarea';
10
+ export * from './primitives/tabs';
11
+ export * from './primitives/dropdown-menu';
12
+ export * from './primitives/skeleton';
13
+ export * from './primitives/checkbox';
14
+ export * from './primitives/table';
15
+ export * from './primitives/tooltip';
16
+ export * from './primitives/switch';
17
+ export * from './primitives/separator';
18
+ export * from './primitives/scroll-area';
19
+ export * from './primitives/alert-dialog';
20
+ export * from './primitives/popover';
21
+ export * from './primitives/collapsible';
22
+ export * from './primitives/resizable';
23
+ export * from './primitives/radio-group';
24
+ export * from './primitives/overflow-tabs';
25
+ export * from './primitives/tag-multi-select';
26
+ export * from './primitives/sheet';
27
+ export { default as ErrorCard, type ErrorMessageFormatter } from './chrome/ErrorCard';
28
+ export { default as EmptyState, type EmptyStateVariant, type EmptyStateSize, type EmptyStateLinkComponent, } from './chrome/EmptyState';
29
+ export { StateCard } from './chrome/StateCard';
30
+ export { default as PageHeader, PageToolbar } from './chrome/PageHeader';
31
+ export { default as LoadingState, type LoadingStateVariant } from './chrome/LoadingState';
32
+ export { default as AsyncBoundary } from './chrome/AsyncBoundary';
33
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAG1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AAGnC,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACtF,OAAO,EACL,OAAO,IAAI,UAAU,EACrB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,uBAAuB,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,61 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ var __importDefault = (this && this.__importDefault) || function (mod) {
17
+ return (mod && mod.__esModule) ? mod : { "default": mod };
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.AsyncBoundary = exports.LoadingState = exports.PageToolbar = exports.PageHeader = exports.StateCard = exports.EmptyState = exports.ErrorCard = exports.cn = void 0;
21
+ var cn_1 = require("./cn");
22
+ Object.defineProperty(exports, "cn", { enumerable: true, get: function () { return cn_1.cn; } });
23
+ __exportStar(require("./primitives/button"), exports);
24
+ __exportStar(require("./primitives/badge"), exports);
25
+ __exportStar(require("./primitives/input"), exports);
26
+ __exportStar(require("./primitives/label"), exports);
27
+ __exportStar(require("./primitives/select"), exports);
28
+ __exportStar(require("./primitives/dialog"), exports);
29
+ __exportStar(require("./primitives/card"), exports);
30
+ __exportStar(require("./primitives/textarea"), exports);
31
+ __exportStar(require("./primitives/tabs"), exports);
32
+ __exportStar(require("./primitives/dropdown-menu"), exports);
33
+ __exportStar(require("./primitives/skeleton"), exports);
34
+ __exportStar(require("./primitives/checkbox"), exports);
35
+ __exportStar(require("./primitives/table"), exports);
36
+ __exportStar(require("./primitives/tooltip"), exports);
37
+ __exportStar(require("./primitives/switch"), exports);
38
+ __exportStar(require("./primitives/separator"), exports);
39
+ __exportStar(require("./primitives/scroll-area"), exports);
40
+ __exportStar(require("./primitives/alert-dialog"), exports);
41
+ __exportStar(require("./primitives/popover"), exports);
42
+ __exportStar(require("./primitives/collapsible"), exports);
43
+ __exportStar(require("./primitives/resizable"), exports);
44
+ __exportStar(require("./primitives/radio-group"), exports);
45
+ __exportStar(require("./primitives/overflow-tabs"), exports);
46
+ __exportStar(require("./primitives/tag-multi-select"), exports);
47
+ __exportStar(require("./primitives/sheet"), exports);
48
+ var ErrorCard_1 = require("./chrome/ErrorCard");
49
+ Object.defineProperty(exports, "ErrorCard", { enumerable: true, get: function () { return __importDefault(ErrorCard_1).default; } });
50
+ var EmptyState_1 = require("./chrome/EmptyState");
51
+ Object.defineProperty(exports, "EmptyState", { enumerable: true, get: function () { return __importDefault(EmptyState_1).default; } });
52
+ var StateCard_1 = require("./chrome/StateCard");
53
+ Object.defineProperty(exports, "StateCard", { enumerable: true, get: function () { return StateCard_1.StateCard; } });
54
+ var PageHeader_1 = require("./chrome/PageHeader");
55
+ Object.defineProperty(exports, "PageHeader", { enumerable: true, get: function () { return __importDefault(PageHeader_1).default; } });
56
+ Object.defineProperty(exports, "PageToolbar", { enumerable: true, get: function () { return PageHeader_1.PageToolbar; } });
57
+ var LoadingState_1 = require("./chrome/LoadingState");
58
+ Object.defineProperty(exports, "LoadingState", { enumerable: true, get: function () { return __importDefault(LoadingState_1).default; } });
59
+ var AsyncBoundary_1 = require("./chrome/AsyncBoundary");
60
+ Object.defineProperty(exports, "AsyncBoundary", { enumerable: true, get: function () { return __importDefault(AsyncBoundary_1).default; } });
61
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ui/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAYA,2BAA0B;AAAjB,wFAAA,EAAE,OAAA;AAGX,sDAAoC;AACpC,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AACnC,sDAAoC;AACpC,sDAAoC;AACpC,oDAAkC;AAClC,wDAAsC;AACtC,oDAAkC;AAClC,6DAA2C;AAC3C,wDAAsC;AACtC,wDAAsC;AACtC,qDAAmC;AACnC,uDAAqC;AACrC,sDAAoC;AACpC,yDAAuC;AACvC,2DAAyC;AACzC,4DAA0C;AAC1C,uDAAqC;AACrC,2DAAyC;AACzC,yDAAuC;AACvC,2DAAyC;AACzC,6DAA2C;AAC3C,gEAA8C;AAC9C,qDAAmC;AAGnC,gDAAsF;AAA7E,uHAAA,OAAO,OAAa;AAC7B,kDAK6B;AAJ3B,yHAAA,OAAO,OAAc;AAKvB,gDAA+C;AAAtC,sGAAA,SAAS,OAAA;AAClB,kDAAyE;AAAhE,yHAAA,OAAO,OAAc;AAAE,yGAAA,WAAW,OAAA;AAC3C,sDAA0F;AAAjF,6HAAA,OAAO,OAAgB;AAChC,wDAAkE;AAAzD,+HAAA,OAAO,OAAiB"}
@@ -0,0 +1,21 @@
1
+ import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
2
+ import * as React from "react";
3
+ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
4
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
6
+ declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
+ declare const AlertDialogHeader: {
9
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
10
+ displayName: string;
11
+ };
12
+ declare const AlertDialogFooter: {
13
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
14
+ displayName: string;
15
+ };
16
+ declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
17
+ declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
18
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
19
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
20
+ export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
21
+ //# sourceMappingURL=alert-dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../../src/ui/primitives/alert-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,QAAA,MAAM,WAAW,iDAA4B,CAAC;AAE9C,QAAA,MAAM,kBAAkB,wHAA+B,CAAC;AAExD,QAAA,MAAM,iBAAiB,uDAA8B,CAAC;AAEtD,QAAA,MAAM,kBAAkB,wKAYtB,CAAC;AAGH,QAAA,MAAM,kBAAkB,wKAetB,CAAC;AAGH,QAAA,MAAM,iBAAiB;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAEvF,CAAC;AAGF,QAAA,MAAM,iBAAiB;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAEvF,CAAC;AAGF,QAAA,MAAM,gBAAgB,8KAKpB,CAAC;AAGH,QAAA,MAAM,sBAAsB,wLAK1B,CAAC;AAGH,QAAA,MAAM,iBAAiB,6KAKrB,CAAC;AAGH,QAAA,MAAM,iBAAiB,6KASrB,CAAC;AAGH,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,GAClB,CAAC"}
@@ -0,0 +1,72 @@
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.AlertDialogCancel = exports.AlertDialogAction = exports.AlertDialogDescription = exports.AlertDialogTitle = exports.AlertDialogFooter = exports.AlertDialogHeader = exports.AlertDialogContent = exports.AlertDialogTrigger = exports.AlertDialogOverlay = exports.AlertDialogPortal = exports.AlertDialog = void 0;
37
+ const jsx_runtime_1 = require("react/jsx-runtime");
38
+ const AlertDialogPrimitive = __importStar(require("@radix-ui/react-alert-dialog"));
39
+ const React = __importStar(require("react"));
40
+ const button_1 = require("./button");
41
+ const cn_1 = require("../cn");
42
+ const AlertDialog = AlertDialogPrimitive.Root;
43
+ exports.AlertDialog = AlertDialog;
44
+ const AlertDialogTrigger = AlertDialogPrimitive.Trigger;
45
+ exports.AlertDialogTrigger = AlertDialogTrigger;
46
+ const AlertDialogPortal = AlertDialogPrimitive.Portal;
47
+ exports.AlertDialogPortal = AlertDialogPortal;
48
+ const AlertDialogOverlay = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Overlay, { className: (0, cn_1.cn)("modal-scrim fixed inset-0 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className), ...props, ref: ref })));
49
+ exports.AlertDialogOverlay = AlertDialogOverlay;
50
+ AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
51
+ const AlertDialogContent = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsxs)(AlertDialogPortal, { children: [(0, jsx_runtime_1.jsx)(AlertDialogOverlay, {}), (0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Content, { ref: ref, className: (0, cn_1.cn)("modal-surface fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 p-6 duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg", className), ...props })] })));
52
+ exports.AlertDialogContent = AlertDialogContent;
53
+ AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
54
+ const AlertDialogHeader = ({ className, ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: (0, cn_1.cn)("flex flex-col space-y-2 text-center sm:text-left", className), ...props }));
55
+ exports.AlertDialogHeader = AlertDialogHeader;
56
+ AlertDialogHeader.displayName = "AlertDialogHeader";
57
+ const AlertDialogFooter = ({ className, ...props }) => ((0, jsx_runtime_1.jsx)("div", { className: (0, cn_1.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className), ...props }));
58
+ exports.AlertDialogFooter = AlertDialogFooter;
59
+ AlertDialogFooter.displayName = "AlertDialogFooter";
60
+ const AlertDialogTitle = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Title, { ref: ref, className: (0, cn_1.cn)("text-subtitle font-semibold", className), ...props })));
61
+ exports.AlertDialogTitle = AlertDialogTitle;
62
+ AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
63
+ const AlertDialogDescription = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Description, { ref: ref, className: (0, cn_1.cn)("text-body-1 text-ink-3", className), ...props })));
64
+ exports.AlertDialogDescription = AlertDialogDescription;
65
+ AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
66
+ const AlertDialogAction = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Action, { ref: ref, className: (0, cn_1.cn)((0, button_1.buttonVariants)(), className), ...props })));
67
+ exports.AlertDialogAction = AlertDialogAction;
68
+ AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
69
+ const AlertDialogCancel = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(AlertDialogPrimitive.Cancel, { ref: ref, className: (0, cn_1.cn)((0, button_1.buttonVariants)({ variant: "outline" }), "mt-2 sm:mt-0", className), ...props })));
70
+ exports.AlertDialogCancel = AlertDialogCancel;
71
+ AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
72
+ //# sourceMappingURL=alert-dialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-dialog.js","sourceRoot":"","sources":["../../../src/ui/primitives/alert-dialog.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,10 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import * as React from "react";
3
+ declare const badgeVariants: (props?: ({
4
+ variant?: "default" | "outline" | "destructive" | "secondary" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
7
+ }
8
+ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
9
+ export { Badge, badgeVariants };
10
+ //# sourceMappingURL=badge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/ui/primitives/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,aAAa;;8EAelB,CAAC;AAEF,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AAEhH,QAAA,MAAM,KAAK,oFAIV,CAAC;AAGF,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC"}
@@ -0,0 +1,60 @@
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.badgeVariants = exports.Badge = void 0;
37
+ const jsx_runtime_1 = require("react/jsx-runtime");
38
+ const class_variance_authority_1 = require("class-variance-authority");
39
+ const React = __importStar(require("react"));
40
+ const cn_1 = require("../cn");
41
+ const badgeVariants = (0, class_variance_authority_1.cva)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-body-1 font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", {
42
+ variants: {
43
+ variant: {
44
+ default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
45
+ secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
46
+ destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
47
+ outline: "border-rule bg-paper text-ink",
48
+ },
49
+ },
50
+ defaultVariants: {
51
+ variant: "default",
52
+ },
53
+ });
54
+ exports.badgeVariants = badgeVariants;
55
+ const Badge = React.forwardRef(({ className, variant, ...props }, ref) => {
56
+ return (0, jsx_runtime_1.jsx)("span", { ref: ref, className: (0, cn_1.cn)(badgeVariants({ variant }), className), ...props });
57
+ });
58
+ exports.Badge = Badge;
59
+ Badge.displayName = "Badge";
60
+ //# sourceMappingURL=badge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge.js","sourceRoot":"","sources":["../../../src/ui/primitives/badge.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAkE;AAClE,6CAA+B;AAE/B,8BAA2B;AAE3B,MAAM,aAAa,GAAG,IAAA,8BAAG,EACvB,4KAA4K,EAC5K;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,2EAA2E;YACpF,SAAS,EAAE,iFAAiF;YAC5F,WAAW,EAAE,uFAAuF;YACpG,OAAO,EAAE,+BAA+B;SACzC;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;CACF,CACF,CAAC;AAWc,sCAAa;AAP7B,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAC5B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACxC,OAAO,iCAAM,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,IAAA,OAAE,EAAC,aAAa,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,SAAS,CAAC,KAAM,KAAK,GAAI,CAAC;AAC7F,CAAC,CACF,CAAC;AAGO,sBAAK;AAFd,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import * as React from "react";
3
+ declare const buttonVariants: (props?: ({
4
+ variant?: "link" | "default" | "outline" | "destructive" | "ghost" | "secondary" | null | undefined;
5
+ size?: "icon" | "default" | "sm" | "lg" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
8
+ asChild?: boolean;
9
+ }
10
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
11
+ export { Button, buttonVariants };
12
+ //# sourceMappingURL=button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/ui/primitives/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,cAAc;;;8EAwBnB,CAAC;AAEF,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,MAAM,uFAKX,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,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.buttonVariants = exports.Button = void 0;
37
+ const jsx_runtime_1 = require("react/jsx-runtime");
38
+ const react_slot_1 = require("@radix-ui/react-slot");
39
+ const class_variance_authority_1 = require("class-variance-authority");
40
+ const React = __importStar(require("react"));
41
+ const cn_1 = require("../cn");
42
+ const buttonVariants = (0, class_variance_authority_1.cva)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-body-1 font-medium ring-offset-background transition-[background-color,color,border-color,box-shadow] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", {
43
+ variants: {
44
+ variant: {
45
+ default: "bg-primary text-primary-foreground hover:bg-primary/90",
46
+ destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
47
+ outline: "border border-input bg-background text-foreground hover:bg-accent hover:text-accent-foreground",
48
+ secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
49
+ ghost: "text-ink-2 hover:bg-paper-elev hover:text-ink",
50
+ link: "text-primary underline-offset-4 hover:underline",
51
+ },
52
+ size: {
53
+ default: "h-10 px-4 py-2",
54
+ sm: "h-9 rounded-md px-3",
55
+ lg: "h-11 rounded-md px-8",
56
+ icon: "h-10 w-10",
57
+ },
58
+ },
59
+ defaultVariants: {
60
+ variant: "default",
61
+ size: "default",
62
+ },
63
+ });
64
+ exports.buttonVariants = buttonVariants;
65
+ const Button = React.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
66
+ const Comp = asChild ? react_slot_1.Slot : "button";
67
+ return (0, jsx_runtime_1.jsx)(Comp, { className: (0, cn_1.cn)(buttonVariants({ variant, size, className })), ref: ref, ...props });
68
+ });
69
+ exports.Button = Button;
70
+ Button.displayName = "Button";
71
+ //# sourceMappingURL=button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.js","sourceRoot":"","sources":["../../../src/ui/primitives/button.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAA4C;AAC5C,uEAAkE;AAClE,6CAA+B;AAE/B,8BAA2B;AAE3B,MAAM,cAAc,GAAG,IAAA,8BAAG,EACxB,wYAAwY,EACxY;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,wDAAwD;YACjE,WAAW,EAAE,oEAAoE;YACjF,OAAO,EAAE,gGAAgG;YACzG,SAAS,EAAE,8DAA8D;YACzE,KAAK,EAAE,+CAA+C;YACtD,IAAI,EAAE,iDAAiD;SACxD;QACD,IAAI,EAAE;YACJ,OAAO,EAAE,gBAAgB;YACzB,EAAE,EAAE,qBAAqB;YACzB,EAAE,EAAE,sBAAsB;YAC1B,IAAI,EAAE,WAAW;SAClB;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,SAAS;KAChB;CACF,CACF,CAAC;AAgBe,wCAAc;AAR/B,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAC7B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,GAAG,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC/D,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,iBAAI,CAAC,CAAC,CAAC,QAAQ,CAAC;IACvC,OAAO,uBAAC,IAAI,IAAC,SAAS,EAAE,IAAA,OAAE,EAAC,cAAc,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,KAAM,KAAK,GAAI,CAAC;AACpG,CAAC,CACF,CAAC;AAGO,wBAAM;AAFf,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAC"}
@@ -0,0 +1,9 @@
1
+ import * as React from "react";
2
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
3
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
5
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
6
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
8
+ export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };
9
+ //# sourceMappingURL=card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/ui/primitives/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,IAAI,6GAER,CAAC;AAGH,QAAA,MAAM,UAAU,6GAIf,CAAC;AAGF,QAAA,MAAM,SAAS,uHAId,CAAC;AAGF,QAAA,MAAM,eAAe,yHAIpB,CAAC;AAGF,QAAA,MAAM,WAAW,6GAEhB,CAAC;AAGF,QAAA,MAAM,UAAU,6GAIf,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,58 @@
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.CardContent = exports.CardDescription = exports.CardTitle = exports.CardFooter = exports.CardHeader = exports.Card = 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 Card = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)("div", { ref: ref, className: (0, cn_1.cn)("rounded-lg border bg-card text-card-foreground shadow-sm", className), ...props })));
41
+ exports.Card = Card;
42
+ Card.displayName = "Card";
43
+ const CardHeader = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)("div", { ref: ref, className: (0, cn_1.cn)("flex flex-col space-y-1.5 p-6", className), ...props })));
44
+ exports.CardHeader = CardHeader;
45
+ CardHeader.displayName = "CardHeader";
46
+ const CardTitle = React.forwardRef(({ className, children, ...props }, ref) => ((0, jsx_runtime_1.jsx)("h3", { ref: ref, className: (0, cn_1.cn)("text-display font-semibold leading-none tracking-tight", className), ...props, children: children })));
47
+ exports.CardTitle = CardTitle;
48
+ CardTitle.displayName = "CardTitle";
49
+ const CardDescription = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)("p", { ref: ref, className: (0, cn_1.cn)("text-body-1 text-ink-3", className), ...props })));
50
+ exports.CardDescription = CardDescription;
51
+ CardDescription.displayName = "CardDescription";
52
+ const CardContent = React.forwardRef(({ className, ...props }, ref) => (0, jsx_runtime_1.jsx)("div", { ref: ref, className: (0, cn_1.cn)("p-6 pt-0", className), ...props }));
53
+ exports.CardContent = CardContent;
54
+ CardContent.displayName = "CardContent";
55
+ const CardFooter = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)("div", { ref: ref, className: (0, cn_1.cn)("flex items-center p-6 pt-0", className), ...props })));
56
+ exports.CardFooter = CardFooter;
57
+ CardFooter.displayName = "CardFooter";
58
+ //# sourceMappingURL=card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.js","sourceRoot":"","sources":["../../../src/ui/primitives/card.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAE/B,8BAA2B;AAE3B,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAAuD,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACpH,gCAAK,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,IAAA,OAAE,EAAC,0DAA0D,EAAE,SAAS,CAAC,KAAM,KAAK,GAAI,CACnH,CAAC,CAAC;AAoCM,oBAAI;AAnCb,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;AAE1B,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CACjC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAChC,gCAAK,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,IAAA,OAAE,EAAC,+BAA+B,EAAE,SAAS,CAAC,KAAM,KAAK,GAAI,CACxF,CACF,CAAC;AA6Ba,gCAAU;AA5BzB,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC;AAEtC,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,CAChC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAC1C,+BAAI,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,IAAA,OAAE,EAAC,wDAAwD,EAAE,SAAS,CAAC,KAAM,KAAK,YAAG,QAAQ,GAAM,CAC7H,CACF,CAAC;AAsBqC,8BAAS;AArBhD,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC;AAEpC,MAAM,eAAe,GAAG,KAAK,CAAC,UAAU,CACtC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAChC,8BAAG,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,IAAA,OAAE,EAAC,wBAAwB,EAAE,SAAS,CAAC,KAAM,KAAK,GAAI,CAC/E,CACF,CAAC;AAegD,0CAAe;AAdjE,eAAe,CAAC,WAAW,GAAG,iBAAiB,CAAC;AAEhD,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAClC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,gCAAK,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,IAAA,OAAE,EAAC,UAAU,EAAE,SAAS,CAAC,KAAM,KAAK,GAAI,CACrG,CAAC;AAUiE,kCAAW;AAT9E,WAAW,CAAC,WAAW,GAAG,aAAa,CAAC;AAExC,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CACjC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAChC,gCAAK,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,IAAA,OAAE,EAAC,4BAA4B,EAAE,SAAS,CAAC,KAAM,KAAK,GAAI,CACrF,CACF,CAAC;AAGyB,gCAAU;AAFrC,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
2
+ import * as React from "react";
3
+ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ export { Checkbox };
5
+ //# sourceMappingURL=checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/ui/primitives/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAE9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,QAAQ,iKAgBZ,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -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.Checkbox = void 0;
37
+ const jsx_runtime_1 = require("react/jsx-runtime");
38
+ const CheckboxPrimitive = __importStar(require("@radix-ui/react-checkbox"));
39
+ const lucide_react_1 = require("lucide-react");
40
+ const React = __importStar(require("react"));
41
+ const cn_1 = require("../cn");
42
+ const Checkbox = React.forwardRef(({ className, ...props }, ref) => ((0, jsx_runtime_1.jsx)(CheckboxPrimitive.Root, { ref: ref, className: (0, cn_1.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible: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)(CheckboxPrimitive.Indicator, { className: (0, cn_1.cn)("flex items-center justify-center text-current"), children: (0, jsx_runtime_1.jsx)(lucide_react_1.Check, { className: "h-4 w-4" }) }) })));
43
+ exports.Checkbox = Checkbox;
44
+ Checkbox.displayName = CheckboxPrimitive.Root.displayName;
45
+ //# sourceMappingURL=checkbox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.js","sourceRoot":"","sources":["../../../src/ui/primitives/checkbox.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA8D;AAC9D,+CAAqC;AACrC,6CAA+B;AAE/B,8BAA2B;AAE3B,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAG/B,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,uBAAC,iBAAiB,CAAC,IAAI,IACrB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,OAAE,EACX,gTAAgT,EAChT,SAAS,CACV,KACG,KAAK,YAET,uBAAC,iBAAiB,CAAC,SAAS,IAAC,SAAS,EAAE,IAAA,OAAE,EAAC,+CAA+C,CAAC,YACzF,uBAAC,oBAAK,IAAC,SAAS,EAAC,SAAS,GAAG,GACD,GACP,CAC1B,CAAC,CAAC;AAGM,4BAAQ;AAFjB,QAAQ,CAAC,WAAW,GAAG,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
2
+ declare const Collapsible: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
4
+ declare const CollapsibleContent: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & import("react").RefAttributes<HTMLDivElement>>;
5
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent };
6
+ //# sourceMappingURL=collapsible.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../../src/ui/primitives/collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AAEpE,QAAA,MAAM,WAAW,kIAA4B,CAAC;AAE9C,QAAA,MAAM,kBAAkB,4IAA0C,CAAC;AAEnE,QAAA,MAAM,kBAAkB,yIAA0C,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,44 @@
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.CollapsibleContent = exports.CollapsibleTrigger = exports.Collapsible = void 0;
37
+ const CollapsiblePrimitive = __importStar(require("@radix-ui/react-collapsible"));
38
+ const Collapsible = CollapsiblePrimitive.Root;
39
+ exports.Collapsible = Collapsible;
40
+ const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger;
41
+ exports.CollapsibleTrigger = CollapsibleTrigger;
42
+ const CollapsibleContent = CollapsiblePrimitive.CollapsibleContent;
43
+ exports.CollapsibleContent = CollapsibleContent;
44
+ //# sourceMappingURL=collapsible.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collapsible.js","sourceRoot":"","sources":["../../../src/ui/primitives/collapsible.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kFAAoE;AAEpE,MAAM,WAAW,GAAG,oBAAoB,CAAC,IAAI,CAAC;AAMrC,kCAAW;AAJpB,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,kBAAkB,CAAC;AAI7C,gDAAkB;AAFxC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,kBAAkB,CAAC;AAEzB,gDAAkB"}