@giddaa-housing/ui 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/css/generated/shared.css +1 -1
  2. package/dist/accordion.d.ts +9 -10
  3. package/dist/accordion.js +41 -87
  4. package/dist/activity-timeline.d.ts +12 -16
  5. package/dist/activity-timeline.js +83 -198
  6. package/dist/alert.d.ts +8 -9
  7. package/dist/alert.js +53 -111
  8. package/dist/auth-layout.d.ts +4 -4
  9. package/dist/auth-layout.js +143 -294
  10. package/dist/avatar.d.ts +6 -6
  11. package/dist/avatar.js +49 -19
  12. package/dist/badge.d.ts +12 -14
  13. package/dist/badge.js +71 -11
  14. package/dist/bar-chart.d.ts +65 -67
  15. package/dist/bar-chart.js +232 -207
  16. package/dist/breadcrumb.d.ts +5 -5
  17. package/dist/breadcrumb.js +56 -118
  18. package/dist/bullet-chart.d.ts +33 -33
  19. package/dist/bullet-chart.js +121 -148
  20. package/dist/button-BZIeyUw6.d.ts +17 -0
  21. package/dist/button-group.d.ts +13 -16
  22. package/dist/button-group.js +39 -88
  23. package/dist/button.d.ts +2 -19
  24. package/dist/button.js +94 -13
  25. package/dist/calendar.d.ts +6 -6
  26. package/dist/calendar.js +138 -17
  27. package/dist/card.d.ts +14 -16
  28. package/dist/card.js +59 -145
  29. package/dist/carousel.d.ts +34 -35
  30. package/dist/carousel.js +335 -20
  31. package/dist/chart.d.ts +58 -59
  32. package/dist/chart.js +376 -28
  33. package/dist/checkbox.d.ts +10 -12
  34. package/dist/checkbox.js +82 -47
  35. package/dist/cn-BI_4DMBf.js +23 -0
  36. package/dist/collapsible.d.ts +7 -8
  37. package/dist/collapsible.js +22 -47
  38. package/dist/combobox.d.ts +10 -10
  39. package/dist/combobox.js +236 -44
  40. package/dist/cta.d.ts +12 -14
  41. package/dist/cta.js +175 -341
  42. package/dist/currency-selector.d.ts +31 -32
  43. package/dist/currency-selector.js +106 -184
  44. package/dist/data-table.d.ts +164 -0
  45. package/dist/data-table.js +673 -0
  46. package/dist/date-picker.d.ts +22 -23
  47. package/dist/date-picker.js +119 -192
  48. package/dist/details-card.d.ts +7 -7
  49. package/dist/details-card.js +104 -253
  50. package/dist/dialog.d.ts +13 -14
  51. package/dist/dialog.js +116 -209
  52. package/dist/dropdown-menu.d.ts +13 -13
  53. package/dist/dropdown-menu.js +180 -37
  54. package/dist/dropzone.d.ts +55 -55
  55. package/dist/dropzone.js +327 -439
  56. package/dist/editorial-card.d.ts +23 -25
  57. package/dist/editorial-card.js +129 -296
  58. package/dist/empty-state.d.ts +8 -9
  59. package/dist/empty-state.js +48 -105
  60. package/dist/field.d.ts +23 -25
  61. package/dist/field.js +110 -221
  62. package/dist/filter.d.ts +118 -0
  63. package/dist/filter.js +775 -0
  64. package/dist/footer.d.ts +8 -15
  65. package/dist/footer.js +197 -400
  66. package/dist/funnel-chart.d.ts +38 -41
  67. package/dist/funnel-chart.js +167 -189
  68. package/dist/gallery-indicator.d.ts +11 -12
  69. package/dist/gallery-indicator.js +75 -12
  70. package/dist/heatmap-chart.d.ts +47 -50
  71. package/dist/heatmap-chart.js +186 -237
  72. package/dist/infotip.d.ts +8 -9
  73. package/dist/infotip.js +33 -59
  74. package/dist/input-CfoEJ8A6.d.ts +12 -0
  75. package/dist/input-group.d.ts +16 -20
  76. package/dist/input-group.js +99 -23
  77. package/dist/input-size-context-C-SFx9sx.d.ts +10 -0
  78. package/dist/input-size-context.d.ts +2 -11
  79. package/dist/input-size-context.js +17 -9
  80. package/dist/input.d.ts +2 -13
  81. package/dist/input.js +27 -11
  82. package/dist/item.d.ts +7 -8
  83. package/dist/item.js +22 -59
  84. package/dist/kpi-card.d.ts +18 -20
  85. package/dist/kpi-card.js +84 -192
  86. package/dist/label.d.ts +6 -6
  87. package/dist/label.js +40 -8
  88. package/dist/line-chart.d.ts +88 -89
  89. package/dist/line-chart.js +142 -104
  90. package/dist/logo.d.ts +4 -4
  91. package/dist/logo.js +92 -9
  92. package/dist/map-indicator.d.ts +7 -7
  93. package/dist/map-indicator.js +80 -106
  94. package/dist/match.d.ts +10 -11
  95. package/dist/match.js +62 -107
  96. package/dist/media-gallery-hero.d.ts +40 -42
  97. package/dist/media-gallery-hero.js +182 -343
  98. package/dist/media-player.d.ts +17 -17
  99. package/dist/media-player.js +873 -1348
  100. package/dist/multi-step-form.d.ts +56 -0
  101. package/dist/multi-step-form.js +342 -0
  102. package/dist/number-input.d.ts +34 -34
  103. package/dist/number-input.js +61 -117
  104. package/dist/page-header.d.ts +10 -11
  105. package/dist/page-header.js +34 -79
  106. package/dist/pagination.d.ts +17 -21
  107. package/dist/pagination.js +132 -207
  108. package/dist/password-input.d.ts +5 -13
  109. package/dist/password-input.js +31 -55
  110. package/dist/phone-input.d.ts +19 -20
  111. package/dist/phone-input.js +226 -344
  112. package/dist/photo-gallery.d.ts +19 -19
  113. package/dist/photo-gallery.js +313 -449
  114. package/dist/picker-lzgmsNfG.js +32 -0
  115. package/dist/pie-chart.d.ts +60 -60
  116. package/dist/pie-chart.js +140 -148
  117. package/dist/popover.d.ts +9 -9
  118. package/dist/popover.js +72 -23
  119. package/dist/price-tag.d.ts +26 -27
  120. package/dist/price-tag.js +113 -173
  121. package/dist/progress.d.ts +16 -17
  122. package/dist/progress.js +169 -24
  123. package/dist/property-listing-card.d.ts +14 -17
  124. package/dist/property-listing-card.js +102 -220
  125. package/dist/radar-chart.d.ts +29 -31
  126. package/dist/radar-chart.js +162 -137
  127. package/dist/radio-group.d.ts +11 -13
  128. package/dist/radio-group.js +46 -60
  129. package/dist/review-block.d.ts +14 -16
  130. package/dist/review-block.js +154 -10
  131. package/dist/rich-text-editor.d.ts +30 -14
  132. package/dist/rich-text-editor.js +592 -716
  133. package/dist/scatter-chart.d.ts +45 -47
  134. package/dist/scatter-chart.js +236 -240
  135. package/dist/search-input.d.ts +8 -16
  136. package/dist/search-input.js +57 -109
  137. package/dist/select.d.ts +8 -8
  138. package/dist/select.js +144 -27
  139. package/dist/separator.d.ts +8 -9
  140. package/dist/separator.js +32 -8
  141. package/dist/sheet.d.ts +11 -11
  142. package/dist/sheet.js +103 -24
  143. package/dist/sidebar.d.ts +32 -37
  144. package/dist/sidebar.js +364 -634
  145. package/dist/size-context-D4mYvcg8.d.ts +10 -0
  146. package/dist/size-context.d.ts +2 -11
  147. package/dist/size-context.js +17 -9
  148. package/dist/skeleton.d.ts +4 -5
  149. package/dist/skeleton.js +12 -8
  150. package/dist/slider.d.ts +8 -9
  151. package/dist/slider.js +64 -135
  152. package/dist/sparkline.d.ts +43 -46
  153. package/dist/sparkline.js +221 -251
  154. package/dist/stepper.d.ts +23 -24
  155. package/dist/stepper.js +149 -246
  156. package/dist/styles.css +510 -108
  157. package/dist/switch.d.ts +10 -12
  158. package/dist/switch.js +48 -70
  159. package/dist/table-card.d.ts +35 -0
  160. package/dist/table-card.js +125 -0
  161. package/dist/table.d.ts +18 -14
  162. package/dist/table.js +113 -154
  163. package/dist/tabs.d.ts +23 -15
  164. package/dist/tabs.js +71 -18
  165. package/dist/tag.d.ts +21 -23
  166. package/dist/tag.js +103 -159
  167. package/dist/testimonial-block.d.ts +18 -19
  168. package/dist/testimonial-block.js +189 -358
  169. package/dist/textarea-IS_D8pXf.d.ts +11 -0
  170. package/dist/textarea.d.ts +2 -12
  171. package/dist/textarea.js +24 -11
  172. package/dist/time-picker.d.ts +11 -11
  173. package/dist/time-picker.js +245 -302
  174. package/dist/toast.d.ts +16 -18
  175. package/dist/toast.js +154 -205
  176. package/dist/tooltip.d.ts +8 -9
  177. package/dist/tooltip.js +37 -12
  178. package/dist/tree-map.d.ts +54 -57
  179. package/dist/tree-map.js +227 -269
  180. package/dist/use-uncontrolled-CLfM1XbB.js +21 -0
  181. package/dist/waterfall-chart.d.ts +94 -97
  182. package/dist/waterfall-chart.js +455 -552
  183. package/package.json +28 -9
  184. package/dist/accordion.js.map +0 -1
  185. package/dist/activity-timeline.js.map +0 -1
  186. package/dist/alert.js.map +0 -1
  187. package/dist/auth-layout.js.map +0 -1
  188. package/dist/avatar.js.map +0 -1
  189. package/dist/badge.js.map +0 -1
  190. package/dist/bar-chart.js.map +0 -1
  191. package/dist/breadcrumb.js.map +0 -1
  192. package/dist/bullet-chart.js.map +0 -1
  193. package/dist/button-group.js.map +0 -1
  194. package/dist/button.js.map +0 -1
  195. package/dist/calendar.js.map +0 -1
  196. package/dist/card.js.map +0 -1
  197. package/dist/carousel.js.map +0 -1
  198. package/dist/chart.js.map +0 -1
  199. package/dist/checkbox.js.map +0 -1
  200. package/dist/chunk-322YCNVL.js +0 -278
  201. package/dist/chunk-322YCNVL.js.map +0 -1
  202. package/dist/chunk-3ACQVT7A.js +0 -25
  203. package/dist/chunk-3ACQVT7A.js.map +0 -1
  204. package/dist/chunk-3T65TLJX.js +0 -334
  205. package/dist/chunk-3T65TLJX.js.map +0 -1
  206. package/dist/chunk-6ZSGQHH2.js +0 -192
  207. package/dist/chunk-6ZSGQHH2.js.map +0 -1
  208. package/dist/chunk-7TBMLFGW.js +0 -41
  209. package/dist/chunk-7TBMLFGW.js.map +0 -1
  210. package/dist/chunk-B4H6RNDH.js +0 -135
  211. package/dist/chunk-B4H6RNDH.js.map +0 -1
  212. package/dist/chunk-BUXCGZ6X.js +0 -219
  213. package/dist/chunk-BUXCGZ6X.js.map +0 -1
  214. package/dist/chunk-CHII2QHH.js +0 -58
  215. package/dist/chunk-CHII2QHH.js.map +0 -1
  216. package/dist/chunk-DMNOXRRW.js +0 -147
  217. package/dist/chunk-DMNOXRRW.js.map +0 -1
  218. package/dist/chunk-EFSOSSIC.js +0 -130
  219. package/dist/chunk-EFSOSSIC.js.map +0 -1
  220. package/dist/chunk-FZDSVMKY.js +0 -363
  221. package/dist/chunk-FZDSVMKY.js.map +0 -1
  222. package/dist/chunk-GJOFIJS3.js +0 -246
  223. package/dist/chunk-GJOFIJS3.js.map +0 -1
  224. package/dist/chunk-HL3ZSYES.js +0 -23
  225. package/dist/chunk-HL3ZSYES.js.map +0 -1
  226. package/dist/chunk-JVLUBAPB.js +0 -129
  227. package/dist/chunk-JVLUBAPB.js.map +0 -1
  228. package/dist/chunk-KDPYSOYZ.js +0 -64
  229. package/dist/chunk-KDPYSOYZ.js.map +0 -1
  230. package/dist/chunk-KSMDANKI.js +0 -43
  231. package/dist/chunk-KSMDANKI.js.map +0 -1
  232. package/dist/chunk-MEKCCOP5.js +0 -46
  233. package/dist/chunk-MEKCCOP5.js.map +0 -1
  234. package/dist/chunk-NOFXVRWL.js +0 -451
  235. package/dist/chunk-NOFXVRWL.js.map +0 -1
  236. package/dist/chunk-PC5MHNVA.js +0 -171
  237. package/dist/chunk-PC5MHNVA.js.map +0 -1
  238. package/dist/chunk-QKAQZ2GU.js +0 -122
  239. package/dist/chunk-QKAQZ2GU.js.map +0 -1
  240. package/dist/chunk-QZHSHSVV.js +0 -26
  241. package/dist/chunk-QZHSHSVV.js.map +0 -1
  242. package/dist/chunk-RBMK26XD.js +0 -19
  243. package/dist/chunk-RBMK26XD.js.map +0 -1
  244. package/dist/chunk-SFNJGF6M.js +0 -262
  245. package/dist/chunk-SFNJGF6M.js.map +0 -1
  246. package/dist/chunk-UJJNLGTM.js +0 -112
  247. package/dist/chunk-UJJNLGTM.js.map +0 -1
  248. package/dist/chunk-VGR4ZWJ3.js +0 -418
  249. package/dist/chunk-VGR4ZWJ3.js.map +0 -1
  250. package/dist/chunk-XG47P6D4.js +0 -99
  251. package/dist/chunk-XG47P6D4.js.map +0 -1
  252. package/dist/chunk-XZZAHNVM.js +0 -21
  253. package/dist/chunk-XZZAHNVM.js.map +0 -1
  254. package/dist/chunk-Y4TTYVNE.js +0 -36
  255. package/dist/chunk-Y4TTYVNE.js.map +0 -1
  256. package/dist/chunk-YDWIHW6Q.js +0 -69
  257. package/dist/chunk-YDWIHW6Q.js.map +0 -1
  258. package/dist/collapsible.js.map +0 -1
  259. package/dist/combobox.js.map +0 -1
  260. package/dist/cta.js.map +0 -1
  261. package/dist/currency-selector.js.map +0 -1
  262. package/dist/date-picker.js.map +0 -1
  263. package/dist/details-card.js.map +0 -1
  264. package/dist/dialog.js.map +0 -1
  265. package/dist/dropdown-menu.js.map +0 -1
  266. package/dist/dropzone.js.map +0 -1
  267. package/dist/editorial-card.js.map +0 -1
  268. package/dist/empty-state.js.map +0 -1
  269. package/dist/field.js.map +0 -1
  270. package/dist/footer.js.map +0 -1
  271. package/dist/funnel-chart.js.map +0 -1
  272. package/dist/gallery-indicator.js.map +0 -1
  273. package/dist/heatmap-chart.js.map +0 -1
  274. package/dist/infotip.js.map +0 -1
  275. package/dist/input-group.js.map +0 -1
  276. package/dist/input-size-context.js.map +0 -1
  277. package/dist/input.js.map +0 -1
  278. package/dist/item.js.map +0 -1
  279. package/dist/kpi-card.js.map +0 -1
  280. package/dist/label.js.map +0 -1
  281. package/dist/line-chart.js.map +0 -1
  282. package/dist/logo.js.map +0 -1
  283. package/dist/map-indicator.js.map +0 -1
  284. package/dist/match.js.map +0 -1
  285. package/dist/media-gallery-hero.js.map +0 -1
  286. package/dist/media-player.js.map +0 -1
  287. package/dist/number-input.js.map +0 -1
  288. package/dist/page-header.js.map +0 -1
  289. package/dist/pagination.js.map +0 -1
  290. package/dist/password-input.js.map +0 -1
  291. package/dist/phone-input.js.map +0 -1
  292. package/dist/photo-gallery.js.map +0 -1
  293. package/dist/pie-chart.js.map +0 -1
  294. package/dist/popover.js.map +0 -1
  295. package/dist/price-tag.js.map +0 -1
  296. package/dist/progress.js.map +0 -1
  297. package/dist/property-listing-card.js.map +0 -1
  298. package/dist/radar-chart.js.map +0 -1
  299. package/dist/radio-group.js.map +0 -1
  300. package/dist/review-block.js.map +0 -1
  301. package/dist/rich-text-editor.js.map +0 -1
  302. package/dist/scatter-chart.js.map +0 -1
  303. package/dist/search-input.js.map +0 -1
  304. package/dist/select.js.map +0 -1
  305. package/dist/separator.js.map +0 -1
  306. package/dist/sheet.js.map +0 -1
  307. package/dist/sidebar.js.map +0 -1
  308. package/dist/size-context.js.map +0 -1
  309. package/dist/skeleton.js.map +0 -1
  310. package/dist/slider.js.map +0 -1
  311. package/dist/sparkline.js.map +0 -1
  312. package/dist/stepper.js.map +0 -1
  313. package/dist/switch.js.map +0 -1
  314. package/dist/tab-list.d.ts +0 -38
  315. package/dist/tab-list.js +0 -123
  316. package/dist/tab-list.js.map +0 -1
  317. package/dist/table.js.map +0 -1
  318. package/dist/tabs.js.map +0 -1
  319. package/dist/tag.js.map +0 -1
  320. package/dist/testimonial-block.js.map +0 -1
  321. package/dist/textarea.js.map +0 -1
  322. package/dist/time-picker.js.map +0 -1
  323. package/dist/toast.js.map +0 -1
  324. package/dist/tooltip.js.map +0 -1
  325. package/dist/tree-map.js.map +0 -1
  326. package/dist/waterfall-chart.js.map +0 -1
