mtxuilib 0.0.308 → 0.0.310

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 (273) hide show
  1. package/dist/App.cjs +17 -1
  2. package/dist/MtmButton.cjs +2 -1
  3. package/dist/NovelEditorLoader.cjs +8 -4
  4. package/dist/browser/index.min.js +2 -1
  5. package/dist/common/FullCenter.cjs +2 -1
  6. package/dist/common/MtImage.cjs +2 -1
  7. package/dist/common/mtlink.cjs +2 -1
  8. package/dist/common/table/cells/ExpenderCell.cjs +9 -4
  9. package/dist/common/table/cells/SelectCell.cjs +8 -4
  10. package/dist/common/table/cells/Text.cjs +2 -1
  11. package/dist/common/table/cells/ViewLink.cjs +8 -4
  12. package/dist/common/table/cells/container/cellWrapper.cjs +2 -1
  13. package/dist/common/table/cells/number.cjs +2 -1
  14. package/dist/common/table/cells/string.cjs +2 -1
  15. package/dist/common/table/data-table-pagination.cjs +89 -51
  16. package/dist/common/table/data-table-view-options.cjs +32 -22
  17. package/dist/common/tailwind-indicator.cjs +9 -1
  18. package/dist/entry-client.cjs +2 -1
  19. package/dist/entry-server.cjs +2 -1
  20. package/dist/esm/App.js +17 -1
  21. package/dist/esm/MtmButton.js +2 -1
  22. package/dist/esm/NovelEditorLoader.js +8 -4
  23. package/dist/esm/common/FullCenter.js +2 -1
  24. package/dist/esm/common/MtImage.js +2 -1
  25. package/dist/esm/common/mtlink.js +2 -1
  26. package/dist/esm/common/table/cells/ExpenderCell.js +9 -4
  27. package/dist/esm/common/table/cells/SelectCell.js +8 -4
  28. package/dist/esm/common/table/cells/Text.js +2 -1
  29. package/dist/esm/common/table/cells/ViewLink.js +8 -4
  30. package/dist/esm/common/table/cells/container/cellWrapper.js +2 -1
  31. package/dist/esm/common/table/cells/number.js +2 -1
  32. package/dist/esm/common/table/cells/string.js +2 -1
  33. package/dist/esm/common/table/data-table-pagination.js +89 -51
  34. package/dist/esm/common/table/data-table-view-options.js +32 -22
  35. package/dist/esm/common/tailwind-indicator.js +9 -1
  36. package/dist/esm/entry-client.js +2 -1
  37. package/dist/esm/entry-server.js +2 -1
  38. package/dist/esm/icons/icons.js +41 -31
  39. package/dist/esm/index.js +2 -1
  40. package/dist/esm/lib/connectquery/use-transport.js +2 -1
  41. package/dist/esm/lib/render copy.js +2 -1
  42. package/dist/esm/lib/render.js +2 -1
  43. package/dist/esm/store/MtConnectProvider.js +2 -1
  44. package/dist/esm/store/ReactQueryProvider.js +18 -10
  45. package/dist/esm/store/StorybookDecorator.js +5 -4
  46. package/dist/esm/store/appContext.js +28 -18
  47. package/dist/esm/store/hydrateCore.js +6 -5
  48. package/dist/esm/store/logger.context.js +3 -2
  49. package/dist/esm/store/pageMeta.js +5 -1
  50. package/dist/esm/tailwind.d.cts +88 -1
  51. package/dist/esm/ui/accordion.js +19 -11
  52. package/dist/esm/ui/alert copy.js +4 -3
  53. package/dist/esm/ui/alert-dialog.js +21 -17
  54. package/dist/esm/ui/alert.js +4 -3
  55. package/dist/esm/ui/avatar.js +4 -3
  56. package/dist/esm/ui/badge.js +2 -2
  57. package/dist/esm/ui/button.js +2 -1
  58. package/dist/esm/ui/calendar.js +4 -4
  59. package/dist/esm/ui/card.js +7 -6
  60. package/dist/esm/ui/checkbox.js +15 -10
  61. package/dist/esm/ui/command.js +25 -18
  62. package/dist/esm/ui/context-menu.js +35 -22
  63. package/dist/esm/ui/dialog.js +30 -17
  64. package/dist/esm/ui/drawer.js +28 -18
  65. package/dist/esm/ui/dropdown-menu.js +35 -22
  66. package/dist/esm/ui/form copy.js +14 -9
  67. package/dist/esm/ui/form.js +14 -9
  68. package/dist/esm/ui/hover-card.js +2 -1
  69. package/dist/esm/ui/input.js +2 -1
  70. package/dist/esm/ui/label.js +2 -1
  71. package/dist/esm/ui/menubar.js +37 -24
  72. package/dist/esm/ui/navigation-menu.js +36 -25
  73. package/dist/esm/ui/novel/novel/src/components/editor-bubble-item.js +2 -1
  74. package/dist/esm/ui/novel/novel/src/components/editor-bubble.js +5 -1
  75. package/dist/esm/ui/novel/novel/src/components/editor-command-item.js +5 -4
  76. package/dist/esm/ui/novel/novel/src/components/editor-command.js +21 -14
  77. package/dist/esm/ui/novel/novel/src/components/editor.js +7 -6
  78. package/dist/esm/ui/novel/novel/src/extensions/image-resizer.js +2 -1
  79. package/dist/esm/ui/novel/tailwind/advanced-editor.js +58 -35
  80. package/dist/esm/ui/novel/tailwind/generative/ai-completion-command.js +45 -30
  81. package/dist/esm/ui/novel/tailwind/generative/ai-selector-commands.js +37 -28
  82. package/dist/esm/ui/novel/tailwind/generative/ai-selector.js +58 -43
  83. package/dist/esm/ui/novel/tailwind/generative/generative-menu-switch.js +23 -15
  84. package/dist/esm/ui/novel/tailwind/selectors/color-selector.js +78 -55
  85. package/dist/esm/ui/novel/tailwind/selectors/link-selector.js +58 -50
  86. package/dist/esm/ui/novel/tailwind/selectors/node-selector.js +31 -19
  87. package/dist/esm/ui/novel/tailwind/selectors/text-buttons.js +13 -12
  88. package/dist/esm/ui/novel/tailwind/slash-command.js +12 -11
  89. package/dist/esm/ui/novel/tailwind/ui/button.js +2 -1
  90. package/dist/esm/ui/novel/tailwind/ui/command.js +25 -18
  91. package/dist/esm/ui/novel/tailwind/ui/dialog.js +30 -17
  92. package/dist/esm/ui/novel/tailwind/ui/icons/crazy-spinner.js +6 -1
  93. package/dist/esm/ui/novel/tailwind/ui/icons/font-default.js +20 -17
  94. package/dist/esm/ui/novel/tailwind/ui/icons/font-mono.js +20 -17
  95. package/dist/esm/ui/novel/tailwind/ui/icons/font-serif.js +20 -17
  96. package/dist/esm/ui/novel/tailwind/ui/icons/github.js +5 -4
  97. package/dist/esm/ui/novel/tailwind/ui/icons/loading-circle.js +20 -17
  98. package/dist/esm/ui/novel/tailwind/ui/icons/magic.js +27 -24
  99. package/dist/esm/ui/novel/tailwind/ui/menu.js +28 -16
  100. package/dist/esm/ui/novel/tailwind/ui/popover.js +3 -2
  101. package/dist/esm/ui/novel/tailwind/ui/scroll-area.js +18 -10
  102. package/dist/esm/ui/novel/tailwind/ui/separator.js +2 -1
  103. package/dist/esm/ui/pagination.js +32 -19
  104. package/dist/esm/ui/popover.js +3 -2
  105. package/dist/esm/ui/progress.js +15 -10
  106. package/dist/esm/ui/radio-group.js +7 -5
  107. package/dist/esm/ui/resizable.js +10 -5
  108. package/dist/esm/ui/scroll-area.js +26 -18
  109. package/dist/esm/ui/select.js +37 -26
  110. package/dist/esm/ui/separator.js +2 -1
  111. package/dist/esm/ui/sheet.js +24 -14
  112. package/dist/esm/ui/skeleton.js +2 -1
  113. package/dist/esm/ui/slider.js +12 -5
  114. package/dist/esm/ui/sonner.js +2 -1
  115. package/dist/esm/ui/switch.js +12 -11
  116. package/dist/esm/ui/table.js +10 -9
  117. package/dist/esm/ui/tabs.js +4 -3
  118. package/dist/esm/ui/textarea.js +2 -1
  119. package/dist/esm/ui/toast.js +14 -9
  120. package/dist/esm/ui/toaster.js +18 -4
  121. package/dist/esm/ui/toggle.js +2 -1
  122. package/dist/esm/ui/tooltip.js +2 -1
  123. package/dist/esm/ui/ui-mt/NavTag.js +5 -4
  124. package/dist/esm/ui/ui-mt/SimpleModel.js +12 -11
  125. package/dist/esm/ui/ui-mt/inputField/InputField.js +27 -20
  126. package/dist/esm/ui/ui-mt/inputField/SingleUploadForm.js +67 -56
  127. package/dist/esm/ui/ui-mt/inputField/TextArea.js +20 -16
  128. package/dist/esm/ui/ui-mt/inputField/TextFileInput.js +18 -15
  129. package/dist/esm/ui/ui-mt/inputField/select/InputSelect.js +35 -27
  130. package/dist/esm/ui/ui-mt/inputs/SearchInput.js +2 -1
  131. package/dist/esm/ui/ui-mt/inputs/searchBar.js +12 -8
  132. package/dist/esm/ui/ui-mt/skeleton/skeleton-card.js +9 -4
  133. package/dist/esm/ui/ui-mt/skeleton/skeleton2.js +5 -1
  134. package/dist/esm/ui/ui-mt/skeleton/skeletons.js +9 -1
  135. package/dist/esm/ui/ui-vamp/alert.js +30 -24
  136. package/dist/esm/ui/ui-vamp/avatar.js +12 -7
  137. package/dist/esm/ui/ui-vamp/button.js +2 -1
  138. package/dist/esm/ui/ui-vamp/card.js +15 -8
  139. package/dist/esm/ui/ui-vamp/checkbox.js +15 -8
  140. package/dist/esm/ui/ui-vamp/chip.js +2 -1
  141. package/dist/esm/ui/ui-vamp/dropdown.js +7 -6
  142. package/dist/esm/ui/ui-vamp/external-link.js +9 -4
  143. package/dist/esm/ui/ui-vamp/headline.js +5 -1
  144. package/dist/esm/ui/ui-vamp/input.js +3 -2
  145. package/dist/esm/ui/ui-vamp/keyvalue.js +5 -1
  146. package/dist/esm/ui/ui-vamp/label.js +2 -1
  147. package/dist/esm/ui/ui-vamp/mobile-nav-button.js +6 -5
  148. package/dist/esm/ui/ui-vamp/modal.js +17 -13
  149. package/dist/esm/ui/ui-vamp/pagination.js +57 -35
  150. package/dist/esm/ui/ui-vamp/scroll-area.js +5 -4
  151. package/dist/esm/ui/ui-vamp/skeleton.js +2 -2
  152. package/dist/esm/ui/ui-vamp/stripe-not-connected-modal.js +13 -2
  153. package/dist/esm/ui/ui-vamp/textarea.js +12 -8
  154. package/dist/esm/ui/ui-vamp/toggle-group.js +3 -2
  155. package/dist/icons/icons.cjs +41 -31
  156. package/dist/index.cjs +2 -1
  157. package/dist/lib/connectquery/use-transport.cjs +2 -1
  158. package/dist/lib/render copy.cjs +2 -1
  159. package/dist/lib/render.cjs +2 -1
  160. package/dist/store/MtConnectProvider.cjs +2 -1
  161. package/dist/store/ReactQueryProvider.cjs +18 -10
  162. package/dist/store/StorybookDecorator.cjs +5 -4
  163. package/dist/store/appContext.cjs +28 -28
  164. package/dist/store/hydrateCore.cjs +6 -5
  165. package/dist/store/logger.context.cjs +3 -2
  166. package/dist/store/pageMeta.cjs +5 -1
  167. package/dist/tailwind.cjs +72 -2
  168. package/dist/tsconfig.type.tsbuildinfo +1 -1
  169. package/dist/ui/accordion.cjs +19 -11
  170. package/dist/ui/alert copy.cjs +4 -3
  171. package/dist/ui/alert-dialog.cjs +21 -17
  172. package/dist/ui/alert.cjs +4 -3
  173. package/dist/ui/avatar.cjs +4 -3
  174. package/dist/ui/badge.cjs +2 -12
  175. package/dist/ui/button.cjs +2 -1
  176. package/dist/ui/calendar.cjs +4 -14
  177. package/dist/ui/card.cjs +7 -6
  178. package/dist/ui/checkbox.cjs +15 -10
  179. package/dist/ui/command.cjs +25 -18
  180. package/dist/ui/context-menu.cjs +35 -22
  181. package/dist/ui/dialog.cjs +30 -17
  182. package/dist/ui/drawer.cjs +28 -18
  183. package/dist/ui/dropdown-menu.cjs +35 -22
  184. package/dist/ui/form copy.cjs +14 -9
  185. package/dist/ui/form.cjs +14 -9
  186. package/dist/ui/hover-card.cjs +2 -1
  187. package/dist/ui/input.cjs +2 -1
  188. package/dist/ui/label.cjs +2 -1
  189. package/dist/ui/menubar.cjs +37 -24
  190. package/dist/ui/navigation-menu.cjs +36 -25
  191. package/dist/ui/novel/novel/src/components/editor-bubble-item.cjs +2 -1
  192. package/dist/ui/novel/novel/src/components/editor-bubble.cjs +5 -1
  193. package/dist/ui/novel/novel/src/components/editor-command-item.cjs +5 -4
  194. package/dist/ui/novel/novel/src/components/editor-command.cjs +21 -14
  195. package/dist/ui/novel/novel/src/components/editor.cjs +7 -6
  196. package/dist/ui/novel/novel/src/extensions/image-resizer.cjs +2 -1
  197. package/dist/ui/novel/tailwind/advanced-editor.cjs +58 -35
  198. package/dist/ui/novel/tailwind/generative/ai-completion-command.cjs +45 -30
  199. package/dist/ui/novel/tailwind/generative/ai-selector-commands.cjs +37 -28
  200. package/dist/ui/novel/tailwind/generative/ai-selector.cjs +58 -43
  201. package/dist/ui/novel/tailwind/generative/generative-menu-switch.cjs +23 -15
  202. package/dist/ui/novel/tailwind/selectors/color-selector.cjs +78 -55
  203. package/dist/ui/novel/tailwind/selectors/link-selector.cjs +58 -50
  204. package/dist/ui/novel/tailwind/selectors/node-selector.cjs +31 -19
  205. package/dist/ui/novel/tailwind/selectors/text-buttons.cjs +13 -12
  206. package/dist/ui/novel/tailwind/slash-command.cjs +12 -11
  207. package/dist/ui/novel/tailwind/ui/button.cjs +2 -1
  208. package/dist/ui/novel/tailwind/ui/command.cjs +25 -18
  209. package/dist/ui/novel/tailwind/ui/dialog.cjs +30 -17
  210. package/dist/ui/novel/tailwind/ui/icons/crazy-spinner.cjs +6 -1
  211. package/dist/ui/novel/tailwind/ui/icons/font-default.cjs +20 -17
  212. package/dist/ui/novel/tailwind/ui/icons/font-mono.cjs +20 -17
  213. package/dist/ui/novel/tailwind/ui/icons/font-serif.cjs +20 -17
  214. package/dist/ui/novel/tailwind/ui/icons/github.cjs +5 -4
  215. package/dist/ui/novel/tailwind/ui/icons/loading-circle.cjs +20 -17
  216. package/dist/ui/novel/tailwind/ui/icons/magic.cjs +27 -24
  217. package/dist/ui/novel/tailwind/ui/menu.cjs +28 -16
  218. package/dist/ui/novel/tailwind/ui/popover.cjs +3 -2
  219. package/dist/ui/novel/tailwind/ui/scroll-area.cjs +18 -10
  220. package/dist/ui/novel/tailwind/ui/separator.cjs +2 -1
  221. package/dist/ui/pagination.cjs +32 -19
  222. package/dist/ui/popover.cjs +3 -2
  223. package/dist/ui/progress.cjs +15 -10
  224. package/dist/ui/radio-group.cjs +7 -5
  225. package/dist/ui/resizable.cjs +10 -5
  226. package/dist/ui/scroll-area.cjs +26 -18
  227. package/dist/ui/select.cjs +37 -26
  228. package/dist/ui/separator.cjs +2 -1
  229. package/dist/ui/sheet.cjs +24 -14
  230. package/dist/ui/skeleton.cjs +2 -1
  231. package/dist/ui/slider.cjs +12 -5
  232. package/dist/ui/sonner.cjs +2 -1
  233. package/dist/ui/switch.cjs +12 -11
  234. package/dist/ui/table.cjs +10 -9
  235. package/dist/ui/tabs.cjs +4 -3
  236. package/dist/ui/textarea.cjs +2 -1
  237. package/dist/ui/toast.cjs +14 -9
  238. package/dist/ui/toaster.cjs +18 -4
  239. package/dist/ui/toggle.cjs +2 -1
  240. package/dist/ui/tooltip.cjs +2 -1
  241. package/dist/ui/ui-mt/NavTag.cjs +5 -4
  242. package/dist/ui/ui-mt/SimpleModel.cjs +12 -11
  243. package/dist/ui/ui-mt/inputField/InputField.cjs +27 -20
  244. package/dist/ui/ui-mt/inputField/SingleUploadForm.cjs +67 -56
  245. package/dist/ui/ui-mt/inputField/TextArea.cjs +20 -16
  246. package/dist/ui/ui-mt/inputField/TextFileInput.cjs +18 -25
  247. package/dist/ui/ui-mt/inputField/select/InputSelect.cjs +35 -27
  248. package/dist/ui/ui-mt/inputs/SearchInput.cjs +2 -1
  249. package/dist/ui/ui-mt/inputs/searchBar.cjs +12 -8
  250. package/dist/ui/ui-mt/skeleton/skeleton-card.cjs +9 -4
  251. package/dist/ui/ui-mt/skeleton/skeleton2.cjs +5 -1
  252. package/dist/ui/ui-mt/skeleton/skeletons.cjs +9 -1
  253. package/dist/ui/ui-vamp/alert.cjs +30 -24
  254. package/dist/ui/ui-vamp/avatar.cjs +12 -7
  255. package/dist/ui/ui-vamp/button.cjs +2 -1
  256. package/dist/ui/ui-vamp/card.cjs +15 -18
  257. package/dist/ui/ui-vamp/checkbox.cjs +15 -8
  258. package/dist/ui/ui-vamp/chip.cjs +2 -1
  259. package/dist/ui/ui-vamp/dropdown.cjs +7 -6
  260. package/dist/ui/ui-vamp/external-link.cjs +9 -4
  261. package/dist/ui/ui-vamp/headline.cjs +5 -1
  262. package/dist/ui/ui-vamp/input.cjs +3 -2
  263. package/dist/ui/ui-vamp/keyvalue.cjs +5 -1
  264. package/dist/ui/ui-vamp/label.cjs +2 -1
  265. package/dist/ui/ui-vamp/mobile-nav-button.cjs +6 -5
  266. package/dist/ui/ui-vamp/modal.cjs +17 -13
  267. package/dist/ui/ui-vamp/pagination.cjs +57 -35
  268. package/dist/ui/ui-vamp/scroll-area.cjs +5 -4
  269. package/dist/ui/ui-vamp/skeleton.cjs +2 -12
  270. package/dist/ui/ui-vamp/stripe-not-connected-modal.cjs +13 -2
  271. package/dist/ui/ui-vamp/textarea.cjs +12 -8
  272. package/dist/ui/ui-vamp/toggle-group.cjs +3 -2
  273. package/package.json +5 -4
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
+ var __defProps = Object.defineProperties;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
5
7
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
8
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
7
9
  var __getProtoOf = Object.getPrototypeOf;
