@contractspec/lib.ui-kit-web 1.61.0 → 2.0.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 (313) hide show
  1. package/dist/browser/ui/alert-dialog.js +9 -4
  2. package/dist/browser/ui/atoms/Pagination/Pagination.js +9 -4
  3. package/dist/browser/ui/atoms/Pagination/index.js +9 -4
  4. package/dist/browser/ui/atoms/SearchInput/SearchInput.js +9 -4
  5. package/dist/browser/ui/atoms/SearchInput/index.js +9 -4
  6. package/dist/browser/ui/button.js +9 -4
  7. package/dist/browser/ui/calendar.js +12 -7
  8. package/dist/browser/ui/carousel.js +20 -15
  9. package/dist/browser/ui/confirm-dialog.js +9 -4
  10. package/dist/browser/ui/context-menu.js +178 -85
  11. package/dist/browser/ui/cta.js +13 -9
  12. package/dist/browser/ui/date-picker.js +17 -12
  13. package/dist/browser/ui/date-range-picker.js +14 -9
  14. package/dist/browser/ui/datetime-picker.js +21 -16
  15. package/dist/browser/ui/empty-state.js +32 -10
  16. package/dist/browser/ui/input-group.js +9 -4
  17. package/dist/browser/ui/input-otp.js +37 -18
  18. package/dist/browser/ui/link.js +6 -4
  19. package/dist/browser/ui/loading-button.js +41 -14
  20. package/dist/browser/ui/marketing/Hero.js +9 -4
  21. package/dist/browser/ui/marketing/PricingTable.js +9 -4
  22. package/dist/browser/ui/marketing/index.js +9 -4
  23. package/dist/browser/ui/molecules/Autocomplete/index.js +15 -10
  24. package/dist/browser/ui/molecules/SearchAndFilter/SearchAndFilter.js +9 -4
  25. package/dist/browser/ui/molecules/SearchAndFilter/index.js +9 -4
  26. package/dist/browser/ui/organisms/ErrorBoundary/ErrorBoundary.js +12 -7
  27. package/dist/browser/ui/organisms/ErrorBoundary/index.js +12 -7
  28. package/dist/browser/ui/organisms/ListPage/ListPage.js +41 -14
  29. package/dist/browser/ui/organisms/ListPage/index.js +41 -14
  30. package/dist/browser/ui/page-header.js +32 -10
  31. package/dist/browser/ui/pagination.js +98 -79
  32. package/dist/browser/ui/resizable.js +6 -9
  33. package/dist/browser/ui/section.js +12 -4
  34. package/dist/browser/ui/sidebar.js +22 -17
  35. package/dist/browser/ui/stack.js +32 -10
  36. package/dist/browser/ui/stat-card-group.js +32 -10
  37. package/dist/browser/ui/stepper.js +32 -10
  38. package/dist/browser/ui/time-picker.js +13 -8
  39. package/dist/browser/ui/toast.js +57 -29
  40. package/dist/browser/ui/toaster.js +60 -32
  41. package/dist/browser/ui/usecases/UseCaseCard.js +41 -14
  42. package/dist/browser/ui/usecases/UserStoryCard.js +32 -10
  43. package/dist/browser/ui/usecases/index.js +41 -14
  44. package/dist/browser/ui/visually-hidden.js +8 -4
  45. package/dist/index.d.ts +0 -1
  46. package/dist/ui/accordion.d.ts +0 -1
  47. package/dist/ui/alert-dialog.d.ts +0 -1
  48. package/dist/ui/alert-dialog.js +9 -4
  49. package/dist/ui/alert.d.ts +0 -1
  50. package/dist/ui/aspect-ratio.d.ts +0 -1
  51. package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +0 -1
  52. package/dist/ui/atoms/FilterSelect/index.d.ts +0 -1
  53. package/dist/ui/atoms/FilterSelect/types.d.ts +0 -1
  54. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +0 -1
  55. package/dist/ui/atoms/LoadingSpinner/index.d.ts +0 -1
  56. package/dist/ui/atoms/Pagination/Pagination.d.ts +0 -1
  57. package/dist/ui/atoms/Pagination/Pagination.js +9 -4
  58. package/dist/ui/atoms/Pagination/index.d.ts +0 -1
  59. package/dist/ui/atoms/Pagination/index.js +9 -4
  60. package/dist/ui/atoms/Pagination/types.d.ts +0 -1
  61. package/dist/ui/atoms/SearchInput/SearchInput.d.ts +0 -1
  62. package/dist/ui/atoms/SearchInput/SearchInput.js +9 -4
  63. package/dist/ui/atoms/SearchInput/index.d.ts +0 -1
  64. package/dist/ui/atoms/SearchInput/index.js +9 -4
  65. package/dist/ui/atoms/SearchInput/types.d.ts +0 -1
  66. package/dist/ui/avatar.d.ts +0 -1
  67. package/dist/ui/badge.d.ts +0 -1
  68. package/dist/ui/breadcrumb.d.ts +0 -1
  69. package/dist/ui/button.d.ts +2 -7
  70. package/dist/ui/button.js +9 -4
  71. package/dist/ui/calendar.d.ts +0 -1
  72. package/dist/ui/calendar.js +12 -7
  73. package/dist/ui/card.d.ts +0 -1
  74. package/dist/ui/carousel.d.ts +0 -1
  75. package/dist/ui/carousel.js +20 -15
  76. package/dist/ui/checkbox.d.ts +0 -1
  77. package/dist/ui/collapsible.d.ts +0 -1
  78. package/dist/ui/command.d.ts +0 -1
  79. package/dist/ui/confirm-dialog.d.ts +0 -1
  80. package/dist/ui/confirm-dialog.js +9 -4
  81. package/dist/ui/context-menu.d.ts +26 -23
  82. package/dist/ui/context-menu.js +178 -85
  83. package/dist/ui/cta.d.ts +2 -9
  84. package/dist/ui/cta.js +13 -9
  85. package/dist/ui/date-picker.d.ts +0 -1
  86. package/dist/ui/date-picker.js +17 -12
  87. package/dist/ui/date-range-picker.d.ts +0 -1
  88. package/dist/ui/date-range-picker.js +14 -9
  89. package/dist/ui/datetime-picker.d.ts +0 -1
  90. package/dist/ui/datetime-picker.js +21 -16
  91. package/dist/ui/dialog.d.ts +0 -1
  92. package/dist/ui/drawer.d.ts +0 -1
  93. package/dist/ui/dropdown-menu.d.ts +0 -1
  94. package/dist/ui/empty-state.d.ts +0 -1
  95. package/dist/ui/empty-state.js +32 -10
  96. package/dist/ui/empty.d.ts +0 -1
  97. package/dist/ui/field.d.ts +0 -1
  98. package/dist/ui/focus-on-route-change.d.ts +0 -1
  99. package/dist/ui/form.d.ts +0 -1
  100. package/dist/ui/hover-card.d.ts +0 -1
  101. package/dist/ui/input-group.d.ts +0 -1
  102. package/dist/ui/input-group.js +9 -4
  103. package/dist/ui/input-otp.d.ts +13 -32
  104. package/dist/ui/input-otp.js +37 -18
  105. package/dist/ui/input.d.ts +0 -1
  106. package/dist/ui/label.d.ts +0 -1
  107. package/dist/ui/link.d.ts +4 -3
  108. package/dist/ui/link.js +6 -4
  109. package/dist/ui/live-region.d.ts +0 -1
  110. package/dist/ui/loading-button.d.ts +0 -1
  111. package/dist/ui/loading-button.js +41 -14
  112. package/dist/ui/map/MapBase.d.ts +0 -1
  113. package/dist/ui/map/MapGeoJsonOverlay.d.ts +0 -1
  114. package/dist/ui/map/MapHeatmapH3.d.ts +0 -1
  115. package/dist/ui/map/MapMarkers.d.ts +0 -1
  116. package/dist/ui/map/index.d.ts +0 -1
  117. package/dist/ui/marketing/FeatureGrid.d.ts +0 -1
  118. package/dist/ui/marketing/Hero.d.ts +0 -1
  119. package/dist/ui/marketing/Hero.js +9 -4
  120. package/dist/ui/marketing/PricingTable.d.ts +0 -1
  121. package/dist/ui/marketing/PricingTable.js +9 -4
  122. package/dist/ui/marketing/index.d.ts +0 -1
  123. package/dist/ui/marketing/index.js +9 -4
  124. package/dist/ui/menubar.d.ts +0 -1
  125. package/dist/ui/molecules/Autocomplete/index.d.ts +0 -1
  126. package/dist/ui/molecules/Autocomplete/index.js +15 -10
  127. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +0 -1
  128. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +9 -4
  129. package/dist/ui/molecules/SearchAndFilter/index.d.ts +0 -1
  130. package/dist/ui/molecules/SearchAndFilter/index.js +9 -4
  131. package/dist/ui/molecules/SearchAndFilter/types.d.ts +0 -1
  132. package/dist/ui/molecules/SkeletonList.d.ts +0 -1
  133. package/dist/ui/nav-layout.d.ts +0 -1
  134. package/dist/ui/navigation-menu.d.ts +0 -1
  135. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +0 -1
  136. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +12 -7
  137. package/dist/ui/organisms/ErrorBoundary/index.d.ts +0 -1
  138. package/dist/ui/organisms/ErrorBoundary/index.js +12 -7
  139. package/dist/ui/organisms/ListPage/ListPage.d.ts +0 -1
  140. package/dist/ui/organisms/ListPage/ListPage.js +41 -14
  141. package/dist/ui/organisms/ListPage/index.d.ts +0 -1
  142. package/dist/ui/organisms/ListPage/index.js +41 -14
  143. package/dist/ui/organisms/ListPage/types.d.ts +0 -1
  144. package/dist/ui/page-header.d.ts +0 -1
  145. package/dist/ui/page-header.js +32 -10
  146. package/dist/ui/pagination.d.ts +11 -23
  147. package/dist/ui/pagination.js +98 -79
  148. package/dist/ui/popover.d.ts +0 -1
  149. package/dist/ui/progress.d.ts +0 -1
  150. package/dist/ui/radio-group.d.ts +0 -1
  151. package/dist/ui/resizable.d.ts +5 -21
  152. package/dist/ui/resizable.js +6 -9
  153. package/dist/ui/route-announcer.d.ts +0 -1
  154. package/dist/ui/scroll-area.d.ts +0 -1
  155. package/dist/ui/section.d.ts +2 -10
  156. package/dist/ui/section.js +12 -4
  157. package/dist/ui/select.d.ts +0 -1
  158. package/dist/ui/separator.d.ts +0 -1
  159. package/dist/ui/sheet.d.ts +0 -1
  160. package/dist/ui/sidebar.d.ts +0 -1
  161. package/dist/ui/sidebar.js +22 -17
  162. package/dist/ui/skeleton.d.ts +0 -1
  163. package/dist/ui/skip-link.d.ts +0 -1
  164. package/dist/ui/slider.d.ts +0 -1
  165. package/dist/ui/sonner.d.ts +0 -1
  166. package/dist/ui/stack.d.ts +15 -24
  167. package/dist/ui/stack.js +32 -10
  168. package/dist/ui/stat-card-group.d.ts +0 -1
  169. package/dist/ui/stat-card-group.js +32 -10
  170. package/dist/ui/stepper.d.ts +0 -1
  171. package/dist/ui/stepper.js +32 -10
  172. package/dist/ui/switch.d.ts +0 -1
  173. package/dist/ui/table.d.ts +0 -1
  174. package/dist/ui/tabs.d.ts +0 -1
  175. package/dist/ui/text.d.ts +0 -1
  176. package/dist/ui/textarea.d.ts +0 -1
  177. package/dist/ui/time-picker.d.ts +0 -1
  178. package/dist/ui/time-picker.js +13 -8
  179. package/dist/ui/toast.d.ts +20 -8
  180. package/dist/ui/toast.js +57 -29
  181. package/dist/ui/toaster.d.ts +0 -1
  182. package/dist/ui/toaster.js +60 -32
  183. package/dist/ui/toggle-group.d.ts +0 -1
  184. package/dist/ui/toggle.d.ts +0 -1
  185. package/dist/ui/tooltip.d.ts +0 -1
  186. package/dist/ui/typography.d.ts +0 -1
  187. package/dist/ui/use-media-query.d.ts +0 -1
  188. package/dist/ui/use-mobile.d.ts +0 -1
  189. package/dist/ui/use-reduced-motion.d.ts +0 -1
  190. package/dist/ui/use-toast.d.ts +0 -1
  191. package/dist/ui/useListState.d.ts +0 -1
  192. package/dist/ui/usecases/UseCaseCard.d.ts +0 -1
  193. package/dist/ui/usecases/UseCaseCard.js +41 -14
  194. package/dist/ui/usecases/UserStoryCard.d.ts +0 -1
  195. package/dist/ui/usecases/UserStoryCard.js +32 -10
  196. package/dist/ui/usecases/index.d.ts +0 -1
  197. package/dist/ui/usecases/index.js +41 -14
  198. package/dist/ui/utils.d.ts +0 -1
  199. package/dist/ui/visually-hidden.d.ts +4 -3
  200. package/dist/ui/visually-hidden.js +8 -4
  201. package/package.json +13 -12
  202. package/dist/index.d.ts.map +0 -1
  203. package/dist/ui/accordion.d.ts.map +0 -1
  204. package/dist/ui/alert-dialog.d.ts.map +0 -1
  205. package/dist/ui/alert.d.ts.map +0 -1
  206. package/dist/ui/aspect-ratio.d.ts.map +0 -1
  207. package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts.map +0 -1
  208. package/dist/ui/atoms/FilterSelect/index.d.ts.map +0 -1
  209. package/dist/ui/atoms/FilterSelect/types.d.ts.map +0 -1
  210. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts.map +0 -1
  211. package/dist/ui/atoms/LoadingSpinner/index.d.ts.map +0 -1
  212. package/dist/ui/atoms/Pagination/Pagination.d.ts.map +0 -1
  213. package/dist/ui/atoms/Pagination/index.d.ts.map +0 -1
  214. package/dist/ui/atoms/Pagination/types.d.ts.map +0 -1
  215. package/dist/ui/atoms/SearchInput/SearchInput.d.ts.map +0 -1
  216. package/dist/ui/atoms/SearchInput/index.d.ts.map +0 -1
  217. package/dist/ui/atoms/SearchInput/types.d.ts.map +0 -1
  218. package/dist/ui/avatar.d.ts.map +0 -1
  219. package/dist/ui/badge.d.ts.map +0 -1
  220. package/dist/ui/breadcrumb.d.ts.map +0 -1
  221. package/dist/ui/button.d.ts.map +0 -1
  222. package/dist/ui/calendar.d.ts.map +0 -1
  223. package/dist/ui/card.d.ts.map +0 -1
  224. package/dist/ui/carousel.d.ts.map +0 -1
  225. package/dist/ui/checkbox.d.ts.map +0 -1
  226. package/dist/ui/collapsible.d.ts.map +0 -1
  227. package/dist/ui/command.d.ts.map +0 -1
  228. package/dist/ui/confirm-dialog.d.ts.map +0 -1
  229. package/dist/ui/context-menu.d.ts.map +0 -1
  230. package/dist/ui/cta.d.ts.map +0 -1
  231. package/dist/ui/date-picker.d.ts.map +0 -1
  232. package/dist/ui/date-range-picker.d.ts.map +0 -1
  233. package/dist/ui/datetime-picker.d.ts.map +0 -1
  234. package/dist/ui/dialog.d.ts.map +0 -1
  235. package/dist/ui/drawer.d.ts.map +0 -1
  236. package/dist/ui/dropdown-menu.d.ts.map +0 -1
  237. package/dist/ui/empty-state.d.ts.map +0 -1
  238. package/dist/ui/empty.d.ts.map +0 -1
  239. package/dist/ui/field.d.ts.map +0 -1
  240. package/dist/ui/focus-on-route-change.d.ts.map +0 -1
  241. package/dist/ui/form.d.ts.map +0 -1
  242. package/dist/ui/hover-card.d.ts.map +0 -1
  243. package/dist/ui/input-group.d.ts.map +0 -1
  244. package/dist/ui/input-otp.d.ts.map +0 -1
  245. package/dist/ui/input.d.ts.map +0 -1
  246. package/dist/ui/label.d.ts.map +0 -1
  247. package/dist/ui/link.d.ts.map +0 -1
  248. package/dist/ui/live-region.d.ts.map +0 -1
  249. package/dist/ui/loading-button.d.ts.map +0 -1
  250. package/dist/ui/map/MapBase.d.ts.map +0 -1
  251. package/dist/ui/map/MapGeoJsonOverlay.d.ts.map +0 -1
  252. package/dist/ui/map/MapHeatmapH3.d.ts.map +0 -1
  253. package/dist/ui/map/MapMarkers.d.ts.map +0 -1
  254. package/dist/ui/map/index.d.ts.map +0 -1
  255. package/dist/ui/marketing/FeatureGrid.d.ts.map +0 -1
  256. package/dist/ui/marketing/Hero.d.ts.map +0 -1
  257. package/dist/ui/marketing/PricingTable.d.ts.map +0 -1
  258. package/dist/ui/marketing/index.d.ts.map +0 -1
  259. package/dist/ui/menubar.d.ts.map +0 -1
  260. package/dist/ui/molecules/Autocomplete/index.d.ts.map +0 -1
  261. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts.map +0 -1
  262. package/dist/ui/molecules/SearchAndFilter/index.d.ts.map +0 -1
  263. package/dist/ui/molecules/SearchAndFilter/types.d.ts.map +0 -1
  264. package/dist/ui/molecules/SkeletonList.d.ts.map +0 -1
  265. package/dist/ui/nav-layout.d.ts.map +0 -1
  266. package/dist/ui/navigation-menu.d.ts.map +0 -1
  267. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts.map +0 -1
  268. package/dist/ui/organisms/ErrorBoundary/index.d.ts.map +0 -1
  269. package/dist/ui/organisms/ListPage/ListPage.d.ts.map +0 -1
  270. package/dist/ui/organisms/ListPage/index.d.ts.map +0 -1
  271. package/dist/ui/organisms/ListPage/types.d.ts.map +0 -1
  272. package/dist/ui/page-header.d.ts.map +0 -1
  273. package/dist/ui/pagination.d.ts.map +0 -1
  274. package/dist/ui/popover.d.ts.map +0 -1
  275. package/dist/ui/progress.d.ts.map +0 -1
  276. package/dist/ui/radio-group.d.ts.map +0 -1
  277. package/dist/ui/resizable.d.ts.map +0 -1
  278. package/dist/ui/route-announcer.d.ts.map +0 -1
  279. package/dist/ui/scroll-area.d.ts.map +0 -1
  280. package/dist/ui/section.d.ts.map +0 -1
  281. package/dist/ui/select.d.ts.map +0 -1
  282. package/dist/ui/separator.d.ts.map +0 -1
  283. package/dist/ui/sheet.d.ts.map +0 -1
  284. package/dist/ui/sidebar.d.ts.map +0 -1
  285. package/dist/ui/skeleton.d.ts.map +0 -1
  286. package/dist/ui/skip-link.d.ts.map +0 -1
  287. package/dist/ui/slider.d.ts.map +0 -1
  288. package/dist/ui/sonner.d.ts.map +0 -1
  289. package/dist/ui/stack.d.ts.map +0 -1
  290. package/dist/ui/stat-card-group.d.ts.map +0 -1
  291. package/dist/ui/stepper.d.ts.map +0 -1
  292. package/dist/ui/switch.d.ts.map +0 -1
  293. package/dist/ui/table.d.ts.map +0 -1
  294. package/dist/ui/tabs.d.ts.map +0 -1
  295. package/dist/ui/text.d.ts.map +0 -1
  296. package/dist/ui/textarea.d.ts.map +0 -1
  297. package/dist/ui/time-picker.d.ts.map +0 -1
  298. package/dist/ui/toast.d.ts.map +0 -1
  299. package/dist/ui/toaster.d.ts.map +0 -1
  300. package/dist/ui/toggle-group.d.ts.map +0 -1
  301. package/dist/ui/toggle.d.ts.map +0 -1
  302. package/dist/ui/tooltip.d.ts.map +0 -1
  303. package/dist/ui/typography.d.ts.map +0 -1
  304. package/dist/ui/use-media-query.d.ts.map +0 -1
  305. package/dist/ui/use-mobile.d.ts.map +0 -1
  306. package/dist/ui/use-reduced-motion.d.ts.map +0 -1
  307. package/dist/ui/use-toast.d.ts.map +0 -1
  308. package/dist/ui/useListState.d.ts.map +0 -1
  309. package/dist/ui/usecases/UseCaseCard.d.ts.map +0 -1
  310. package/dist/ui/usecases/UserStoryCard.d.ts.map +0 -1
  311. package/dist/ui/usecases/index.d.ts.map +0 -1
  312. package/dist/ui/utils.d.ts.map +0 -1
  313. package/dist/ui/visually-hidden.d.ts.map +0 -1