package/dist/infotip.js CHANGED
@@ -1,66 +1,40 @@
1
1
  "use client";
2
- import {
3
- cn
4
- } from "./chunk-Y4TTYVNE.js";
5
-
6
- // src/infotip.tsx
7
- import { Popover as PopoverPrimitive } from "@base-ui/react/popover";
2
+ import { t as cn } from "./cn-BI_4DMBf.js";
8
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
+ import { Popover } from "@base-ui/react/popover";
5
+ //#region src/infotip.tsx
9
6
  function Infotip({ ...props }) {
10
- return /* @__PURE__ */ jsx(PopoverPrimitive.Root, { "data-slot": "infotip", ...props });
7
+ return /* @__PURE__ */ jsx(Popover.Root, {
8
+ "data-slot": "infotip",
9
+ ...props
10
+ });
11
11
  }
12
12
  function InfotipTrigger({ ...props }) {
13
- return /* @__PURE__ */ jsx(
14
- PopoverPrimitive.Trigger,
15
- {
16
- nativeButton: false,
17
- "data-slot": "infotip-trigger",
18
- openOnHover: true,
19
- delay: 100,
20
- ...props
21
- }
22
- );
13
+ return /* @__PURE__ */ jsx(Popover.Trigger, {
14
+ nativeButton: false,
15
+ "data-slot": "infotip-trigger",
16
+ openOnHover: true,
17
+ delay: 100,
18
+ ...props
19
+ });
23
20
  }