@@ -19,6 +21,7 @@ var __spreadValues = (a, b) => {
19
21
  }
20
22
  return a;
21
23
  };
24
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
22
25
  var __objRest = (source, exclude) => {
23
26
  var target = {};
24
27
  for (var prop in source)
@@ -63,13 +66,14 @@ __export(pagination_exports, {
63
66
  PaginationPrevious: () => PaginationPrevious
64
67
  });
65
68
  module.exports = __toCommonJS(pagination_exports);
69
+ var import_jsx_runtime = require("react/jsx-runtime");
66
70
  var import_react_icons = require("@radix-ui/react-icons");
67
71
  var React = __toESM(require("react"), 1);
68
72
  var import_utils = require("../lib/utils");
69
73
  var import_button = require("./button");
70
74
  const Pagination = (_a) => {
71
75
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
72
- return /* @__PURE__ */ React.createElement(
76
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
73
77
  "nav",
74
78
  __spreadValues({
75
79
  role: "navigation",
@@ -81,7 +85,7 @@ const Pagination = (_a) => {
81
85
  Pagination.displayName = "Pagination";
82
86
  const PaginationContent = React.forwardRef((_c, ref) => {
83
87
  var _d = _c, { className } = _d, props = __objRest(_d, ["className"]);
84
- return /* @__PURE__ */ React.createElement(
88
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
85
89
  "ul",
86
90
  __spreadValues({
87
91
  ref,
@@ -92,7 +96,7 @@ const PaginationContent = React.forwardRef((_c, ref) => {
92
96
  PaginationContent.displayName = "PaginationContent";
93
97
  const PaginationItem = React.forwardRef((_e, ref) => {
94
98
  var _f = _e, { className } = _f, props = __objRest(_f, ["className"]);
95
- return /* @__PURE__ */ React.createElement("li", __spreadValues({ ref, className: (0, import_utils.cn)("", className) }, props));
99
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", __spreadValues({ ref, className: (0, import_utils.cn)("", className) }, props));
96
100
  });
97
101
  PaginationItem.displayName = "PaginationItem";
98
102
  const PaginationLink = (_g) => {
@@ -105,7 +109,7 @@ const PaginationLink = (_g) => {
105
109
  "isActive",
106
110
  "size"
107
111
  ]);
108
- return /* @__PURE__ */ React.createElement(
112
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
109
113
  "a",
110
114
  __spreadValues({
111
115
  "aria-current": isActive ? "page" : void 0,
@@ -126,15 +130,18 @@ const PaginationPrevious = (_i) => {
126
130
  } = _j, props = __objRest(_j, [
127
131
  "className"
128
132
  ]);
129
- return /* @__PURE__ */ React.createElement(
133
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
130
134
  PaginationLink,
131
- __spreadValues({
135
+ __spreadProps(__spreadValues({
132
136
  "aria-label": "Go to previous page",
133
137
  size: "default",
134
138
  className: (0, import_utils.cn)("gap-1 pl-2.5", className)
135
- }, props),
136
- /* @__PURE__ */ React.createElement(import_react_icons.ChevronLeftIcon, { className: "h-4 w-4" }),
137
- /* @__PURE__ */ React.createElement("span", null, "Previous")
139
+ }, props), {
140
+ children: [
141
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_icons.ChevronLeftIcon, { className: "h-4 w-4" }),
142
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Previous" })
143
+ ]
144
+ })
138
145
  );
139
146
  };
140
147
  PaginationPrevious.displayName = "PaginationPrevious";
@@ -144,15 +151,18 @@ const PaginationNext = (_k) => {
144
151
  } = _l, props = __objRest(_l, [
145
152
  "className"
146
153
  ]);
147
- return /* @__PURE__ */ React.createElement(
154
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
148
155
  PaginationLink,
149
- __spreadValues({
156
+ __spreadProps(__spreadValues({
150
157
  "aria-label": "Go to next page",
151
158
  size: "default",
152
159
  className: (0, import_utils.cn)("gap-1 pr-2.5", className)
153
- }, props),
154
- /* @__PURE__ */ React.createElement("span", null, "Next"),
155
- /* @__PURE__ */ React.createElement(import_react_icons.ChevronRightIcon, { className: "h-4 w-4" })
160
+ }, props), {
161
+ children: [
162
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Next" }),
163
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_icons.ChevronRightIcon, { className: "h-4 w-4" })
164
+ ]
165
+ })
156
166
  );
157
167
  };
158
168
  PaginationNext.displayName = "PaginationNext";
@@ -162,14 +172,17 @@ const PaginationEllipsis = (_m) => {
162
172
  } = _n, props = __objRest(_n, [
163
173
  "className"
164
174
  ]);
165
- return /* @__PURE__ */ React.createElement(
175
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
166
176
  "span",
167
- __spreadValues({
177
+ __spreadProps(__spreadValues({
168
178
  "aria-hidden": true,
169
179
  className: (0, import_utils.cn)("flex h-9 w-9 items-center justify-center", className)
170
- }, props),
171
- /* @__PURE__ */ React.createElement(import_react_icons.DotsHorizontalIcon, { className: "h-4 w-4" }),
172
- /* @__PURE__ */ React.createElement("span", { className: "sr-only" }, "More pages")
180
+ }, props), {
181
+ children: [
182
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_icons.DotsHorizontalIcon, { className: "h-4 w-4" }),
183
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "sr-only", children: "More pages" })
184
+ ]
185
+ })
173
186
  );
174
187
  };
175
188
  PaginationEllipsis.displayName = "PaginationEllipsis";
@@ -60,6 +60,7 @@ __export(popover_exports, {
60
60
  PopoverTrigger: () => PopoverTrigger
61
61
  });
62
62
  module.exports = __toCommonJS(popover_exports);
63
+ var import_jsx_runtime = require("react/jsx-runtime");
63
64
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"), 1);
64
65
  var React = __toESM(require("react"), 1);
65
66
  var import_utils = require("../lib/utils");
@@ -67,7 +68,7 @@ const Popover = PopoverPrimitive.Root;
67
68
  const PopoverTrigger = PopoverPrimitive.Trigger;
68
69
  const PopoverContent = React.forwardRef((_a, ref) => {
69
70
  var _b = _a, { className, align = "center", sideOffset = 4 } = _b, props = __objRest(_b, ["className", "align", "sideOffset"]);
70
- return /* @__PURE__ */ React.createElement(PopoverPrimitive.Portal, null, /* @__PURE__ */ React.createElement(
71
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
71
72
  PopoverPrimitive.Content,
72
73
  __spreadValues({
73
74
  ref,
@@ -78,7 +79,7 @@ const PopoverContent = React.forwardRef((_a, ref) => {
78
79
  className
79
80
  )
80
81
  }, props)
81
- ));
82
+ ) });
82
83
  });
83
84
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
84
85
  // Annotate the CommonJS export names for ESM import in node:
@@ -2,7 +2,9 @@
2
2
  "use client";
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
+ var __defProps = Object.defineProperties;
5
6
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
8
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
9
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
10
  var __getProtoOf = Object.getPrototypeOf;
@@ -20,6 +22,7 @@ var __spreadValues = (a, b) => {
20
22
  }
21
23
  return a;
22
24
  };
25
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
23
26
  var __objRest = (source, exclude) => {
24
27
  var target = {};
25
28
  for (var prop in source)
@@ -58,27 +61,29 @@ __export(progress_exports, {
58
61
  Progress: () => Progress
59
62
  });
60
63
  module.exports = __toCommonJS(progress_exports);
64
+ var import_jsx_runtime = require("react/jsx-runtime");
61
65
  var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"), 1);
62
66
  var React = __toESM(require("react"), 1);
63
67
  var import_utils = require("../lib/utils");
64
68
  const Progress = React.forwardRef((_a, ref) => {
65
69
  var _b = _a, { className, value } = _b, props = __objRest(_b, ["className", "value"]);
66
- return /* @__PURE__ */ React.createElement(
70
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
67
71
  ProgressPrimitive.Root,
68
- __spreadValues({
72
+ __spreadProps(__spreadValues({
69
73
  ref,
70
74
  className: (0, import_utils.cn)(
71
75
  "bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",
72
76
  className
73
77
  )
74
- }, props),
75
- /* @__PURE__ */ React.createElement(
76
- ProgressPrimitive.Indicator,
77
- {
78
- className: "bg-primary h-full w-full flex-1 transition-all",
79
- style: { transform: `translateX(-${100 - (value || 0)}%)` }
80
- }
81
- )
78
+ }, props), {
79
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
80
+ ProgressPrimitive.Indicator,
81
+ {
82
+ className: "bg-primary h-full w-full flex-1 transition-all",
83
+ style: { transform: `translateX(-${100 - (value || 0)}%)` }
84
+ }
85
+ )
86
+ })
82
87
  );
83
88
  });
84
89
  Progress.displayName = ProgressPrimitive.Root.displayName;
@@ -62,13 +62,14 @@ __export(radio_group_exports, {
62
62
  RadioGroupItem: () => RadioGroupItem
63
63
  });
64
64
  module.exports = __toCommonJS(radio_group_exports);
65
+ var import_jsx_runtime = require("react/jsx-runtime");
65
66
  var import_react_icons = require("@radix-ui/react-icons");
66
67
  var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"), 1);
67
68
  var React = __toESM(require("react"), 1);
68
69
  var import_utils = require("../lib/utils");
69
70
  const RadioGroup = React.forwardRef((_a, ref) => {
70
71
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
71
- return /* @__PURE__ */ React.createElement(
72
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
72
73
  RadioGroupPrimitive.Root,
73
74
  __spreadProps(__spreadValues({
74
75
  className: (0, import_utils.cn)("grid gap-2", className)
@@ -80,16 +81,17 @@ const RadioGroup = React.forwardRef((_a, ref) => {
80
81
  RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
81
82
  const RadioGroupItem = React.forwardRef((_c, ref) => {
82
83
  var _d = _c, { className, children } = _d, props = __objRest(_d, ["className", "children"]);
83
- return /* @__PURE__ */ React.createElement(
84
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
84
85
  RadioGroupPrimitive.Item,
85
- __spreadValues({
86
+ __spreadProps(__spreadValues({
86
87
  ref,
87
88
  className: (0, import_utils.cn)(
88
89
  "border-primary text-primary focus-visible:ring-ring aspect-square size-4 rounded-full border shadow focus:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50",
89
90
  className
90
91
  )
91
- }, props),
92
- /* @__PURE__ */ React.createElement(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center" }, /* @__PURE__ */ React.createElement(import_react_icons.CheckIcon, { className: "fill-primary size-3.5" }))
92
+ }, props), {
93
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_icons.CheckIcon, { className: "fill-primary size-3.5" }) })
94
+ })
93
95
  );
94
96
  });
95
97
  RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
@@ -2,7 +2,9 @@
2
2
  "use client";
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
+ var __defProps = Object.defineProperties;
5
6
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
8
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
9
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
10
  var __getProtoOf = Object.getPrototypeOf;
@@ -20,6 +22,7 @@ var __spreadValues = (a, b) => {
20
22
  }
21
23
  return a;
22
24
  };
25
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
23
26
  var __objRest = (source, exclude) => {
24
27
  var target = {};
25
28
  for (var prop in source)
@@ -60,6 +63,7 @@ __export(resizable_exports, {
60
63
  ResizablePanelGroup: () => ResizablePanelGroup
61
64
  });
62
65
  module.exports = __toCommonJS(resizable_exports);
66
+ var import_jsx_runtime = require("react/jsx-runtime");
63
67
  var import_react_icons = require("@radix-ui/react-icons");
64
68
  var ResizablePrimitive = __toESM(require("react-resizable-panels"), 1);
65
69
  var import_utils = require("../lib/utils");
@@ -69,7 +73,7 @@ const ResizablePanelGroup = (_a) => {
69
73
  } = _b, props = __objRest(_b, [
70
74
  "className"
71
75
  ]);
72
- return /* @__PURE__ */ React.createElement(
76
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
73
77
  ResizablePrimitive.PanelGroup,
74
78
  __spreadValues({
75
79
  className: (0, import_utils.cn)(
@@ -88,15 +92,16 @@ const ResizableHandle = (_c) => {
88
92
  "withHandle",
89
93
  "className"
90
94
  ]);
91
- return /* @__PURE__ */ React.createElement(
95
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
92
96
  ResizablePrimitive.PanelResizeHandle,
93
- __spreadValues({
97
+ __spreadProps(__spreadValues({
94
98
  className: (0, import_utils.cn)(
95
99
  "bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",
96
100
  className
97
101
  )
98
- }, props),
99
- withHandle && /* @__PURE__ */ React.createElement("div", { className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border" }, /* @__PURE__ */ React.createElement(import_react_icons.DragHandleDots2Icon, { className: "h-2.5 w-2.5" }))
102
+ }, props), {
103
+ children: withHandle && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-sm border", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_icons.DragHandleDots2Icon, { className: "h-2.5 w-2.5" }) })
104
+ })
100
105
  );
101
106
  };
102
107
  // Annotate the CommonJS export names for ESM import in node:
@@ -2,7 +2,9 @@
2
2
  "use client";
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
+ var __defProps = Object.defineProperties;
5
6
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
8
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
9
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
10
  var __getProtoOf = Object.getPrototypeOf;
@@ -20,6 +22,7 @@ var __spreadValues = (a, b) => {
20
22
  }
21
23
  return a;
22
24
  };
25
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
23
26
  var __objRest = (source, exclude) => {
24
27
  var target = {};
25
28
  for (var prop in source)
@@ -59,28 +62,32 @@ __export(scroll_area_exports, {
59
62
  ScrollBar: () => ScrollBar
60
63
  });
61
64
  module.exports = __toCommonJS(scroll_area_exports);
65
+ var import_jsx_runtime = require("react/jsx-runtime");
62
66
  var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"), 1);
63
67
  var React = __toESM(require("react"), 1);
64
68
  var import_utils = require("../lib/utils");
65
69
  const ScrollArea = React.forwardRef((_a, ref) => {
66
70
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
67
- return /* @__PURE__ */ React.createElement(
71
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
68
72
  ScrollAreaPrimitive.Root,
69
- __spreadValues({
73
+ __spreadProps(__spreadValues({
70
74
  ref,
71
75
  className: (0, import_utils.cn)("relative overflow-hidden", className)
72
- }, props),
73
- /* @__PURE__ */ React.createElement(ScrollAreaPrimitive.Viewport, { className: "size-full rounded-[inherit]" }, children),
74
- /* @__PURE__ */ React.createElement(ScrollBar, null),
75
- /* @__PURE__ */ React.createElement(ScrollAreaPrimitive.Corner, null)
76
+ }, props), {
77
+ children: [
78
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScrollAreaPrimitive.Viewport, { className: "size-full rounded-[inherit]", children }),
79
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScrollBar, {}),
80
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScrollAreaPrimitive.Corner, {})
81
+ ]
82
+ })
76
83
  );
77
84
  });
78
85
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
79
86
  const ScrollBar = React.forwardRef((_c, ref) => {
80
87
  var _d = _c, { className, orientation = "vertical" } = _d, props = __objRest(_d, ["className", "orientation"]);
81
- return /* @__PURE__ */ React.createElement(
88
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
82
89
  ScrollAreaPrimitive.ScrollAreaScrollbar,
83
- __spreadValues({
90
+ __spreadProps(__spreadValues({
84
91
  ref,
85
92
  orientation,
86
93
  className: (0, import_utils.cn)(
@@ -89,16 +96,17 @@ const ScrollBar = React.forwardRef((_c, ref) => {
89
96
  orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-px",
90
97
  className
91
98
  )
92
- }, props),
93
- /* @__PURE__ */ React.createElement(
94
- ScrollAreaPrimitive.ScrollAreaThumb,
95
- {
96
- className: (0, import_utils.cn)(
97
- "bg-border relative rounded-full",
98
- orientation === "vertical" && "flex-1"
99
- )
100
- }
101
- )
99
+ }, props), {
100
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
101
+ ScrollAreaPrimitive.ScrollAreaThumb,
102
+ {
103
+ className: (0, import_utils.cn)(
104
+ "bg-border relative rounded-full",
105
+ orientation === "vertical" && "flex-1"
106
+ )
107
+ }
108
+ )
109
+ })
102
110
  );
103
111
  });
104
112
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
@@ -2,7 +2,9 @@
2
2
  "use client";
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
+ var __defProps = Object.defineProperties;
5
6
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
8
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
9
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
10
  var __getProtoOf = Object.getPrototypeOf;
@@ -20,6 +22,7 @@ var __spreadValues = (a, b) => {
20
22
  }
21
23
  return a;
22
24
  };
25
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
23
26
  var __objRest = (source, exclude) => {
24
27
  var target = {};
25
28
  for (var prop in source)
@@ -65,6 +68,7 @@ __export(select_exports, {
65
68
  SelectValue: () => SelectValue
66
69
  });
67
70
  module.exports = __toCommonJS(select_exports);
71
+ var import_jsx_runtime = require("react/jsx-runtime");
68
72
  var import_react_icons = require("@radix-ui/react-icons");
69
73
  var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
70
74
  var React = __toESM(require("react"), 1);
@@ -74,25 +78,28 @@ const SelectGroup = SelectPrimitive.Group;
74
78
  const SelectValue = SelectPrimitive.Value;
75
79
  const SelectTrigger = React.forwardRef((_a, ref) => {
76
80
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
77
- return /* @__PURE__ */ React.createElement(
81
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
78
82
  SelectPrimitive.Trigger,
79
- __spreadValues({
83
+ __spreadProps(__spreadValues({
80
84
  ref,
81
85
  className: (0, import_utils.cn)(
82
86
  "border-input ring-offset-background placeholder:text-muted-foreground focus:ring-ring flex h-9 w-full items-center justify-between rounded-md border bg-transparent px-3 py-2 text-sm shadow-sm focus:outline-none focus:ring-1 disabled:cursor-not-allowed disabled:opacity-50",
83
87
  className
84
88
  )
85
- }, props),
86
- children,
87
- /* @__PURE__ */ React.createElement(SelectPrimitive.Icon, { asChild: true }, /* @__PURE__ */ React.createElement(import_react_icons.CaretSortIcon, { className: "h-4 w-4 opacity-50" }))
89
+ }, props), {
90
+ children: [
91
+ children,
92
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_icons.CaretSortIcon, { className: "h-4 w-4 opacity-50" }) })
93
+ ]
94
+ })
88
95
  );
89
96
  });
90
97
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
91
98
  const SelectContent = React.forwardRef((_c, ref) => {
92
99
  var _d = _c, { className, children, position = "popper" } = _d, props = __objRest(_d, ["className", "children", "position"]);
93
- return /* @__PURE__ */ React.createElement(SelectPrimitive.Portal, null, /* @__PURE__ */ React.createElement(
100
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
94
101
  SelectPrimitive.Content,
95
- __spreadValues({
102
+ __spreadProps(__spreadValues({
96
103
  ref,
97
104
  className: (0, import_utils.cn)(
98
105
  "bg-popover text-popover-foreground 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 relative z-50 min-w-32 overflow-hidden rounded-md border shadow-md",
@@ -100,23 +107,24 @@ const SelectContent = React.forwardRef((_c, ref) => {
100
107
  className
101
108
  ),
102
109
  position
103
- }, props),
104
- /* @__PURE__ */ React.createElement(
105
- SelectPrimitive.Viewport,
106
- {
107
- className: (0, import_utils.cn)(
108
- "p-1",
109
- position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
110
- )
111
- },
112
- children
113
- )
114
- ));
110
+ }, props), {
111
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
112
+ SelectPrimitive.Viewport,
113
+ {
114
+ className: (0, import_utils.cn)(
115
+ "p-1",
116
+ position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
117
+ ),
118
+ children
119
+ }
120
+ )
121
+ })
122
+ ) });
115
123
  });
116
124
  SelectContent.displayName = SelectPrimitive.Content.displayName;
117
125
  const SelectLabel = React.forwardRef((_e, ref) => {
118
126
  var _f = _e, { className } = _f, props = __objRest(_f, ["className"]);
119
- return /* @__PURE__ */ React.createElement(
127
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
120
128
  SelectPrimitive.Label,
121
129
  __spreadValues({
122
130
  ref,
@@ -127,23 +135,26 @@ const SelectLabel = React.forwardRef((_e, ref) => {
127
135
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
128
136
  const SelectItem = React.forwardRef((_g, ref) => {
129
137
  var _h = _g, { className, children } = _h, props = __objRest(_h, ["className", "children"]);
130
- return /* @__PURE__ */ React.createElement(
138
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
131
139
  SelectPrimitive.Item,
132
- __spreadValues({
140
+ __spreadProps(__spreadValues({
133
141
  ref,
134
142
  className: (0, import_utils.cn)(
135
143
  "focus:bg-accent focus:text-accent-foreground relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
136
144
  className
137
145
  )
138
- }, props),
139
- /* @__PURE__ */ React.createElement("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center" }, /* @__PURE__ */ React.createElement(SelectPrimitive.ItemIndicator, null, /* @__PURE__ */ React.createElement(import_react_icons.CheckIcon, { className: "h-4 w-4" }))),
140
- /* @__PURE__ */ React.createElement(SelectPrimitive.ItemText, null, children)
146
+ }, props), {
147
+ children: [
148
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_icons.CheckIcon, { className: "h-4 w-4" }) }) }),
149
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.ItemText, { children })
150
+ ]
151
+ })
141
152
  );
142
153
  });
143
154
  SelectItem.displayName = SelectPrimitive.Item.displayName;
144
155
  const SelectSeparator = React.forwardRef((_i, ref) => {
145
156
  var _j = _i, { className } = _j, props = __objRest(_j, ["className"]);
146
- return /* @__PURE__ */ React.createElement(
157
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
147
158
  SelectPrimitive.Separator,
148
159
  __spreadValues({
149
160
  ref,
@@ -58,13 +58,14 @@ __export(separator_exports, {
58
58
  Separator: () => Separator
59
59
  });
60
60
  module.exports = __toCommonJS(separator_exports);
61
+ var import_jsx_runtime = require("react/jsx-runtime");
61
62
  var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"), 1);
62
63
  var React = __toESM(require("react"), 1);
63
64
  var import_utils = require("../lib/utils");
64
65
  const Separator = React.forwardRef(
65
66
  (_a, ref) => {
66
67
  var _b = _a, { className, orientation = "horizontal", decorative = true } = _b, props = __objRest(_b, ["className", "orientation", "decorative"]);
67
- return /* @__PURE__ */ React.createElement(
68
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
68
69
  SeparatorPrimitive.Root,
69
70
  __spreadValues({
70
71
  ref,
package/dist/ui/sheet.cjs CHANGED
@@ -70,6 +70,7 @@ __export(sheet_exports, {
70
70
  SheetTrigger: () => SheetTrigger
71
71
  });
72
72
  module.exports = __toCommonJS(sheet_exports);
73
+ var import_jsx_runtime = require("react/jsx-runtime");
73
74
  var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
74
75
  var import_react_icons = require("@radix-ui/react-icons");
75
76
  var import_class_variance_authority = require("class-variance-authority");
@@ -81,7 +82,7 @@ const SheetClose = SheetPrimitive.Close;
81
82
  const SheetPortal = SheetPrimitive.Portal;
82
83
  const SheetOverlay = React.forwardRef((_a, ref) => {
83
84
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
84
- return /* @__PURE__ */ React.createElement(
85
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
85
86
  SheetPrimitive.Overlay,
86
87
  __spreadProps(__spreadValues({
87
88
  className: (0, import_utils.cn)(
@@ -112,15 +113,24 @@ const sheetVariants = (0, import_class_variance_authority.cva)(
112
113
  );
113
114
  const SheetContent = React.forwardRef((_c, ref) => {
114
115
  var _d = _c, { side = "right", className, children } = _d, props = __objRest(_d, ["side", "className", "children"]);
115
- return /* @__PURE__ */ React.createElement(SheetPortal, null, /* @__PURE__ */ React.createElement(SheetOverlay, null), /* @__PURE__ */ React.createElement(
116
- SheetPrimitive.Content,
117
- __spreadValues({
118
- ref,
119
- className: (0, import_utils.cn)(sheetVariants({ side }), className)
120
- }, props),
121
- children,
122
- /* @__PURE__ */ React.createElement(SheetPrimitive.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none" }, /* @__PURE__ */ React.createElement(import_react_icons.Cross2Icon, { className: "size-4" }), /* @__PURE__ */ React.createElement("span", { className: "sr-only" }, "Close"))
123
- ));
116
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SheetPortal, { children: [
117
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SheetOverlay, {}),
118
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
119
+ SheetPrimitive.Content,
120
+ __spreadProps(__spreadValues({
121
+ ref,
122
+ className: (0, import_utils.cn)(sheetVariants({ side }), className)
123
+ }, props), {
124
+ children: [
125
+ children,
126
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SheetPrimitive.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none", children: [
127
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_icons.Cross2Icon, { className: "size-4" }),
128
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "sr-only", children: "Close" })
129
+ ] })
130
+ ]
131
+ })
132
+ )
133
+ ] });
124
134
  });
125
135
  SheetContent.displayName = SheetPrimitive.Content.displayName;
126
136
  const SheetHeader = (_e) => {
@@ -129,7 +139,7 @@ const SheetHeader = (_e) => {
129
139
  } = _f, props = __objRest(_f, [
130
140
  "className"
131
141
  ]);
132
- return /* @__PURE__ */ React.createElement(
142
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
133
143
  "div",
134
144
  __spreadValues({
135
145
  className: (0, import_utils.cn)(
@@ -146,7 +156,7 @@ const SheetFooter = (_g) => {
146
156
  } = _h, props = __objRest(_h, [
147
157
  "className"
148
158
  ]);
149
- return /* @__PURE__ */ React.createElement(
159
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
150
160
  "div",
151
161
  __spreadValues({
152
162
  className: (0, import_utils.cn)(
@@ -159,7 +169,7 @@ const SheetFooter = (_g) => {
159
169
  SheetFooter.displayName = "SheetFooter";
160
170
  const SheetTitle = React.forwardRef((_i, ref) => {
161
171
  var _j = _i, { className } = _j, props = __objRest(_j, ["className"]);
162
- return /* @__PURE__ */ React.createElement(
172
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
163
173
  SheetPrimitive.Title,
164
174
  __spreadValues({
165
175
  ref,
@@ -170,7 +180,7 @@ const SheetTitle = React.forwardRef((_i, ref) => {
170
180
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
171
181
  const SheetDescription = React.forwardRef((_k, ref) => {
172
182
  var _l = _k, { className } = _l, props = __objRest(_l, ["className"]);
173
- return /* @__PURE__ */ React.createElement(
183
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
174
184
  SheetPrimitive.Description,
175
185
  __spreadValues({
176
186
  ref,
@@ -47,6 +47,7 @@ __export(skeleton_exports, {
47
47
  Skeleton: () => Skeleton
48
48
  });
49
49
  module.exports = __toCommonJS(skeleton_exports);
50
+ var import_jsx_runtime = require("react/jsx-runtime");
50
51
  var import_utils = require("../lib/utils");
51
52
  function Skeleton(_a) {
52
53
  var _b = _a, {
@@ -54,7 +55,7 @@ function Skeleton(_a) {
54
55
  } = _b, props = __objRest(_b, [
55
56
  "className"
56
57
  ]);
57
- return /* @__PURE__ */ React.createElement(
58
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
58
59
  "div",
59
60
  __spreadValues({
60
61
  className: (0, import_utils.cn)("bg-primary/10 animate-pulse rounded-md", className)