@@ -2,7 +2,6 @@
2
2
  var __require = import.meta.require;
3
3
 
4
4
  // ui/stack.tsx
5
- import * as React from "react";
6
5
  import { cva } from "class-variance-authority";
7
6
  import { cn } from "@contractspec/lib.ui-kit-core/utils";
8
7
  import { jsxDEV } from "react/jsx-dev-runtime";
@@ -38,15 +37,22 @@ var vStackVariants = cva("flex flex-col", {
38
37
  justify: "start"
39
38
  }
40
39
  });
41
- var VStack = React.forwardRef(({ className, gap, align, justify, as = "div", ...props }, ref) => {
40
+ function VStack({
41
+ className,
42
+ gap,
43
+ align,
44
+ justify,
45
+ as = "div",
46
+ ref,
47
+ ...props
48
+ }) {
42
49
  const Comp = as;
43
50
  return /* @__PURE__ */ jsxDEV(Comp, {
44
51
  ref,
45
52
  className: cn(vStackVariants({ gap, align, justify }), className),
46
53
  ...props
47
54
  }, undefined, false, undefined, this);
48
- });
49
- VStack.displayName = "VStack";
55
+ }
50
56
  var hStackVariants = cva("flex flex-row", {
51
57
  variants: {
52
58
  gap: {
@@ -86,15 +92,23 @@ var hStackVariants = cva("flex flex-row", {
86
92
  wrap: "wrap"
87
93
  }
88
94
  });
89
- var HStack = React.forwardRef(({ className, gap, align, justify, wrap, as = "div", ...props }, ref) => {
95
+ function HStack({
96
+ className,
97
+ gap,
98
+ align,
99
+ justify,
100
+ wrap,
101
+ as = "div",
102
+ ref,
103
+ ...props
104
+ }) {
90
105
  const Comp = as;
91
106
  return /* @__PURE__ */ jsxDEV(Comp, {
92
107
  ref,
93
108
  className: cn(hStackVariants({ gap, align, justify, wrap }), className),
94
109
  ...props
95
110
  }, undefined, false, undefined, this);
96
- });
97
- HStack.displayName = "HStack";
111
+ }
98
112
  var boxVariants = cva("flex flex-row", {
99
113
  variants: {
100
114
  gap: {
@@ -134,15 +148,23 @@ var boxVariants = cva("flex flex-row", {
134
148
  wrap: "nowrap"
135
149
  }
136
150
  });
137
- var Box = React.forwardRef(({ className, gap, align, justify, wrap, as = "div", ...props }, ref) => {
151
+ function Box({
152
+ className,
153
+ gap,
154
+ align,
155
+ justify,
156
+ wrap,
157
+ as = "div",
158
+ ref,
159
+ ...props
160
+ }) {
138
161
  const Comp = as;
139
162
  return /* @__PURE__ */ jsxDEV(Comp, {
140
163
  ref,
141
164
  className: cn(boxVariants({ gap, align, justify, wrap }), className),
142
165
  ...props
143
166
  }, undefined, false, undefined, this);
144
- });
145
- Box.displayName = "Box";
167
+ }
146
168
  // ui/empty-state.tsx
147
169
  import { cva as cva2 } from "class-variance-authority";
148
170
  import { cn as cn2 } from "@contractspec/lib.ui-kit-core/utils";
@@ -10,4 +10,3 @@ declare function EmptyTitle({ className, ...props }: React.ComponentPropsWithout
10
10
  declare function EmptyDescription({ className, ...props }: React.ComponentPropsWithoutRef<'p'>): import("react/jsx-runtime").JSX.Element;
11
11
  declare function EmptyContent({ className, ...props }: React.ComponentPropsWithoutRef<'div'>): import("react/jsx-runtime").JSX.Element;
12
12
  export { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia, };
13
- //# sourceMappingURL=empty.d.ts.map
@@ -23,4 +23,3 @@ declare function FieldError({ className, children, errors, ...props }: React.Com
23
23
  } | undefined)[];
24
24
  }): import("react/jsx-runtime").JSX.Element | null;
25
25
  export { Field, FieldLabel, FieldDescription, FieldError, FieldGroup, FieldLegend, FieldSeparator, FieldSet, FieldContent, FieldTitle, };
26
- //# sourceMappingURL=field.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export declare function FocusOnRouteChange({ focusSelector, }: {
2
2
  focusSelector?: string;
3
3
  }): null;
4
- //# sourceMappingURL=focus-on-route-change.d.ts.map
package/dist/ui/form.d.ts CHANGED
@@ -24,4 +24,3 @@ declare function FormControl({ ...props }: React.ComponentPropsWithoutRef<typeof
24
24
  declare function FormDescription({ className, ...props }: React.ComponentPropsWithoutRef<'p'>): import("react/jsx-runtime").JSX.Element;
25
25
  declare function FormMessage({ className, ...props }: React.ComponentPropsWithoutRef<'p'>): import("react/jsx-runtime").JSX.Element | null;
26
26
  export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, };
27
- //# sourceMappingURL=form.d.ts.map
@@ -4,4 +4,3 @@ declare function HoverCard({ ...props }: React.ComponentProps<typeof HoverCardPr
4
4
  declare function HoverCardTrigger({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
5
  declare function HoverCardContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof HoverCardPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
6
6
  export { HoverCard, HoverCardTrigger, HoverCardContent };
7
- //# sourceMappingURL=hover-card.d.ts.map
@@ -14,4 +14,3 @@ declare function InputGroupText({ className, ...props }: React.ComponentPropsWit
14
14
  declare function InputGroupInput({ className, ...props }: React.ComponentPropsWithoutRef<'input'>): import("react/jsx-runtime").JSX.Element;
15
15
  declare function InputGroupTextarea({ className, ...props }: React.ComponentPropsWithoutRef<'textarea'>): import("react/jsx-runtime").JSX.Element;
16
16
  export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea, };
17
- //# sourceMappingURL=input-group.d.ts.map
@@ -2,7 +2,6 @@
2
2
  var __require = import.meta.require;
3
3
 
4
4
  // ui/button.tsx
5
- import * as React from "react";
6
5
  import { Slot } from "@radix-ui/react-slot";
7
6
  import { cva } from "class-variance-authority";
8
7
  import { cn } from "@contractspec/lib.ui-kit-core/utils";
@@ -29,7 +28,14 @@ var buttonVariants = cva("inline-flex items-center justify-center gap-2 whitespa
29
28
  size: "default"
30
29
  }
31
30
  });
32
- var Button = React.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
31
+ function Button({
32
+ className,
33
+ variant,
34
+ size,
35
+ asChild = false,
36
+ ref,
37
+ ...props
38
+ }) {
33
39
  if (asChild) {
34
40
  return /* @__PURE__ */ jsxDEV(Slot, {
35
41
  "data-slot": "button",
@@ -43,8 +49,7 @@ var Button = React.forwardRef(({ className, variant, size, asChild = false, ...p
43
49
  className: cn(buttonVariants({ variant, size, className })),
44
50
  ...props
45
51
  }, undefined, false, undefined, this);
46
- });
47
- Button.displayName = "Button";
52
+ }
48
53
  // ui/input.tsx
49
54
  import { cn as cn2 } from "@contractspec/lib.ui-kit-core/utils";
50
55
  import { jsxDEV as jsxDEV2 } from "react/jsx-dev-runtime";
@@ -1,35 +1,16 @@
1
1
  import * as React from 'react';
2
- declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
3
- value?: string;
4
- onChange?: (newValue: string) => unknown;
5
- maxLength: number;
6
- textAlign?: "left" | "center" | "right";
7
- onComplete?: (...args: any[]) => unknown;
8
- pushPasswordManagerStrategy?: "increase-width" | "none";
9
- pasteTransformer?: (pasted: string) => string;
10
- containerClassName?: string;
11
- noScriptCSSFallback?: string | null;
12
- } & {
13
- render: (props: import("input-otp").RenderProps) => React.ReactNode;
14
- children?: never;
15
- } & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
16
- value?: string;
17
- onChange?: (newValue: string) => unknown;
18
- maxLength: number;
19
- textAlign?: "left" | "center" | "right";
20
- onComplete?: (...args: any[]) => unknown;
21
- pushPasswordManagerStrategy?: "increase-width" | "none";
22
- pasteTransformer?: (pasted: string) => string;
23
- containerClassName?: string;
24
- noScriptCSSFallback?: string | null;
25
- } & {
26
- render?: never;
27
- children: React.ReactNode;
28
- } & React.RefAttributes<HTMLInputElement>, "ref">) & React.RefAttributes<HTMLInputElement>>;
29
- declare const InputOTPGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
30
- declare const InputOTPSlot: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
+ import { OTPInput } from 'input-otp';
3
+ declare function InputOTP({ className, containerClassName, ref, ...props }: React.ComponentPropsWithoutRef<typeof OTPInput> & {
4
+ ref?: React.Ref<React.ElementRef<typeof OTPInput>>;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ declare function InputOTPGroup({ className, ref, ...props }: React.ComponentPropsWithoutRef<'div'> & {
7
+ ref?: React.Ref<HTMLDivElement>;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ declare function InputOTPSlot({ index, className, ref, ...props }: React.ComponentPropsWithoutRef<'div'> & {
31
10
  index: number;
32
- } & React.RefAttributes<HTMLDivElement>>;
33
- declare const InputOTPSeparator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
+ ref?: React.Ref<HTMLDivElement>;
12
+ }): import("react/jsx-runtime").JSX.Element;
13
+ declare function InputOTPSeparator({ ref, ...props }: React.ComponentPropsWithoutRef<'div'> & {
14
+ ref?: React.Ref<HTMLDivElement>;
15
+ }): import("react/jsx-runtime").JSX.Element;
34
16
  export { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator };
35
- //# sourceMappingURL=input-otp.d.ts.map
@@ -8,20 +8,36 @@ import { Dot } from "lucide-react";
8
8
  import { cn } from "@contractspec/lib.ui-kit-core/utils";
9
9
  import { jsxDEV } from "react/jsx-dev-runtime";
10
10
  "use client";
11
- var InputOTP = React.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsxDEV(OTPInput, {
11
+ function InputOTP({
12
+ className,
13
+ containerClassName,
12
14
  ref,
13
- containerClassName: cn("flex items-center gap-2 has-disabled:opacity-50", containerClassName),
14
- className: cn("disabled:cursor-not-allowed", className),
15
15
  ...props
16
- }, undefined, false, undefined, this));
17
- InputOTP.displayName = "InputOTP";
18
- var InputOTPGroup = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxDEV("div", {
16
+ }) {
17
+ return /* @__PURE__ */ jsxDEV(OTPInput, {
18
+ ref,
19
+ containerClassName: cn("flex items-center gap-2 has-disabled:opacity-50", containerClassName),
20
+ className: cn("disabled:cursor-not-allowed", className),
21
+ ...props
22
+ }, undefined, false, undefined, this);
23
+ }
24
+ function InputOTPGroup({
25
+ className,
26
+ ref,
27
+ ...props
28
+ }) {
29
+ return /* @__PURE__ */ jsxDEV("div", {
30
+ ref,
31
+ className: cn("flex items-center", className),
32
+ ...props
33
+ }, undefined, false, undefined, this);
34
+ }
35
+ function InputOTPSlot({
36
+ index,
37
+ className,
19
38
  ref,
20
- className: cn("flex items-center", className),
21
39
  ...props
22
- }, undefined, false, undefined, this));
23
- InputOTPGroup.displayName = "InputOTPGroup";
24
- var InputOTPSlot = React.forwardRef(({ index, className, ...props }, ref) => {
40
+ }) {
25
41
  const inputOTPContext = React.useContext(OTPInputContext);
26
42
  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index] || {};
27
43
  return /* @__PURE__ */ jsxDEV("div", {
@@ -38,15 +54,18 @@ var InputOTPSlot = React.forwardRef(({ index, className, ...props }, ref) => {
38
54
  }, undefined, false, undefined, this)
39
55
  ]
40
56
  }, undefined, true, undefined, this);
41
- });
42
- InputOTPSlot.displayName = "InputOTPSlot";
43
- var InputOTPSeparator = React.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsxDEV("div", {
57
+ }
58
+ function InputOTPSeparator({
44
59
  ref,
45
- role: "separator",
46
- ...props,
47
- children: /* @__PURE__ */ jsxDEV(Dot, {}, undefined, false, undefined, this)
48
- }, undefined, false, undefined, this));
49
- InputOTPSeparator.displayName = "InputOTPSeparator";
60
+ ...props
61
+ }) {
62
+ return /* @__PURE__ */ jsxDEV("div", {
63
+ ref,
64
+ role: "separator",
65
+ ...props,
66
+ children: /* @__PURE__ */ jsxDEV(Dot, {}, undefined, false, undefined, this)
67
+ }, undefined, false, undefined, this);
68
+ }
50
69
  export {
51
70
  InputOTPSlot,
52
71
  InputOTPSeparator,
@@ -2,4 +2,3 @@ import * as React from 'react';
2
2
  export type InputProps = React.ComponentPropsWithoutRef<'input'>;
3
3
  declare function Input({ className, type, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
4
4
  export { Input };
5
- //# sourceMappingURL=input.d.ts.map
@@ -2,4 +2,3 @@ import * as React from 'react';
2
2
  import * as LabelPrimitive from '@radix-ui/react-label';
3
3
  declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
4
  export { Label };
5
- //# sourceMappingURL=label.d.ts.map
package/dist/ui/link.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- declare const Link: import("react").ForwardRefExoticComponent<Omit<import("react").HTMLProps<HTMLAnchorElement> & {
1
+ import * as React from 'react';
2
+ declare function Link({ className, ref, ...props }: React.HTMLProps<HTMLAnchorElement> & {
2
3
  href: string;
3
- }, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
4
+ ref?: React.Ref<HTMLAnchorElement>;
5
+ }): import("react/jsx-runtime").JSX.Element;
4
6
  export { Link };
5
- //# sourceMappingURL=link.d.ts.map
package/dist/ui/link.js CHANGED
@@ -2,18 +2,20 @@
2
2
  var __require = import.meta.require;
3
3
 
4
4
  // ui/link.tsx
5
- import { forwardRef } from "react";
6
5
  import { cn } from "@contractspec/lib.ui-kit-core/utils";
7
6
  import NextLink from "next/link";
8
7
  import { jsxDEV } from "react/jsx-dev-runtime";
9
- var Link = forwardRef(({ className, ...props }, ref) => {
8
+ function Link({
9
+ className,
10
+ ref,
11
+ ...props
12
+ }) {
10
13
  return /* @__PURE__ */ jsxDEV(NextLink, {
11
14
  ref,
12
15
  className: cn('className="text-primary underline"', className),
13
16
  ...props
14
17
  }, undefined, false, undefined, this);
15
- });
16
- Link.displayName = "Link";
18
+ }
17
19
  export {
18
20
  Link
19
21
  };
@@ -8,4 +8,3 @@ export declare function SRLiveRegionProvider({ children, }: {
8
8
  children: React.ReactNode;
9
9
  }): import("react/jsx-runtime").JSX.Element;
10
10
  export {};
11
- //# sourceMappingURL=live-region.d.ts.map
@@ -7,4 +7,3 @@ interface LoadingButtonProps extends ButtonProps {
7
7
  }
8
8
  export declare function LoadingButton({ isLoading, loadingText, children, disabled, ...props }: LoadingButtonProps): import("react/jsx-runtime").JSX.Element;
9
9
  export {};
10
- //# sourceMappingURL=loading-button.d.ts.map
@@ -2,7 +2,6 @@
2
2
  var __require = import.meta.require;
3
3
 
4
4
  // ui/button.tsx
5
- import * as React from "react";
6
5
  import { Slot } from "@radix-ui/react-slot";
7
6
  import { cva } from "class-variance-authority";
8
7
  import { cn } from "@contractspec/lib.ui-kit-core/utils";
@@ -29,7 +28,14 @@ var buttonVariants = cva("inline-flex items-center justify-center gap-2 whitespa
29
28
  size: "default"
30
29
  }
31
30
  });
32
- var Button = React.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
31
+ function Button({
32
+ className,
33
+ variant,
34
+ size,
35
+ asChild = false,
36
+ ref,
37
+ ...props
38
+ }) {
33
39
  if (asChild) {
34
40
  return /* @__PURE__ */ jsxDEV(Slot, {
35
41
  "data-slot": "button",
@@ -43,10 +49,8 @@ var Button = React.forwardRef(({ className, variant, size, asChild = false, ...p
43
49
  className: cn(buttonVariants({ variant, size, className })),
44
50
  ...props
45
51
  }, undefined, false, undefined, this);
46
- });
47
- Button.displayName = "Button";
52
+ }
48
53
  // ui/stack.tsx
49
- import * as React2 from "react";
50
54
  import { cva as cva2 } from "class-variance-authority";
51
55
  import { cn as cn2 } from "@contractspec/lib.ui-kit-core/utils";
52
56
  import { jsxDEV as jsxDEV2 } from "react/jsx-dev-runtime";
@@ -82,15 +86,22 @@ var vStackVariants = cva2("flex flex-col", {
82
86
  justify: "start"
83
87
  }
84
88
  });
85
- var VStack = React2.forwardRef(({ className, gap, align, justify, as = "div", ...props }, ref) => {
89
+ function VStack({
90
+ className,
91
+ gap,
92
+ align,
93
+ justify,
94
+ as = "div",
95
+ ref,
96
+ ...props
97
+ }) {
86
98
  const Comp = as;
87
99
  return /* @__PURE__ */ jsxDEV2(Comp, {
88
100
  ref,
89
101
  className: cn2(vStackVariants({ gap, align, justify }), className),
90
102
  ...props
91
103
  }, undefined, false, undefined, this);
92
- });
93
- VStack.displayName = "VStack";
104
+ }
94
105
  var hStackVariants = cva2("flex flex-row", {
95
106
  variants: {
96
107
  gap: {
@@ -130,15 +141,23 @@ var hStackVariants = cva2("flex flex-row", {
130
141
  wrap: "wrap"
131
142
  }
132
143
  });
133
- var HStack = React2.forwardRef(({ className, gap, align, justify, wrap, as = "div", ...props }, ref) => {
144
+ function HStack({
145
+ className,
146
+ gap,
147
+ align,
148
+ justify,
149
+ wrap,
150
+ as = "div",
151
+ ref,
152
+ ...props
153
+ }) {
134
154
  const Comp = as;
135
155
  return /* @__PURE__ */ jsxDEV2(Comp, {
136
156
  ref,
137
157
  className: cn2(hStackVariants({ gap, align, justify, wrap }), className),
138
158
  ...props
139
159
  }, undefined, false, undefined, this);
140
- });
141
- HStack.displayName = "HStack";
160
+ }
142
161
  var boxVariants = cva2("flex flex-row", {
143
162
  variants: {
144
163
  gap: {
@@ -178,15 +197,23 @@ var boxVariants = cva2("flex flex-row", {
178
197
  wrap: "nowrap"
179
198
  }
180
199
  });
181
- var Box = React2.forwardRef(({ className, gap, align, justify, wrap, as = "div", ...props }, ref) => {
200
+ function Box({
201
+ className,
202
+ gap,
203
+ align,
204
+ justify,
205
+ wrap,
206
+ as = "div",
207
+ ref,
208
+ ...props
209
+ }) {
182
210
  const Comp = as;
183
211
  return /* @__PURE__ */ jsxDEV2(Comp, {
184
212
  ref,
185
213
  className: cn2(boxVariants({ gap, align, justify, wrap }), className),
186
214
  ...props
187
215
  }, undefined, false, undefined, this);
188
- });
189
- Box.displayName = "Box";
216
+ }
190
217
  // ui/text.tsx
191
218
  import { Slot as Slot2 } from "@radix-ui/react-slot";
192
219
  import { cn as cn3 } from "@contractspec/lib.ui-kit-core/utils";
@@ -20,4 +20,3 @@ export interface MapBaseProps {
20
20
  children?: ReactNode;
21
21
  }
22
22
  export declare function MapBase(props: MapBaseProps): import("react/jsx-runtime").JSX.Element;
23
- //# sourceMappingURL=MapBase.d.ts.map
@@ -8,4 +8,3 @@ export interface GeoJsonOverlayProps {
8
8
  lineOpacity?: number;
9
9
  }
10
10
  export declare function MapGeoJsonOverlay(props: GeoJsonOverlayProps): import("react/jsx-runtime").JSX.Element;
11
- //# sourceMappingURL=MapGeoJsonOverlay.d.ts.map
@@ -10,4 +10,3 @@ export interface H3HeatmapProps {
10
10
  maxCount?: number;
11
11
  }
12
12
  export declare function MapHeatmapH3(props: H3HeatmapProps): import("react/jsx-runtime").JSX.Element;
13
- //# sourceMappingURL=MapHeatmapH3.d.ts.map
@@ -10,4 +10,3 @@ export interface MapPoint {
10
10
  export declare function MapMarkers({ points }: {
11
11
  points: MapPoint[];
12
12
  }): import("react/jsx-runtime").JSX.Element;
13
- //# sourceMappingURL=MapMarkers.d.ts.map
@@ -2,4 +2,3 @@ export * from './MapBase';
2
2
  export * from './MapMarkers';
3
3
  export * from './MapGeoJsonOverlay';
4
4
  export * from './MapHeatmapH3';
5
- //# sourceMappingURL=index.d.ts.map
@@ -9,4 +9,3 @@ export declare function FeatureGrid({ items, columns, className, }: {
9
9
  columns?: 2 | 3 | 4;
10
10
  className?: string;
11
11
  }): import("react/jsx-runtime").JSX.Element;
12
- //# sourceMappingURL=FeatureGrid.d.ts.map
@@ -14,4 +14,3 @@ export declare function Hero({ title, subtitle, primaryCta, secondaryCta, classN
14
14
  };
15
15
  className?: string;
16
16
  }): import("react/jsx-runtime").JSX.Element;
17
- //# sourceMappingURL=Hero.d.ts.map
@@ -2,7 +2,6 @@
2
2
  var __require = import.meta.require;
3
3
 
4
4
  // ui/button.tsx
5
- import * as React from "react";
6
5
  import { Slot } from "@radix-ui/react-slot";
7
6
  import { cva } from "class-variance-authority";
8
7
  import { cn } from "@contractspec/lib.ui-kit-core/utils";
@@ -29,7 +28,14 @@ var buttonVariants = cva("inline-flex items-center justify-center gap-2 whitespa
29
28
  size: "default"
30
29
  }
31
30
  });
32
- var Button = React.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
31
+ function Button({
32
+ className,
33
+ variant,
34
+ size,
35
+ asChild = false,
36
+ ref,
37
+ ...props
38
+ }) {
33
39
  if (asChild) {
34
40
  return /* @__PURE__ */ jsxDEV(Slot, {
35
41
  "data-slot": "button",
@@ -43,8 +49,7 @@ var Button = React.forwardRef(({ className, variant, size, asChild = false, ...p
43
49
  className: cn(buttonVariants({ variant, size, className })),
44
50
  ...props
45
51
  }, undefined, false, undefined, this);
46
- });
47
- Button.displayName = "Button";
52
+ }
48
53
  // ui/utils.ts
49
54
  import { clsx } from "clsx";
50
55
  import { twMerge } from "tailwind-merge";
@@ -14,4 +14,3 @@ export declare function PricingTable({ tiers, className, }: {
14
14
  tiers: PricingTier[];
15
15
  className?: string;
16
16
  }): import("react/jsx-runtime").JSX.Element;
17
- //# sourceMappingURL=PricingTable.d.ts.map
@@ -2,7 +2,6 @@
2
2
  var __require = import.meta.require;
3
3
 
4
4
  // ui/button.tsx
5
- import * as React from "react";
6
5
  import { Slot } from "@radix-ui/react-slot";
7
6
  import { cva } from "class-variance-authority";
8
7
  import { cn } from "@contractspec/lib.ui-kit-core/utils";
@@ -29,7 +28,14 @@ var buttonVariants = cva("inline-flex items-center justify-center gap-2 whitespa
29
28
  size: "default"
30
29
  }
31
30
  });
32
- var Button = React.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
31
+ function Button({
32
+ className,
33
+ variant,
34
+ size,
35
+ asChild = false,
36
+ ref,
37
+ ...props
38
+ }) {
33
39
  if (asChild) {
34
40
  return /* @__PURE__ */ jsxDEV(Slot, {
35
41
  "data-slot": "button",
@@ -43,8 +49,7 @@ var Button = React.forwardRef(({ className, variant, size, asChild = false, ...p
43
49
  className: cn(buttonVariants({ variant, size, className })),
44
50
  ...props
45
51
  }, undefined, false, undefined, this);
46
- });
47
- Button.displayName = "Button";
52
+ }
48
53
  // ui/utils.ts
49
54
  import { clsx } from "clsx";
50
55
  import { twMerge } from "tailwind-merge";
@@ -1,4 +1,3 @@
1
1
  export { Hero } from './Hero';
2
2
  export { FeatureGrid, type FeatureItem } from './FeatureGrid';
3
3
  export { PricingTable, type PricingTier } from './PricingTable';
4
- //# sourceMappingURL=index.d.ts.map
@@ -2,7 +2,6 @@
2
2
  var __require = import.meta.require;
3
3
 
4
4
  // ui/button.tsx
5
- import * as React from "react";
6
5
  import { Slot } from "@radix-ui/react-slot";
7
6
  import { cva } from "class-variance-authority";
8
7
  import { cn } from "@contractspec/lib.ui-kit-core/utils";
@@ -29,7 +28,14 @@ var buttonVariants = cva("inline-flex items-center justify-center gap-2 whitespa
29
28
  size: "default"
30
29
  }
31
30
  });
32
- var Button = React.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
31
+ function Button({
32
+ className,
33
+ variant,
34
+ size,
35
+ asChild = false,
36
+ ref,
37
+ ...props
38
+ }) {
33
39
  if (asChild) {
34
40
  return /* @__PURE__ */ jsxDEV(Slot, {
35
41
  "data-slot": "button",
@@ -43,8 +49,7 @@ var Button = React.forwardRef(({ className, variant, size, asChild = false, ...p
43
49
  className: cn(buttonVariants({ variant, size, className })),
44
50
  ...props
45
51
  }, undefined, false, undefined, this);
46
- });
47
- Button.displayName = "Button";
52
+ }
48
53
  // ui/utils.ts
49
54
  import { clsx } from "clsx";
50
55
  import { twMerge } from "tailwind-merge";
@@ -24,4 +24,3 @@ declare function MenubarSubTrigger({ className, inset, children, ...props }: Rea
24
24
  }): import("react/jsx-runtime").JSX.Element;
25
25
  declare function MenubarSubContent({ className, ...props }: React.ComponentProps<typeof MenubarPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
26
26
  export { Menubar, MenubarPortal, MenubarMenu, MenubarTrigger, MenubarContent, MenubarGroup, MenubarSeparator, MenubarLabel, MenubarItem, MenubarShortcut, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, MenubarSub, MenubarSubTrigger, MenubarSubContent, };
27
- //# sourceMappingURL=menubar.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function ComboBoxResponsive(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=index.d.ts.map