24
- function InfotipContent({
25
- className,
26
- container,
27
- side = "top",
28
- sideOffset = 6,
29
- align = "center",
30
- alignOffset = 0,
31
- showArrow = true,
32
- children,
33
- ...props
34
- }) {
35
- return /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { container, children: /* @__PURE__ */ jsx(
36
- PopoverPrimitive.Positioner,
37
- {
38
- align,
39
- alignOffset,
40
- side,
41
- sideOffset,
42
- className: "isolate z-50",
43
- children: /* @__PURE__ */ jsxs(
44
- PopoverPrimitive.Popup,
45
- {
46
- "data-slot": "infotip-content",
47
- className: cn(
48
- "z-50 relative inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-[6px] border border-line bg-surface-overlay px-3 py-2 text-gdt-sm font-medium text-fg-primary shadow-2 duration-100 has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
49
- className
50
- ),
51
- ...props,
52
- children: [
53
- children,
54
- showArrow ? /* @__PURE__ */ jsx(PopoverPrimitive.Arrow, { className: "relative block w-3 h-1.5 overflow-clip data-[side=bottom]:top-[-6px] data-[side=left]:right-[-9px] data-[side=left]:rotate-90 data-[side=right]:left-[-9px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-6px] data-[side=top]:rotate-180 before:content-[''] before:absolute before:bottom-0 before:left-1/2 before:w-[calc(6px*sqrt(2))] before:h-[calc(6px*sqrt(2))] before:bg-surface-overlay before:border before:border-line before:[transform:translate(-50%,50%)_rotate(45deg)]" }) : null
55
- ]
56
- }
57
- )
58
- }
59
- ) });
21
+ function InfotipContent({ className, container, side = "top", sideOffset = 6, align = "center", alignOffset = 0, showArrow = true, children, ...props }) {
22
+ return /* @__PURE__ */ jsx(Popover.Portal, {
23
+ container,
24
+ children: /* @__PURE__ */ jsx(Popover.Positioner, {
25
+ align,
26
+ alignOffset,
27
+ side,
28
+ sideOffset,
29
+ className: "isolate z-50",
30
+ children: /* @__PURE__ */ jsxs(Popover.Popup, {
31
+ "data-slot": "infotip-content",
32
+ className: cn("z-50 relative inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-[6px] border border-line bg-surface-overlay px-3 py-2 text-gdt-sm font-medium text-fg-primary shadow-2 duration-100 has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
33
+ ...props,
34
+ children: [children, showArrow ? /* @__PURE__ */ jsx(Popover.Arrow, { className: "relative block w-3 h-1.5 overflow-clip data-[side=bottom]:top-[-6px] data-[side=left]:right-[-9px] data-[side=left]:rotate-90 data-[side=right]:left-[-9px] data-[side=right]:-rotate-90 data-[side=top]:bottom-[-6px] data-[side=top]:rotate-180 before:content-[''] before:absolute before:bottom-0 before:left-1/2 before:w-[calc(6px*sqrt(2))] before:h-[calc(6px*sqrt(2))] before:bg-surface-overlay before:border before:border-line before:[transform:translate(-50%,50%)_rotate(45deg)]" }) : null]
35
+ })
36
+ })
37
+ });
60
38
  }
61
- export {
62
- Infotip,
63
- InfotipContent,
64
- InfotipTrigger
65
- };
66
- //# sourceMappingURL=infotip.js.map
39
+ //#endregion
40
+ export { Infotip, InfotipContent, InfotipTrigger };
@@ -0,0 +1,12 @@
1
+ import { t as InputComponentSize } from "./input-size-context-C-SFx9sx.js";
2
+ import { VariantProps } from "class-variance-authority";
3
+ import * as React from "react";
4
+ //#region src/input.d.ts
5
+ declare const inputVariants: (props?: ({
6
+ size?: "lg" | "md" | "sm" | "xl" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ type InputProps = Omit<React.ComponentProps<"input">, "size"> & VariantProps<typeof inputVariants>;
9
+ type InputSize = InputComponentSize;
10
+ declare function Input({ className, size, type, ...props }: InputProps): React.JSX.Element;
11
+ //#endregion
12
+ export { InputSize as n, inputVariants as r, Input as t };
@@ -1,32 +1,28 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import { VariantProps } from 'class-variance-authority';
3
- import * as React from 'react';
4
- import { Button } from './button.js';
5
- import { InputSize } from './input.js';
6
- import { TextareaSize } from './textarea.js';
7
- import '@base-ui/react/button';
8
- import '@base-ui/react/use-render';
9
- import './input-size-context.js';
10
-
1
+ import { t as Button } from "./button-BZIeyUw6.js";
2
+ import { n as InputSize } from "./input-CfoEJ8A6.js";
3
+ import { n as TextareaSize } from "./textarea-IS_D8pXf.js";
4
+ import { VariantProps } from "class-variance-authority";
5
+ import * as React from "react";
6
+ //#region src/input-group.d.ts
11
7
  declare function InputGroup({ className, size, ...props }: React.ComponentProps<"div"> & {
12
- size?: InputSize;
8
+ size?: InputSize;
13
9
  }): React.JSX.Element;
14
10
  declare const inputGroupAddonVariants: (props?: ({
15
- align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
16
- } & class_variance_authority_types.ClassProp) | undefined) => string;
11
+ align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
12
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
17
13
  declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): React.JSX.Element;
18
14
  declare const inputGroupButtonVariants: (props?: ({
19
- size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
20
- } & class_variance_authority_types.ClassProp) | undefined) => string;
15
+ size?: "icon-sm" | "icon-xs" | "sm" | "xs" | null | undefined;
16
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
21
17
  declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size" | "type"> & VariantProps<typeof inputGroupButtonVariants> & {
22
- type?: "button" | "submit" | "reset";
18
+ type?: "button" | "submit" | "reset";
23
19
  }): React.JSX.Element;
24
20
  declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
25
21
  declare function InputGroupInput({ className, size, ...props }: Omit<React.ComponentProps<"input">, "size"> & {
26
- size?: InputSize;
22
+ size?: InputSize;
27
23
  }): React.JSX.Element;
28
24
  declare function InputGroupTextarea({ className, size, ...props }: Omit<React.ComponentProps<"textarea">, "size"> & {
29
- size?: TextareaSize;
25
+ size?: TextareaSize;
30
26
  }): React.JSX.Element;
31
-
32
- export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
27
+ //#endregion
28
+ export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
@@ -1,24 +1,100 @@
1
1
  "use client";
2
- import {
3
- InputGroup,
4
- InputGroupAddon,
5
- InputGroupButton,
6
- InputGroupInput,
7
- InputGroupText,
8
- InputGroupTextarea
9
- } from "./chunk-6ZSGQHH2.js";
10
- import "./chunk-KSMDANKI.js";
11
- import "./chunk-MEKCCOP5.js";
12
- import "./chunk-3ACQVT7A.js";
13
- import "./chunk-B4H6RNDH.js";
14
- import "./chunk-HL3ZSYES.js";
15
- import "./chunk-Y4TTYVNE.js";
16
- export {
17
- InputGroup,
18
- InputGroupAddon,
19
- InputGroupButton,
20
- InputGroupInput,
21
- InputGroupText,
22
- InputGroupTextarea
23
- };
24
- //# sourceMappingURL=input-group.js.map
2
+ import { t as cn } from "./cn-BI_4DMBf.js";
3
+ import { SizeProvider, useComponentSize } from "./size-context.js";
4
+ import { Button } from "./button.js";
5
+ import { InputSizeProvider } from "./input-size-context.js";
6
+ import { Input } from "./input.js";
7
+ import { Textarea } from "./textarea.js";
8
+ import { jsx } from "react/jsx-runtime";
9
+ import { cva } from "class-variance-authority";
10
+ //#region src/input-group.tsx
11
+ const inputGroupVariants = cva("group/input-group relative flex w-full min-w-0 items-center rounded-full has-[textarea]:rounded-xl has-data-[align=block-end]:rounded-xl has-data-[align=block-start]:rounded-xl border border-line bg-canvas transition-[background-color,border-color,box-shadow,color] outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:border-line-subtle has-disabled:bg-surface has-disabled:text-fg-caption-placeholder focus-within:border-line-focus focus-within:inset-ring-1 inset-ring-line-focus has-[[data-slot][aria-invalid=true]]:border-line-danger has-[[data-slot][aria-invalid=true]]:inset-shadow-none has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-start]]:[&>[data-slot=input-group-control]]:group-data-[size=sm]/input-group:pl-2 has-[>[data-align=inline-start]]:[&>[data-slot=input-group-control]]:group-data-[size=md]/input-group:pl-2.5 has-[>[data-align=inline-start]]:[&>[data-slot=input-group-control]]:group-data-[size=lg]/input-group:pl-3 has-[>[data-align=inline-start]]:[&>[data-slot=input-group-control]]:group-data-[size=xl]/input-group:pl-3 has-[>[data-align=inline-end]]:[&>[data-slot=input-group-control]]:group-data-[size=sm]/input-group:pr-2 has-[>[data-align=inline-end]]:[&>[data-slot=input-group-control]]:group-data-[size=md]/input-group:pr-2.5 has-[>[data-align=inline-end]]:[&>[data-slot=input-group-control]]:group-data-[size=lg]/input-group:pr-3 has-[>[data-align=inline-end]]:[&>[data-slot=input-group-control]]:group-data-[size=xl]/input-group:pr-3", {
12
+ variants: { size: {
13
+ sm: "h-8",
14
+ md: "h-10",
15
+ lg: "h-12",
16
+ xl: "h-14"
17
+ } },
18
+ defaultVariants: { size: "md" }
19
+ });
20
+ function InputGroup({ className, size, ...props }) {
21
+ const inheritedSize = useComponentSize();
22
+ const resolvedSize = size ?? inheritedSize;
23
+ return /* @__PURE__ */ jsx(SizeProvider, {
24
+ size: resolvedSize === "xl" ? void 0 : resolvedSize,
25
+ children: /* @__PURE__ */ jsx(InputSizeProvider, {
26
+ size: resolvedSize,
27
+ children: /* @__PURE__ */ jsx("div", {
28
+ "data-slot": "input-group",
29
+ "data-size": resolvedSize,
30
+ role: "group",
31
+ className: cn(inputGroupVariants({ size: resolvedSize }), className),
32
+ ...props
33
+ })
34
+ })
35
+ });
36
+ }
37
+ const inputGroupAddonVariants = cva("flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-gdt-sm font-normal text-fg-secondary select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] group-data-[size=lg]/input-group:[&>svg:not([class*='size-'])]:size-4.5 group-data-[size=xl]/input-group:[&>svg:not([class*='size-'])]:size-5 [&>svg:not([class*='size-'])]:size-4", {
38
+ variants: { align: {
39
+ "inline-start": "order-first group-data-[size=sm]/input-group:pl-3 group-data-[size=md]/input-group:pl-3.5 group-data-[size=lg]/input-group:pl-4 group-data-[size=xl]/input-group:pl-4.5 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem]",
40
+ "inline-end": "order-last group-data-[size=sm]/input-group:pr-3 group-data-[size=md]/input-group:pr-3.5 group-data-[size=lg]/input-group:pr-4 group-data-[size=xl]/input-group:pr-4.5 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem]",
41
+ "block-start": "order-first w-full justify-start px-3 group-data-[size=md]/input-group:px-3.5 group-data-[size=lg]/input-group:px-4 group-data-[size=xl]/input-group:px-4.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2",
42
+ "block-end": "order-last w-full justify-start px-3 group-data-[size=md]/input-group:px-3.5 group-data-[size=lg]/input-group:px-4 group-data-[size=xl]/input-group:px-4.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2"
43
+ } },
44
+ defaultVariants: { align: "inline-start" }
45
+ });
46
+ function InputGroupAddon({ className, align = "inline-start", ...props }) {
47
+ return /* @__PURE__ */ jsx("div", {
48
+ role: "group",
49
+ "data-slot": "input-group-addon",
50
+ "data-align": align,
51
+ className: cn(inputGroupAddonVariants({ align }), className),
52
+ onClick: (e) => {
53
+ if (e.target.closest("button")) return;
54
+ e.currentTarget.parentElement?.querySelector("input")?.focus();
55
+ },
56
+ ...props
57
+ });
58
+ }
59
+ const inputGroupButtonVariants = cva("flex items-center gap-2 text-sm shadow-none rounded-full", {
60
+ variants: { size: {
61
+ xs: "h-6 gap-1 px-1.5 [&>svg:not([class*='size-'])]:size-3.5",
62
+ sm: "",
63
+ "icon-xs": "size-6 p-0 has-[>svg]:p-0",
64
+ "icon-sm": "size-8 p-0 has-[>svg]:p-0"
65
+ } },
66
+ defaultVariants: { size: "xs" }
67
+ });
68
+ function InputGroupButton({ className, type = "button", variant = "ghost", size = "xs", ...props }) {
69
+ return /* @__PURE__ */ jsx(Button, {
70
+ type,
71
+ "data-size": size,
72
+ variant,
73
+ className: cn(inputGroupButtonVariants({ size }), className),
74
+ ...props
75
+ });
76
+ }
77
+ function InputGroupText({ className, ...props }) {
78
+ return /* @__PURE__ */ jsx("span", {
79
+ className: cn("flex items-center gap-2 text-gdt-sm text-fg-secondary [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4", className),
80
+ ...props
81
+ });
82
+ }
83
+ function InputGroupInput({ className, size, ...props }) {
84
+ return /* @__PURE__ */ jsx(Input, {
85
+ "data-slot": "input-group-control",
86
+ size,
87
+ className: cn("flex-1 rounded-none border-0 bg-transparent shadow-none inset-shadow-none inset-ring-0 focus:border-transparent focus:shadow-none focus:inset-shadow-none focus-visible:border-transparent focus-visible:shadow-none focus-visible:ring-0 focus-visible:inset-ring-0 focus-visible:inset-shadow-none disabled:bg-transparent aria-invalid:ring-0 aria-invalid:inset-ring-0 dark:bg-transparent dark:disabled:bg-transparent", className),
88
+ ...props
89
+ });
90
+ }
91
+ function InputGroupTextarea({ className, size, ...props }) {
92
+ return /* @__PURE__ */ jsx(Textarea, {
93
+ "data-slot": "input-group-control",
94
+ size,
95
+ className: cn("flex-1 resize-none rounded-none border-0 bg-transparent shadow-none inset-shadow-none inset-ring-0 focus:border-transparent focus:shadow-none focus:inset-shadow-none focus-visible:border-transparent focus-visible:shadow-none focus-visible:ring-0 focus-visible:inset-ring-0 focus-visible:inset-shadow-none disabled:bg-transparent aria-invalid:ring-0 aria-invalid:inset-ring-0 dark:bg-transparent dark:disabled:bg-transparent", className),
96
+ ...props
97
+ });
98
+ }
99
+ //#endregion
100
+ export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from "react";
2
+ //#region src/input-size-context.d.ts
3
+ type InputComponentSize = "sm" | "md" | "lg" | "xl";
4
+ declare function InputSizeProvider({ children, size }: {
5
+ children: ReactNode;
6
+ size?: InputComponentSize | null;
7
+ }): import("react").JSX.Element;
8
+ declare function useInputComponentSize(size?: InputComponentSize | null, fallback?: InputComponentSize): InputComponentSize;
9
+ //#endregion
10
+ export { InputSizeProvider as n, useInputComponentSize as r, InputComponentSize as t };
@@ -1,11 +1,2 @@
1
- import * as React from 'react';
2
- import { ReactNode } from 'react';
3
-
4
- type InputComponentSize = "sm" | "md" | "lg" | "xl";
5
- declare function InputSizeProvider({ children, size, }: {
6
- children: ReactNode;
7
- size?: InputComponentSize | null;
8
- }): React.JSX.Element;
9
- declare function useInputComponentSize(size?: InputComponentSize | null, fallback?: InputComponentSize): InputComponentSize;
10
-
11
- export { type InputComponentSize, InputSizeProvider, useInputComponentSize };
1
+ import { n as InputSizeProvider, r as useInputComponentSize, t as InputComponentSize } from "./input-size-context-C-SFx9sx.js";
2
+ export { type InputComponentSize, InputSizeProvider, useInputComponentSize };
@@ -1,10 +1,18 @@
1
1
  "use client";
2
- import {
3
- InputSizeProvider,
4
- useInputComponentSize
5
- } from "./chunk-3ACQVT7A.js";
6
- export {
7
- InputSizeProvider,
8
- useInputComponentSize
9
- };
10
- //# sourceMappingURL=input-size-context.js.map
2
+ import { Fragment, jsx } from "react/jsx-runtime";
3
+ import { createContext, useContext } from "react";
4
+ //#region src/input-size-context.tsx
5
+ const InputSizeContext = createContext(void 0);
6
+ function InputSizeProvider({ children, size }) {
7
+ if (!size) return /* @__PURE__ */ jsx(Fragment, { children });
8
+ return /* @__PURE__ */ jsx(InputSizeContext.Provider, {
9
+ value: size,
10
+ children
11
+ });
12
+ }
13
+ function useInputComponentSize(size, fallback = "md") {
14
+ const inheritedSize = useContext(InputSizeContext);
15
+ return size ?? inheritedSize ?? fallback;
16
+ }
17
+ //#endregion
18
+ export { InputSizeProvider, useInputComponentSize };
package/dist/input.d.ts CHANGED
@@ -1,13 +1,2 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import { VariantProps } from 'class-variance-authority';
3
- import * as React from 'react';
4
- import { InputComponentSize } from './input-size-context.js';
5
-
6
- declare const inputVariants: (props?: ({
7
- size?: "sm" | "md" | "lg" | "xl" | null | undefined;
8
- } & class_variance_authority_types.ClassProp) | undefined) => string;
9
- type InputProps = Omit<React.ComponentProps<"input">, "size"> & VariantProps<typeof inputVariants>;
10
- type InputSize = InputComponentSize;
11
- declare function Input({ className, size, type, ...props }: InputProps): React.JSX.Element;
12
-
13
- export { Input, type InputSize, inputVariants };
1
+ import { n as InputSize, r as inputVariants, t as Input } from "./input-CfoEJ8A6.js";
2
+ export { Input, type InputSize, inputVariants };
package/dist/input.js CHANGED
@@ -1,11 +1,27 @@
1
- import {
2
- Input,
3
- inputVariants
4
- } from "./chunk-MEKCCOP5.js";
5
- import "./chunk-3ACQVT7A.js";
6
- import "./chunk-Y4TTYVNE.js";
7
- export {
8
- Input,
9
- inputVariants
10
- };
11
- //# sourceMappingURL=input.js.map
1
+ import { t as cn } from "./cn-BI_4DMBf.js";
2
+ import { useInputComponentSize } from "./input-size-context.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ import { cva } from "class-variance-authority";
5
+ import { Input as Input$1 } from "@base-ui/react/input";
6
+ //#region src/input.tsx
7
+ const inputVariants = cva("flex w-full min-w-0 rounded-full border border-line bg-canvas text-fg-primary transition-[background-color,border-color,box-shadow,color] outline-none file:inline-flex file:border-0 file:bg-transparent file:font-normal file:text-fg-primary placeholder:text-fg-caption-placeholder hover:border-line-strong focus-visible:border-line-focus focus-visible:inset-ring-1 inset-ring-line-focus disabled:pointer-events-none disabled:cursor-not-allowed disabled:border-line-subtle disabled:bg-surface disabled:text-fg-caption-placeholder disabled:placeholder:text-fg-caption-placeholder aria-invalid:border-line-danger aria-invalid:text-fg-danger aria-invalid:placeholder:text-fg-danger aria-invalid:shadow-none", {
8
+ variants: { size: {
9
+ sm: "h-8 px-3 text-gdt-xs font-normal file:text-gdt-xs",
10
+ md: "h-10 px-3.5 text-gdt-sm font-normal file:text-gdt-sm",
11
+ lg: "h-12 px-4 text-gdt-md font-normal file:text-gdt-md",
12
+ xl: "h-14 px-4.5 text-gdt-lg font-normal file:text-gdt-lg"
13
+ } },
14
+ defaultVariants: { size: "md" }
15
+ });
16
+ function Input({ className, size, type, ...props }) {
17
+ const resolvedSize = useInputComponentSize(size);
18
+ return /* @__PURE__ */ jsx(Input$1, {
19
+ type,
20
+ "data-slot": "input",
21
+ "data-size": resolvedSize,
22
+ className: cn(inputVariants({ size: resolvedSize }), className),
23
+ ...props
24
+ });
25
+ }
26
+ //#endregion
27
+ export { Input, inputVariants };
package/dist/item.d.ts CHANGED
@@ -1,8 +1,7 @@
1
- import * as React from 'react';
2
- import { useRender } from '@base-ui/react';
3
-
4
- declare function Item({ className, render, ...props }: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
5
- declare function ItemLabel({ className, render, ...props }: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
6
- declare function ItemValue({ className, render, ...props }: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
7
-
8
- export { Item, ItemLabel, ItemValue };
1
+ import { useRender } from "@base-ui/react";
2
+ //#region src/item.d.ts
3
+ declare function Item({ className, render, ...props }: useRender.ComponentProps<"div">): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
4
+ declare function ItemLabel({ className, render, ...props }: useRender.ComponentProps<"div">): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
5
+ declare function ItemValue({ className, render, ...props }: useRender.ComponentProps<"div">): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
6
+ //#endregion
7
+ export { Item, ItemLabel, ItemValue };
package/dist/item.js CHANGED
@@ -1,63 +1,26 @@
1
- import {
2
- cn
3
- } from "./chunk-Y4TTYVNE.js";
4
-
5
- // src/item.tsx
1
+ import { t as cn } from "./cn-BI_4DMBf.js";
6
2
  import { mergeProps, useRender } from "@base-ui/react";
7
- function Item({
8
- className,
9
- render,
10
- ...props
11
- }) {
12
- return useRender({
13
- defaultTagName: "div",
14
- props: mergeProps(
15
- {
16
- className: cn("flex flex-col gap-1", className)
17
- },
18
- props
19
- ),
20
- render
21
- });
3
+ //#region src/item.tsx
4
+ function Item({ className, render, ...props }) {
5
+ return useRender({
6
+ defaultTagName: "div",
7
+ props: mergeProps({ className: cn("flex flex-col gap-1", className) }, props),
8
+ render
9
+ });
22
10
  }
23
- function ItemLabel({
24
- className,
25
- render,
26
- ...props
27
- }) {
28
- return useRender({
29
- defaultTagName: "div",
30
- props: mergeProps(
31
- {
32
- className: cn("text-gdt-sm text-fg-secondary", className)
33
- },
34
- props
35
- ),
36
- render
37
- });
11
+ function ItemLabel({ className, render, ...props }) {
12
+ return useRender({
13
+ defaultTagName: "div",
14
+ props: mergeProps({ className: cn("text-gdt-sm text-fg-secondary", className) }, props),
15
+ render
16
+ });
38
17
  }
39
- function ItemValue({
40
- className,
41
- render,
42
- ...props
43
- }) {
44
- return useRender({
45
- defaultTagName: "div",
46
- props: mergeProps(
47
- {
48
- className: cn(
49
- "text-gdt-sm font-semibold text-fg-primary [a]:text-fg-brand [&_a]:text-fg-brand",
50
- className
51
- )
52
- },
53
- props
54
- ),
55
- render
56
- });
18
+ function ItemValue({ className, render, ...props }) {
19
+ return useRender({
20
+ defaultTagName: "div",
21
+ props: mergeProps({ className: cn("text-gdt-sm font-semibold text-fg-primary [a]:text-fg-brand [&_a]:text-fg-brand", className) }, props),
22
+ render
23
+ });
57
24
  }
58
- export {
59
- Item,
60
- ItemLabel,
61
- ItemValue
62
- };
63
- //# sourceMappingURL=item.js.map
25
+ //#endregion
26
+ export { Item, ItemLabel, ItemValue };
@@ -1,24 +1,22 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import * as React$1 from 'react';
3
- import { useRender } from '@base-ui/react/use-render';
4
- import { VariantProps } from 'class-variance-authority';
5
- import { Skeleton } from './skeleton.js';
6
-
1
+ import { Skeleton } from "./skeleton.js";
2
+ import { useRender } from "@base-ui/react/use-render";
3
+ import { VariantProps } from "class-variance-authority";
4
+ //#region src/kpi-card.d.ts
7
5
  declare function KpiCard({ className, loading, render, ...props }: useRender.ComponentProps<"article"> & {
8
- loading?: boolean;
9
- }): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
10
- declare function KpiCardTitle({ className, render, ...props }: useRender.ComponentProps<"h3">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
11
- declare function KpiCardLinkOutIcon({ children, className, render, ...props }: useRender.ComponentProps<"span">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
12
- declare function KpiCardValue({ className, render, ...props }: useRender.ComponentProps<"p">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
13
- declare function KpiCardValueSkeleton({ className, ...props }: React.ComponentProps<typeof Skeleton>): React$1.JSX.Element;
6
+ loading?: boolean;
7
+ }): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
8
+ declare function KpiCardTitle({ className, render, ...props }: useRender.ComponentProps<"h3">): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
9
+ declare function KpiCardLinkOutIcon({ children, className, render, ...props }: useRender.ComponentProps<"span">): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
10
+ declare function KpiCardValue({ className, render, ...props }: useRender.ComponentProps<"p">): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
11
+ declare function KpiCardValueSkeleton({ className, ...props }: React.ComponentProps<typeof Skeleton>): import("react").JSX.Element;
14
12
  declare const kpiCardTrendVariants: (props?: ({
15
- direction?: "up" | "down" | null | undefined;
16
- } & class_variance_authority_types.ClassProp) | undefined) => string;
13
+ direction?: "down" | "up" | null | undefined;
14
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
17
15
  type KpiCardTrendProps = useRender.ComponentProps<"p"> & VariantProps<typeof kpiCardTrendVariants> & {
18
- showIcon?: boolean;
16
+ showIcon?: boolean;
19
17
  };
20
- declare function KpiCardTrend({ children, className, direction, render, showIcon, ...props }: KpiCardTrendProps): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
21
- declare function KpiCardTrendValue({ className, render, ...props }: useRender.ComponentProps<"span">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
22
- declare function KpiCardTrendCaption({ className, render, ...props }: useRender.ComponentProps<"span">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
23
-
24
- export { KpiCard, KpiCardLinkOutIcon, KpiCardTitle, KpiCardTrend, KpiCardTrendCaption, KpiCardTrendValue, KpiCardValue, KpiCardValueSkeleton, kpiCardTrendVariants };
18
+ declare function KpiCardTrend({ children, className, direction, render, showIcon, ...props }: KpiCardTrendProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
19
+ declare function KpiCardTrendValue({ className, render, ...props }: useRender.ComponentProps<"span">): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
20
+ declare function KpiCardTrendCaption({ className, render, ...props }: useRender.ComponentProps<"span">): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
21
+ //#endregion
22
+ export { KpiCard, KpiCardLinkOutIcon, KpiCardTitle, KpiCardTrend, KpiCardTrendCaption, KpiCardTrendValue, KpiCardValue, KpiCardValueSkeleton, kpiCardTrendVariants };