@giddaa-housing/ui 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (331) hide show
  1. package/css/generated/shared.css +1 -1
  2. package/css/giddaa.css +12 -2
  3. package/dist/accordion.d.ts +9 -10
  4. package/dist/accordion.js +41 -87
  5. package/dist/activity-timeline.d.ts +12 -16
  6. package/dist/activity-timeline.js +83 -198
  7. package/dist/alert.d.ts +8 -9
  8. package/dist/alert.js +53 -111
  9. package/dist/auth-layout.d.ts +4 -4
  10. package/dist/auth-layout.js +143 -294
  11. package/dist/avatar.d.ts +6 -6
  12. package/dist/avatar.js +49 -19
  13. package/dist/badge.d.ts +12 -14
  14. package/dist/badge.js +71 -11
  15. package/dist/bar-chart.d.ts +65 -67
  16. package/dist/bar-chart.js +232 -207
  17. package/dist/breadcrumb.d.ts +5 -5
  18. package/dist/breadcrumb.js +56 -118
  19. package/dist/bullet-chart.d.ts +41 -37
  20. package/dist/bullet-chart.js +125 -148
  21. package/dist/button-BZIeyUw6.d.ts +17 -0
  22. package/dist/button-group.d.ts +13 -16
  23. package/dist/button-group.js +39 -88
  24. package/dist/button.d.ts +2 -19
  25. package/dist/button.js +94 -13
  26. package/dist/calendar.d.ts +6 -6
  27. package/dist/calendar.js +138 -17
  28. package/dist/card.d.ts +14 -16
  29. package/dist/card.js +59 -145
  30. package/dist/carousel.d.ts +34 -35
  31. package/dist/carousel.js +335 -20
  32. package/dist/chart.d.ts +90 -63
  33. package/dist/chart.js +573 -28
  34. package/dist/checkbox.d.ts +10 -12
  35. package/dist/checkbox.js +82 -47
  36. package/dist/cn-BI_4DMBf.js +23 -0
  37. package/dist/collapsible.d.ts +7 -8
  38. package/dist/collapsible.js +22 -47
  39. package/dist/combobox.d.ts +10 -10
  40. package/dist/combobox.js +236 -44
  41. package/dist/cta.d.ts +12 -14
  42. package/dist/cta.js +175 -341
  43. package/dist/currency-selector.d.ts +31 -32
  44. package/dist/currency-selector.js +106 -184
  45. package/dist/data-table.d.ts +168 -0
  46. package/dist/data-table.js +676 -0
  47. package/dist/date-picker.d.ts +22 -23
  48. package/dist/date-picker.js +119 -192
  49. package/dist/details-card.d.ts +7 -7
  50. package/dist/details-card.js +104 -253
  51. package/dist/dialog.d.ts +13 -14
  52. package/dist/dialog.js +116 -209
  53. package/dist/dropdown-menu.d.ts +13 -13
  54. package/dist/dropdown-menu.js +180 -37
  55. package/dist/dropzone.d.ts +55 -55
  56. package/dist/dropzone.js +327 -439
  57. package/dist/editorial-card.d.ts +23 -25
  58. package/dist/editorial-card.js +129 -296
  59. package/dist/empty-state.d.ts +8 -9
  60. package/dist/empty-state.js +48 -105
  61. package/dist/field.d.ts +23 -25
  62. package/dist/field.js +110 -221
  63. package/dist/filter.d.ts +118 -0
  64. package/dist/filter.js +775 -0
  65. package/dist/footer.d.ts +8 -15
  66. package/dist/footer.js +197 -400
  67. package/dist/funnel-chart.d.ts +49 -48
  68. package/dist/funnel-chart.js +170 -189
  69. package/dist/gallery-indicator.d.ts +11 -12
  70. package/dist/gallery-indicator.js +75 -12
  71. package/dist/heatmap-chart.d.ts +47 -50
  72. package/dist/heatmap-chart.js +186 -237
  73. package/dist/infotip.d.ts +8 -9
  74. package/dist/infotip.js +33 -59
  75. package/dist/input-CfoEJ8A6.d.ts +12 -0
  76. package/dist/input-group.d.ts +16 -20
  77. package/dist/input-group.js +99 -23
  78. package/dist/input-size-context-C-SFx9sx.d.ts +10 -0
  79. package/dist/input-size-context.d.ts +2 -11
  80. package/dist/input-size-context.js +17 -9
  81. package/dist/input.d.ts +2 -13
  82. package/dist/input.js +27 -11
  83. package/dist/item.d.ts +7 -8
  84. package/dist/item.js +22 -59
  85. package/dist/kpi-card.d.ts +18 -20
  86. package/dist/kpi-card.js +84 -192
  87. package/dist/label.d.ts +6 -6
  88. package/dist/label.js +40 -8
  89. package/dist/line-chart.d.ts +200 -129
  90. package/dist/line-chart.js +330 -105
  91. package/dist/list-item.d.ts +22 -0
  92. package/dist/list-item.js +84 -0
  93. package/dist/logo.d.ts +4 -4
  94. package/dist/logo.js +92 -9
  95. package/dist/map-indicator.d.ts +7 -7
  96. package/dist/map-indicator.js +80 -106
  97. package/dist/match.d.ts +10 -11
  98. package/dist/match.js +62 -107
  99. package/dist/media-gallery-hero.d.ts +40 -42
  100. package/dist/media-gallery-hero.js +182 -343
  101. package/dist/media-player.d.ts +17 -17
  102. package/dist/media-player.js +873 -1348
  103. package/dist/multi-step-form.d.ts +56 -0
  104. package/dist/multi-step-form.js +342 -0
  105. package/dist/number-input.d.ts +34 -34
  106. package/dist/number-input.js +64 -117
  107. package/dist/page-header.d.ts +10 -11
  108. package/dist/page-header.js +34 -79
  109. package/dist/pagination.d.ts +17 -21
  110. package/dist/pagination.js +132 -207
  111. package/dist/password-input.d.ts +5 -13
  112. package/dist/password-input.js +31 -55
  113. package/dist/phone-input.d.ts +19 -20
  114. package/dist/phone-input.js +226 -344
  115. package/dist/photo-gallery.d.ts +19 -19
  116. package/dist/photo-gallery.js +313 -449
  117. package/dist/picker-lzgmsNfG.js +32 -0
  118. package/dist/pie-chart.d.ts +121 -90
  119. package/dist/pie-chart.js +183 -149
  120. package/dist/popover.d.ts +9 -9
  121. package/dist/popover.js +72 -23
  122. package/dist/price-tag.d.ts +26 -27
  123. package/dist/price-tag.js +113 -173
  124. package/dist/progress.d.ts +16 -17
  125. package/dist/progress.js +169 -24
  126. package/dist/property-listing-card.d.ts +14 -17
  127. package/dist/property-listing-card.js +102 -220
  128. package/dist/purchase-option-card.d.ts +79 -0
  129. package/dist/purchase-option-card.js +176 -0
  130. package/dist/radar-chart.d.ts +29 -31
  131. package/dist/radar-chart.js +162 -137
  132. package/dist/radio-group.d.ts +11 -13
  133. package/dist/radio-group.js +46 -60
  134. package/dist/review-block.d.ts +14 -16
  135. package/dist/review-block.js +154 -10
  136. package/dist/rich-text-editor.d.ts +30 -14
  137. package/dist/rich-text-editor.js +592 -716
  138. package/dist/scatter-chart.d.ts +45 -47
  139. package/dist/scatter-chart.js +236 -240
  140. package/dist/search-input.d.ts +8 -16
  141. package/dist/search-input.js +57 -109
  142. package/dist/select.d.ts +8 -8
  143. package/dist/select.js +144 -27
  144. package/dist/separator.d.ts +8 -9
  145. package/dist/separator.js +32 -8
  146. package/dist/sheet.d.ts +11 -11
  147. package/dist/sheet.js +103 -24
  148. package/dist/sidebar.d.ts +32 -37
  149. package/dist/sidebar.js +364 -634
  150. package/dist/size-context-D4mYvcg8.d.ts +10 -0
  151. package/dist/size-context.d.ts +2 -11
  152. package/dist/size-context.js +17 -9
  153. package/dist/skeleton.d.ts +4 -5
  154. package/dist/skeleton.js +12 -8
  155. package/dist/slider.d.ts +8 -9
  156. package/dist/slider.js +64 -135
  157. package/dist/sparkline.d.ts +68 -58
  158. package/dist/sparkline.js +315 -251
  159. package/dist/stepper.d.ts +23 -24
  160. package/dist/stepper.js +149 -246
  161. package/dist/styles.css +1004 -116
  162. package/dist/switch.d.ts +10 -12
  163. package/dist/switch.js +48 -70
  164. package/dist/table-card.d.ts +35 -0
  165. package/dist/table-card.js +125 -0
  166. package/dist/table.d.ts +18 -14
  167. package/dist/table.js +117 -154
  168. package/dist/tabs.d.ts +33 -15
  169. package/dist/tabs.js +110 -18
  170. package/dist/tag.d.ts +21 -23
  171. package/dist/tag.js +103 -159
  172. package/dist/testimonial-block.d.ts +18 -19
  173. package/dist/testimonial-block.js +189 -358
  174. package/dist/textarea-IS_D8pXf.d.ts +11 -0
  175. package/dist/textarea.d.ts +2 -12
  176. package/dist/textarea.js +24 -11
  177. package/dist/time-picker.d.ts +11 -11
  178. package/dist/time-picker.js +245 -302
  179. package/dist/toast.d.ts +16 -18
  180. package/dist/toast.js +154 -205
  181. package/dist/tooltip.d.ts +8 -9
  182. package/dist/tooltip.js +37 -12
  183. package/dist/tree-map.d.ts +59 -62
  184. package/dist/tree-map.js +226 -269
  185. package/dist/use-uncontrolled-CLfM1XbB.js +21 -0
  186. package/dist/waterfall-chart.d.ts +94 -97
  187. package/dist/waterfall-chart.js +455 -552
  188. package/package.json +36 -9
  189. package/dist/accordion.js.map +0 -1
  190. package/dist/activity-timeline.js.map +0 -1
  191. package/dist/alert.js.map +0 -1
  192. package/dist/auth-layout.js.map +0 -1
  193. package/dist/avatar.js.map +0 -1
  194. package/dist/badge.js.map +0 -1
  195. package/dist/bar-chart.js.map +0 -1
  196. package/dist/breadcrumb.js.map +0 -1
  197. package/dist/bullet-chart.js.map +0 -1
  198. package/dist/button-group.js.map +0 -1
  199. package/dist/button.js.map +0 -1
  200. package/dist/calendar.js.map +0 -1
  201. package/dist/card.js.map +0 -1
  202. package/dist/carousel.js.map +0 -1
  203. package/dist/chart.js.map +0 -1
  204. package/dist/checkbox.js.map +0 -1
  205. package/dist/chunk-322YCNVL.js +0 -278
  206. package/dist/chunk-322YCNVL.js.map +0 -1
  207. package/dist/chunk-3ACQVT7A.js +0 -25
  208. package/dist/chunk-3ACQVT7A.js.map +0 -1
  209. package/dist/chunk-3T65TLJX.js +0 -334
  210. package/dist/chunk-3T65TLJX.js.map +0 -1
  211. package/dist/chunk-6ZSGQHH2.js +0 -192
  212. package/dist/chunk-6ZSGQHH2.js.map +0 -1
  213. package/dist/chunk-7TBMLFGW.js +0 -41
  214. package/dist/chunk-7TBMLFGW.js.map +0 -1
  215. package/dist/chunk-B4H6RNDH.js +0 -135
  216. package/dist/chunk-B4H6RNDH.js.map +0 -1
  217. package/dist/chunk-BUXCGZ6X.js +0 -219
  218. package/dist/chunk-BUXCGZ6X.js.map +0 -1
  219. package/dist/chunk-CHII2QHH.js +0 -58
  220. package/dist/chunk-CHII2QHH.js.map +0 -1
  221. package/dist/chunk-DMNOXRRW.js +0 -147
  222. package/dist/chunk-DMNOXRRW.js.map +0 -1
  223. package/dist/chunk-EFSOSSIC.js +0 -130
  224. package/dist/chunk-EFSOSSIC.js.map +0 -1
  225. package/dist/chunk-FZDSVMKY.js +0 -363
  226. package/dist/chunk-FZDSVMKY.js.map +0 -1
  227. package/dist/chunk-GJOFIJS3.js +0 -246
  228. package/dist/chunk-GJOFIJS3.js.map +0 -1
  229. package/dist/chunk-HL3ZSYES.js +0 -23
  230. package/dist/chunk-HL3ZSYES.js.map +0 -1
  231. package/dist/chunk-JVLUBAPB.js +0 -129
  232. package/dist/chunk-JVLUBAPB.js.map +0 -1
  233. package/dist/chunk-KDPYSOYZ.js +0 -64
  234. package/dist/chunk-KDPYSOYZ.js.map +0 -1
  235. package/dist/chunk-KSMDANKI.js +0 -43
  236. package/dist/chunk-KSMDANKI.js.map +0 -1
  237. package/dist/chunk-MEKCCOP5.js +0 -46
  238. package/dist/chunk-MEKCCOP5.js.map +0 -1
  239. package/dist/chunk-NOFXVRWL.js +0 -451
  240. package/dist/chunk-NOFXVRWL.js.map +0 -1
  241. package/dist/chunk-PC5MHNVA.js +0 -171
  242. package/dist/chunk-PC5MHNVA.js.map +0 -1
  243. package/dist/chunk-QKAQZ2GU.js +0 -122
  244. package/dist/chunk-QKAQZ2GU.js.map +0 -1
  245. package/dist/chunk-QZHSHSVV.js +0 -26
  246. package/dist/chunk-QZHSHSVV.js.map +0 -1
  247. package/dist/chunk-RBMK26XD.js +0 -19
  248. package/dist/chunk-RBMK26XD.js.map +0 -1
  249. package/dist/chunk-SFNJGF6M.js +0 -262
  250. package/dist/chunk-SFNJGF6M.js.map +0 -1
  251. package/dist/chunk-UJJNLGTM.js +0 -112
  252. package/dist/chunk-UJJNLGTM.js.map +0 -1
  253. package/dist/chunk-VGR4ZWJ3.js +0 -418
  254. package/dist/chunk-VGR4ZWJ3.js.map +0 -1
  255. package/dist/chunk-XG47P6D4.js +0 -99
  256. package/dist/chunk-XG47P6D4.js.map +0 -1
  257. package/dist/chunk-XZZAHNVM.js +0 -21
  258. package/dist/chunk-XZZAHNVM.js.map +0 -1
  259. package/dist/chunk-Y4TTYVNE.js +0 -36
  260. package/dist/chunk-Y4TTYVNE.js.map +0 -1
  261. package/dist/chunk-YDWIHW6Q.js +0 -69
  262. package/dist/chunk-YDWIHW6Q.js.map +0 -1
  263. package/dist/collapsible.js.map +0 -1
  264. package/dist/combobox.js.map +0 -1
  265. package/dist/cta.js.map +0 -1
  266. package/dist/currency-selector.js.map +0 -1
  267. package/dist/date-picker.js.map +0 -1
  268. package/dist/details-card.js.map +0 -1
  269. package/dist/dialog.js.map +0 -1
  270. package/dist/dropdown-menu.js.map +0 -1
  271. package/dist/dropzone.js.map +0 -1
  272. package/dist/editorial-card.js.map +0 -1
  273. package/dist/empty-state.js.map +0 -1
  274. package/dist/field.js.map +0 -1
  275. package/dist/footer.js.map +0 -1
  276. package/dist/funnel-chart.js.map +0 -1
  277. package/dist/gallery-indicator.js.map +0 -1
  278. package/dist/heatmap-chart.js.map +0 -1
  279. package/dist/infotip.js.map +0 -1
  280. package/dist/input-group.js.map +0 -1
  281. package/dist/input-size-context.js.map +0 -1
  282. package/dist/input.js.map +0 -1
  283. package/dist/item.js.map +0 -1
  284. package/dist/kpi-card.js.map +0 -1
  285. package/dist/label.js.map +0 -1
  286. package/dist/line-chart.js.map +0 -1
  287. package/dist/logo.js.map +0 -1
  288. package/dist/map-indicator.js.map +0 -1
  289. package/dist/match.js.map +0 -1
  290. package/dist/media-gallery-hero.js.map +0 -1
  291. package/dist/media-player.js.map +0 -1
  292. package/dist/number-input.js.map +0 -1
  293. package/dist/page-header.js.map +0 -1
  294. package/dist/pagination.js.map +0 -1
  295. package/dist/password-input.js.map +0 -1
  296. package/dist/phone-input.js.map +0 -1
  297. package/dist/photo-gallery.js.map +0 -1
  298. package/dist/pie-chart.js.map +0 -1
  299. package/dist/popover.js.map +0 -1
  300. package/dist/price-tag.js.map +0 -1
  301. package/dist/progress.js.map +0 -1
  302. package/dist/property-listing-card.js.map +0 -1
  303. package/dist/radar-chart.js.map +0 -1
  304. package/dist/radio-group.js.map +0 -1
  305. package/dist/review-block.js.map +0 -1
  306. package/dist/rich-text-editor.js.map +0 -1
  307. package/dist/scatter-chart.js.map +0 -1
  308. package/dist/search-input.js.map +0 -1
  309. package/dist/select.js.map +0 -1
  310. package/dist/separator.js.map +0 -1
  311. package/dist/sheet.js.map +0 -1
  312. package/dist/sidebar.js.map +0 -1
  313. package/dist/size-context.js.map +0 -1
  314. package/dist/skeleton.js.map +0 -1
  315. package/dist/slider.js.map +0 -1
  316. package/dist/sparkline.js.map +0 -1
  317. package/dist/stepper.js.map +0 -1
  318. package/dist/switch.js.map +0 -1
  319. package/dist/tab-list.d.ts +0 -38
  320. package/dist/tab-list.js +0 -123
  321. package/dist/tab-list.js.map +0 -1
  322. package/dist/table.js.map +0 -1
  323. package/dist/tabs.js.map +0 -1
  324. package/dist/tag.js.map +0 -1
  325. package/dist/testimonial-block.js.map +0 -1
  326. package/dist/textarea.js.map +0 -1
  327. package/dist/time-picker.js.map +0 -1
  328. package/dist/toast.js.map +0 -1
  329. package/dist/tooltip.js.map +0 -1
  330. package/dist/tree-map.js.map +0 -1
  331. package/dist/waterfall-chart.js.map +0 -1
@@ -1,112 +1,337 @@
1
1
  "use client";
2
- import {
3
- cartesianAxisProps
4
- } from "./chunk-NOFXVRWL.js";
5
- import {
6
- useComponentSize
7
- } from "./chunk-HL3ZSYES.js";
8
- import "./chunk-Y4TTYVNE.js";
9
-
10
- // src/line-chart.tsx
11
- var LINE_CHART_LAYOUT = {
12
- sm: {
13
- height: 64,
14
- margin: { top: 6, right: 6, bottom: 0, left: 0 },
15
- strokeWidth: 2,
16
- dotRadius: 2.5,
17
- activeDotRadius: 4,
18
- tickFontSize: 9,
19
- yAxisWidth: 22,
20
- tickMargin: 3
21
- },
22
- md: {
23
- height: 88,
24
- margin: { top: 8, right: 8, bottom: 0, left: 0 },
25
- strokeWidth: 2,
26
- dotRadius: 3,
27
- activeDotRadius: 4.5,
28
- tickFontSize: 10,
29
- yAxisWidth: 24,
30
- tickMargin: 4
31
- },
32
- lg: {
33
- height: 108,
34
- margin: { top: 10, right: 10, bottom: 0, left: 0 },
35
- strokeWidth: 2,
36
- dotRadius: 3.5,
37
- activeDotRadius: 5,
38
- tickFontSize: 11,
39
- yAxisWidth: 26,
40
- tickMargin: 5
41
- },
42
- xl: {
43
- height: 132,
44
- margin: { top: 12, right: 12, bottom: 0, left: 0 },
45
- strokeWidth: 2,
46
- dotRadius: 4,
47
- activeDotRadius: 5.5,
48
- tickFontSize: 11,
49
- yAxisWidth: 28,
50
- tickMargin: 6
51
- },
52
- huge: {
53
- height: 164,
54
- margin: { top: 14, right: 14, bottom: 0, left: 0 },
55
- strokeWidth: 2,
56
- dotRadius: 4.5,
57
- activeDotRadius: 6,
58
- tickFontSize: 12,
59
- yAxisWidth: 30,
60
- tickMargin: 7
61
- }
2
+ import { t as cn } from "./cn-BI_4DMBf.js";
3
+ import { SizeProvider, useComponentSize } from "./size-context.js";
4
+ import { ChartContainer, cartesianAxisProps } from "./chart.js";
5
+ import { jsx } from "react/jsx-runtime";
6
+ import { Area, AreaChart as AreaChart$1, CartesianGrid, Line, LineChart as LineChart$1, XAxis, YAxis } from "recharts";
7
+ //#region src/line-chart.tsx
8
+ /**
9
+ * Line and area charts are composable wrappers over the recharts cartesian
10
+ * primitives. recharts 3 registers graphical items through context when they
11
+ * render, so the primitives CAN be wrapped in our own components. Each wrapper
12
+ * bakes in the giddaa defaults (tokens, size-scaled type, mark specs) and
13
+ * forwards every recharts prop, so anything can be overridden in place or
14
+ * replaced with the raw recharts element.
15
+ *
16
+ * Anatomy: `LineChart`/`AreaChart` are the plot roots (frame + responsive box +
17
+ * recharts chart); compose the grid, axes, series, and the shared overlays from
18
+ * `./chart` as children. Both roots share the same axis and grid wrappers.
19
+ *
20
+ * @example
21
+ * <ChartCard size="md">
22
+ * <ChartHeader>
23
+ * <ChartTitle>Revenue Overview</ChartTitle>
24
+ * <ChartDescription>Monthly revenue · Jan–Jul</ChartDescription>
25
+ * </ChartHeader>
26
+ * <AreaChart config={config} data={data}>
27
+ * <LineChartGrid />
28
+ * <LineChartXAxis dataKey="month" />
29
+ * <LineChartYAxis />
30
+ * <ChartTooltip content={<ChartTooltipContent />} />
31
+ * <AreaChartSeries dataKey="revenue" name="Revenue" />
32
+ * </AreaChart>
33
+ * </ChartCard>
34
+ */
35
+ /**
36
+ * Categorical series palette — the theme-aware `chart-1`…`chart-3` tokens.
37
+ * Assign colours in this fixed order, never cycled: a fourth series folds into
38
+ * "Other" or becomes a second chart.
39
+ */
40
+ const LINE_CHART_PALETTE = [
41
+ "var(--color-chart-1)",
42
+ "var(--color-chart-2)",
43
+ "var(--color-chart-3)"
44
+ ];
45
+ const DEFAULT_SERIES_COLOR = LINE_CHART_PALETTE[0];
46
+ const LINE_CHART_LAYOUT = {
47
+ sm: {
48
+ height: 64,
49
+ margin: {
50
+ top: 6,
51
+ right: 6,
52
+ bottom: 0,
53
+ left: 0
54
+ },
55
+ strokeWidth: 2,
56
+ dotRadius: 2.5,
57
+ activeDotRadius: 4,
58
+ tickFontSize: 9,
59
+ yAxisWidth: 22,
60
+ tickMargin: 3
61
+ },
62
+ md: {
63
+ height: 88,
64
+ margin: {
65
+ top: 8,
66
+ right: 8,
67
+ bottom: 0,
68
+ left: 0
69
+ },
70
+ strokeWidth: 2,
71
+ dotRadius: 3,
72
+ activeDotRadius: 4.5,
73
+ tickFontSize: 10,
74
+ yAxisWidth: 24,
75
+ tickMargin: 4
76
+ },
77
+ lg: {
78
+ height: 108,
79
+ margin: {
80
+ top: 10,
81
+ right: 10,
82
+ bottom: 0,
83
+ left: 0
84
+ },
85
+ strokeWidth: 2,
86
+ dotRadius: 3.5,
87
+ activeDotRadius: 5,
88
+ tickFontSize: 11,
89
+ yAxisWidth: 26,
90
+ tickMargin: 5
91
+ },
92
+ xl: {
93
+ height: 132,
94
+ margin: {
95
+ top: 12,
96
+ right: 12,
97
+ bottom: 0,
98
+ left: 0
99
+ },
100
+ strokeWidth: 2,
101
+ dotRadius: 3.5,
102
+ activeDotRadius: 5,
103
+ tickFontSize: 11,
104
+ yAxisWidth: 28,
105
+ tickMargin: 6
106
+ },
107
+ huge: {
108
+ height: 164,
109
+ margin: {
110
+ top: 14,
111
+ right: 14,
112
+ bottom: 0,
113
+ left: 0
114
+ },
115
+ strokeWidth: 2,
116
+ dotRadius: 3.5,
117
+ activeDotRadius: 5,
118
+ tickFontSize: 12,
119
+ yAxisWidth: 30,
120
+ tickMargin: 7
121
+ }
62
122
  };
123
+ /** Clamp the 5 line-chart sizes to the 3 `ComponentSize` values for children. */
63
124
  function toComponentSize(size) {
64
- if (size === "xl" || size === "huge") return "lg";
65
- return size;
125
+ if (size === "xl" || size === "huge") return "lg";
126
+ return size;
66
127
  }
67
- function seriesProps(layout, color) {
68
- return {
69
- type: "linear",
70
- stroke: color,
71
- strokeWidth: layout.strokeWidth,
72
- strokeLinejoin: "round",
73
- strokeLinecap: "round",
74
- dot: { r: layout.dotRadius, fill: color, strokeWidth: 0 },
75
- activeDot: {
76
- r: layout.activeDotRadius,
77
- fill: color,
78
- stroke: "var(--color-surface-raised)",
79
- strokeWidth: 2
80
- }
81
- };
128
+ /** Resolve the layout for an explicit or inherited line-chart size. */
129
+ function useLineChartSize(size) {
130
+ const inherited = useComponentSize();
131
+ const resolved = size ?? inherited;
132
+ return {
133
+ size: resolved,
134
+ layout: LINE_CHART_LAYOUT[resolved] ?? LINE_CHART_LAYOUT.md
135
+ };
82
136
  }
137
+ /**
138
+ * Plot root — wraps the shared `ChartContainer` (tooltip/legend theming,
139
+ * responsive box) around the recharts `LineChart` with a size-scaled height and
140
+ * margin. `size` flows to the child primitives through `SizeProvider` (clamped
141
+ * to `lg` for `xl`/`huge`). Extra props reach the recharts chart (`data`,
142
+ * `syncId`, …).
143
+ */
144
+ function LineChart({ config = {}, size, className, children, ...props }) {
145
+ const { size: resolved, layout } = useLineChartSize(size);
146
+ return /* @__PURE__ */ jsx(SizeProvider, {
147
+ size: toComponentSize(resolved),
148
+ children: /* @__PURE__ */ jsx(ChartContainer, {
149
+ config,
150
+ className: cn("aspect-auto w-full", className),
151
+ style: { height: layout.height },
152
+ children: /* @__PURE__ */ jsx(LineChart$1, {
153
+ accessibilityLayer: true,
154
+ margin: layout.margin,
155
+ ...props,
156
+ children
157
+ })
158
+ })
159
+ });
160
+ }
161
+ /**
162
+ * Plot root for filled trends — identical to `LineChart` but wraps the recharts
163
+ * `AreaChart`, so it hosts `AreaChartSeries` (and the same grid/axes/overlays).
164
+ */
165
+ function AreaChart({ config = {}, size, className, children, ...props }) {
166
+ const { size: resolved, layout } = useLineChartSize(size);
167
+ return /* @__PURE__ */ jsx(SizeProvider, {
168
+ size: toComponentSize(resolved),
169
+ children: /* @__PURE__ */ jsx(ChartContainer, {
170
+ config,
171
+ className: cn("aspect-auto w-full", className),
172
+ style: { height: layout.height },
173
+ children: /* @__PURE__ */ jsx(AreaChart$1, {
174
+ accessibilityLayer: true,
175
+ margin: layout.margin,
176
+ ...props,
177
+ children
178
+ })
179
+ })
180
+ });
181
+ }
182
+ /**
183
+ * Value reference lines — recharts `CartesianGrid` with vertical lines hidden
184
+ * and the visible grid painted with the `line` token (`line-subtle` matches the
185
+ * chart card surface in both themes, so it would vanish).
186
+ */
187
+ function LineChartGrid(props) {
188
+ return /* @__PURE__ */ jsx(CartesianGrid, {
189
+ vertical: false,
190
+ stroke: "var(--color-line)",
191
+ ...props
192
+ });
193
+ }
194
+ /**
195
+ * Category (time) axis — recharts `XAxis` with no axis/tick lines, a size-scaled
196
+ * tick margin, and caption-placeholder tick ink. Passing your own `tick`
197
+ * replaces the default styling entirely.
198
+ */
199
+ function LineChartXAxis({ size, tick, ...props }) {
200
+ const { layout } = useLineChartSize(size);
201
+ const axes = cartesianAxisProps({
202
+ tickMargin: layout.tickMargin,
203
+ tickFontSize: layout.tickFontSize,
204
+ yAxisWidth: layout.yAxisWidth
205
+ });
206
+ const defaultTick = {
207
+ ...axes.xAxis.tick,
208
+ fill: "var(--color-fg-caption-placeholder)"
209
+ };
210
+ return /* @__PURE__ */ jsx(XAxis, {
211
+ tickLine: axes.xAxis.tickLine,
212
+ axisLine: axes.xAxis.axisLine,
213
+ tickMargin: axes.xAxis.tickMargin,
214
+ tick: tick ?? defaultTick,
215
+ ...props
216
+ });
217
+ }
218
+ /**
219
+ * Value axis — recharts `YAxis` with no axis/tick lines, size-scaled tick type,
220
+ * and reserved width for value labels. Override `width` for long labels.
221
+ */
222
+ function LineChartYAxis({ size, tick, ...props }) {
223
+ const { layout } = useLineChartSize(size);
224
+ const axes = cartesianAxisProps({
225
+ tickMargin: layout.tickMargin,
226
+ tickFontSize: layout.tickFontSize,
227
+ yAxisWidth: layout.yAxisWidth
228
+ });
229
+ const defaultTick = {
230
+ ...axes.yAxis.tick,
231
+ fill: "var(--color-fg-caption-placeholder)"
232
+ };
233
+ return /* @__PURE__ */ jsx(YAxis, {
234
+ tickLine: axes.yAxis.tickLine,
235
+ axisLine: axes.yAxis.axisLine,
236
+ width: axes.yAxis.width,
237
+ tick: tick ?? defaultTick,
238
+ ...props
239
+ });
240
+ }
241
+ /** The giddaa line mark spec: rounded 2px stroke, resting + surface-ringed active dots. */
242
+ function lineMarkProps(layout, color) {
243
+ return {
244
+ type: "linear",
245
+ stroke: color,
246
+ strokeWidth: layout.strokeWidth,
247
+ strokeLinejoin: "round",
248
+ strokeLinecap: "round"
249
+ };
250
+ }
251
+ function defaultDots(layout, color) {
252
+ return {
253
+ dot: {
254
+ r: layout.dotRadius,
255
+ fill: color,
256
+ strokeWidth: 0
257
+ },
258
+ activeDot: {
259
+ r: layout.activeDotRadius,
260
+ fill: color,
261
+ stroke: "var(--color-surface-raised)",
262
+ strokeWidth: 2
263
+ }
264
+ };
265
+ }
266
+ /**
267
+ * One line series — recharts `Line` with the giddaa mark spec: a 2px rounded
268
+ * stroke in `color`, solid resting dots, and a hover dot ringed in
269
+ * `surface-raised` so overlapping series stay separable. `color` drives all of
270
+ * them at once; `stroke`/`dot`/`activeDot` still win when passed directly.
271
+ */
272
+ function LineChartSeries({ color = DEFAULT_SERIES_COLOR, size, dot, activeDot, ...props }) {
273
+ const { layout } = useLineChartSize(size);
274
+ const dots = defaultDots(layout, color);
275
+ return /* @__PURE__ */ jsx(Line, {
276
+ ...lineMarkProps(layout, color),
277
+ dot: dot ?? dots.dot,
278
+ activeDot: activeDot ?? dots.activeDot,
279
+ ...props
280
+ });
281
+ }
282
+ /**
283
+ * One area series — recharts `Area` with the giddaa mark spec: the same rounded
284
+ * 2px stroke and dots as `LineChartSeries`, plus the series colour washed to 15%
285
+ * beneath the stroke. `color` drives stroke + fill + dots at once;
286
+ * `stroke`/`fill`/`dot` still win when passed directly.
287
+ */
288
+ function AreaChartSeries({ color = DEFAULT_SERIES_COLOR, size, dot, activeDot, ...props }) {
289
+ const { layout } = useLineChartSize(size);
290
+ const dots = defaultDots(layout, color);
291
+ return /* @__PURE__ */ jsx(Area, {
292
+ ...lineMarkProps(layout, color),
293
+ fill: color,
294
+ fillOpacity: .15,
295
+ dot: dot ?? dots.dot,
296
+ activeDot: activeDot ?? dots.activeDot,
297
+ ...props
298
+ });
299
+ }
300
+ /**
301
+ * @deprecated Compose the `<LineChart>`/`<AreaChart>` primitives instead — see
302
+ * the module example. This layout hook predates recharts 3 wrapping support and
303
+ * will be removed in the next major. It returns prop bags to spread onto raw
304
+ * recharts elements.
305
+ */
83
306
  function useLineChartLayout(size) {
84
- const inheritedSize = useComponentSize();
85
- const resolved = size ?? inheritedSize;
86
- const layout = LINE_CHART_LAYOUT[resolved] ?? LINE_CHART_LAYOUT.md;
87
- const axes = cartesianAxisProps(layout);
88
- return {
89
- container: {
90
- className: "aspect-auto w-full",
91
- style: { height: layout.height }
92
- },
93
- chart: {
94
- accessibilityLayer: true,
95
- margin: layout.margin
96
- },
97
- xAxis: axes.xAxis,
98
- yAxis: axes.yAxis,
99
- line: (color) => seriesProps(layout, color),
100
- area: (color) => ({
101
- ...seriesProps(layout, color),
102
- fill: color,
103
- fillOpacity: 0.15
104
- })
105
- };
307
+ const { layout } = useLineChartSize(size);
308
+ const axes = cartesianAxisProps({
309
+ tickMargin: layout.tickMargin,
310
+ tickFontSize: layout.tickFontSize,
311
+ yAxisWidth: layout.yAxisWidth
312
+ });
313
+ const series = (color) => ({
314
+ ...lineMarkProps(layout, color),
315
+ ...defaultDots(layout, color)
316
+ });
317
+ return {
318
+ container: {
319
+ className: "aspect-auto w-full",
320
+ style: { height: layout.height }
321
+ },
322
+ chart: {
323
+ accessibilityLayer: true,
324
+ margin: layout.margin
325
+ },
326
+ xAxis: axes.xAxis,
327
+ yAxis: axes.yAxis,
328
+ line: (color) => series(color),
329
+ area: (color) => ({
330
+ ...series(color),
331
+ fill: color,
332
+ fillOpacity: .15
333
+ })
334
+ };
106
335
  }
107
- export {
108
- LINE_CHART_LAYOUT,
109
- toComponentSize,
110
- useLineChartLayout
111
- };
112
- //# sourceMappingURL=line-chart.js.map
336
+ //#endregion
337
+ export { AreaChart, AreaChartSeries, LINE_CHART_LAYOUT, LINE_CHART_PALETTE, LineChart, LineChartGrid, LineChartSeries, LineChartXAxis, LineChartYAxis, toComponentSize, useLineChartLayout };
@@ -0,0 +1,22 @@
1
+ import { Avatar } from "./avatar.js";
2
+ import { useRender } from "@base-ui/react/use-render";
3
+ import { VariantProps } from "class-variance-authority";
4
+ import { ComponentProps } from "react";
5
+ //#region src/list-item.d.ts
6
+ declare const listItemVariants: (props?: ({
7
+ size?: "lg" | "md" | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ type ListItemSize = NonNullable<VariantProps<typeof listItemVariants>["size"]>;
10
+ type ListItemProps = useRender.ComponentProps<"div"> & VariantProps<typeof listItemVariants> & {
11
+ selected?: boolean;
12
+ };
13
+ declare function ListItem({ className, render, size, selected, ...props }: ListItemProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
14
+ declare function ListItemAvatar({ className, size, ...props }: ComponentProps<typeof Avatar>): import("react").JSX.Element;
15
+ declare function ListItemIcon({ className, ...props }: ComponentProps<"span">): import("react").JSX.Element;
16
+ declare function ListItemContent({ className, ...props }: ComponentProps<"div">): import("react").JSX.Element;
17
+ declare function ListItemTitle({ className, ...props }: ComponentProps<"p">): import("react").JSX.Element;
18
+ declare function ListItemDescription({ className, ...props }: ComponentProps<"p">): import("react").JSX.Element;
19
+ declare function ListItemMeta({ className, ...props }: ComponentProps<"span">): import("react").JSX.Element;
20
+ declare function ListItemCount({ className, ...props }: ComponentProps<"span">): import("react").JSX.Element;
21
+ //#endregion
22
+ export { ListItem, ListItemAvatar, ListItemContent, ListItemCount, ListItemDescription, ListItemIcon, ListItemMeta, type ListItemProps, type ListItemSize, ListItemTitle, listItemVariants };
@@ -0,0 +1,84 @@
1
+ "use client";
2
+ import { t as cn } from "./cn-BI_4DMBf.js";
3
+ import { Avatar } from "./avatar.js";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { mergeProps } from "@base-ui/react/merge-props";
6
+ import { useRender } from "@base-ui/react/use-render";
7
+ import { cva } from "class-variance-authority";
8
+ //#region src/list-item.tsx
9
+ const listItemVariants = cva("group/list-item flex w-full min-w-0 items-center border-b border-line-subtle bg-surface text-left text-fg-primary transition-[background-color,color,opacity,box-shadow] outline-none data-[selected=true]:bg-surface-brand-subtle [button,a,[role=button],[role=link]]:cursor-pointer [button,a,[role=button],[role=link]]:select-none [button,a,[role=button],[role=link]]:hover:bg-surface-raised [button,a,[role=button],[role=link]]:active:bg-surface-raised data-[selected=true]:[button,a,[role=button],[role=link]]:hover:bg-surface-brand-subtle data-[selected=true]:[button,a,[role=button],[role=link]]:active:bg-surface-brand-subtle disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 focus-visible:border-line-focus focus-visible:shadow-[0px_0px_0px_2px_var(--color-line-focus)]", {
10
+ variants: { size: {
11
+ md: "gap-3 px-4 py-3.5",
12
+ lg: "gap-4 px-5 py-4.5"
13
+ } },
14
+ defaultVariants: { size: "md" }
15
+ });
16
+ function ListItem({ className, render, size = "md", selected = false, ...props }) {
17
+ return useRender({
18
+ defaultTagName: "div",
19
+ props: mergeProps({
20
+ className: cn(listItemVariants({ size }), className),
21
+ "data-selected": selected,
22
+ "data-size": size,
23
+ "data-slot": "list-item"
24
+ }, props),
25
+ render,
26
+ state: {
27
+ slot: "list-item",
28
+ size,
29
+ selected
30
+ }
31
+ });
32
+ }
33
+ function ListItemAvatar({ className, size = "sm", ...props }) {
34
+ return /* @__PURE__ */ jsx(Avatar, {
35
+ "data-slot": "list-item-avatar",
36
+ size,
37
+ className: cn("group-data-[size=md]/list-item:size-8 group-data-[size=lg]/list-item:size-10", "**:data-[slot=avatar-fallback]:bg-action-tertiary **:data-[slot=avatar-fallback]:text-fg-primary", "group-data-[selected=true]/list-item:**:data-[slot=avatar-fallback]:bg-surface-brand group-data-[selected=true]/list-item:**:data-[slot=avatar-fallback]:text-fg-on-brand", className),
38
+ ...props
39
+ });
40
+ }
41
+ function ListItemIcon({ className, ...props }) {
42
+ return /* @__PURE__ */ jsx("span", {
43
+ "data-slot": "list-item-icon",
44
+ className: cn("flex shrink-0 items-center justify-center text-fg-secondary [&>svg]:shrink-0", "group-data-[size=md]/list-item:size-5 group-data-[size=md]/list-item:[&>svg]:size-5", "group-data-[size=lg]/list-item:size-6 group-data-[size=lg]/list-item:[&>svg]:size-6", className),
45
+ ...props
46
+ });
47
+ }
48
+ function ListItemContent({ className, ...props }) {
49
+ return /* @__PURE__ */ jsx("div", {
50
+ "data-slot": "list-item-content",
51
+ className: cn("flex min-w-0 flex-1 flex-col gap-0.5", className),
52
+ ...props
53
+ });
54
+ }
55
+ function ListItemTitle({ className, ...props }) {
56
+ return /* @__PURE__ */ jsx("p", {
57
+ "data-slot": "list-item-title",
58
+ className: cn("min-w-0 truncate font-semibold text-fg-primary group-data-[selected=true]/list-item:text-fg-brand group-disabled/list-item:text-fg-caption-placeholder group-aria-disabled/list-item:text-fg-caption-placeholder", "group-data-[size=md]/list-item:text-gdt-sm", "group-data-[size=lg]/list-item:text-gdt-md", className),
59
+ ...props
60
+ });
61
+ }
62
+ function ListItemDescription({ className, ...props }) {
63
+ return /* @__PURE__ */ jsx("p", {
64
+ "data-slot": "list-item-description",
65
+ className: cn("min-w-0 truncate font-normal text-fg-secondary group-disabled/list-item:text-fg-caption-placeholder group-aria-disabled/list-item:text-fg-caption-placeholder", "group-data-[size=md]/list-item:text-gdt-xs", "group-data-[size=lg]/list-item:text-gdt-sm", className),
66
+ ...props
67
+ });
68
+ }
69
+ function ListItemMeta({ className, ...props }) {
70
+ return /* @__PURE__ */ jsx("span", {
71
+ "data-slot": "list-item-meta",
72
+ className: cn("shrink-0 whitespace-nowrap text-right font-normal text-fg-secondary group-data-[selected=true]/list-item:text-fg-brand group-disabled/list-item:text-fg-caption-placeholder group-aria-disabled/list-item:text-fg-caption-placeholder", "group-data-[size=md]/list-item:text-gdt-xs", "group-data-[size=lg]/list-item:text-gdt-sm", className),
73
+ ...props
74
+ });
75
+ }
76
+ function ListItemCount({ className, ...props }) {
77
+ return /* @__PURE__ */ jsx("span", {
78
+ "data-slot": "list-item-count",
79
+ className: cn("flex shrink-0 items-center justify-center rounded-full bg-action-primary px-2 py-0.5 text-gdt-xs font-bold whitespace-nowrap text-fg-on-brand group-disabled/list-item:bg-action-tertiary group-disabled/list-item:text-fg-caption-placeholder group-aria-disabled/list-item:bg-action-tertiary group-aria-disabled/list-item:text-fg-caption-placeholder", "group-data-[size=md]/list-item:min-h-5.5", "group-data-[size=lg]/list-item:min-h-6", className),
80
+ ...props
81
+ });
82
+ }
83
+ //#endregion
84
+ export { ListItem, ListItemAvatar, ListItemContent, ListItemCount, ListItemDescription, ListItemIcon, ListItemMeta, ListItemTitle, listItemVariants };
package/dist/logo.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
-
1
+ import * as React from "react";
2
+ //#region src/logo.d.ts
3
3
  declare function GiddaaLogo(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
4
4
  declare function GiddaaIcon(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
5
-
6
- export { GiddaaIcon, GiddaaLogo };
5
+ //#endregion
6
+ export { GiddaaIcon, GiddaaLogo };
package/dist/logo.js CHANGED
@@ -1,9 +1,92 @@
1
- import {
2
- GiddaaIcon,
3
- GiddaaLogo
4
- } from "./chunk-DMNOXRRW.js";
5
- export {
6
- GiddaaIcon,
7
- GiddaaLogo
8
- };
9
- //# sourceMappingURL=logo.js.map
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ //#region src/logo.tsx
3
+ function GiddaaLogo(props) {
4
+ return /* @__PURE__ */ jsxs("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ width: 142,
7
+ height: 58,
8
+ viewBox: "0 0 142 58",
9
+ role: "img",
10
+ "aria-label": "Giddaa Logo",
11
+ fill: "none",
12
+ ...props,
13
+ children: [
14
+ /* @__PURE__ */ jsx("path", {
15
+ fill: "currentColor",
16
+ d: "M83.025 39.936q-2.073.022-3.763-.968a7.7 7.7 0 0 1-2.716-2.66q-.998-1.698-1.02-3.797t.94-3.79a7.36 7.36 0 0 1 2.687-2.717q1.698-1.026 3.826-1.049a7.2 7.2 0 0 1 2.103.286q1.01.27 1.885.82l-.064-5.963 3.83-.685.213 20.243-3.78.04-.012-1.204q-1.777 1.419-4.13 1.444m.581-3.282q1.064-.012 1.928-.357a4.2 4.2 0 0 0 1.53-1.08l-.06-5.684a4.6 4.6 0 0 0-1.551-.992 5.1 5.1 0 0 0-1.936-.343 4.3 4.3 0 0 0-2.178.583q-.947.541-1.496 1.528-.55.959-.537 2.162.012 1.203.582 2.15.57.945 1.528 1.496a4.3 4.3 0 0 0 2.19.537m17.082 3.095q-2.072.022-3.763-.968a7.7 7.7 0 0 1-2.716-2.66q-.998-1.697-1.02-3.797t.94-3.79a7.36 7.36 0 0 1 2.688-2.717q1.697-1.026 3.825-1.048a7.2 7.2 0 0 1 2.103.286 6.8 6.8 0 0 1 1.885.82l-.063-5.964 3.829-.684.213 20.243-3.779.04-.013-1.204q-1.777 1.419-4.129 1.443m.581-3.282a5.3 5.3 0 0 0 1.929-.356 4.2 4.2 0 0 0 1.528-1.08l-.06-5.684a4.6 4.6 0 0 0-1.55-.992 5.1 5.1 0 0 0-1.936-.344 4.3 4.3 0 0 0-2.178.584q-.946.54-1.496 1.527-.55.959-.537 2.162.012 1.205.583 2.15.57.946 1.527 1.496a4.3 4.3 0 0 0 2.19.537m14.983 3.174q-1.569.016-2.778-.53-1.21-.576-1.893-1.577-.682-1.001-.696-2.317-.022-2.1 1.533-3.264 1.584-1.193 4.356-1.222 1.903-.02 3.59.55l-.012-1.064q-.013-1.26-.804-1.895-.79-.636-2.302-.62-.924.01-1.985.329-1.06.29-2.454.922l-1.43-2.813a19.7 19.7 0 0 1 3.291-1.211 13.4 13.4 0 0 1 3.188-.426q2.94-.03 4.579 1.38 1.666 1.382 1.694 3.958l.1 9.464-3.78.04-.011-1.036a6.1 6.1 0 0 1-1.922 1 8 8 0 0 1-2.264.332m-1.728-4.546q.008.84.742 1.336.732.468 1.937.456a6.6 6.6 0 0 0 1.761-.243 4.8 4.8 0 0 0 1.448-.743l-.022-2.128a7.7 7.7 0 0 0-1.46-.405 9 9 0 0 0-1.626-.123q-1.316.015-2.066.526-.723.484-.714 1.324m17.258 4.382q-1.567.016-2.778-.53-1.21-.576-1.893-1.577-.682-1.001-.696-2.317-.023-2.1 1.534-3.264 1.583-1.193 4.355-1.222 1.904-.02 3.59.55l-.011-1.064q-.013-1.26-.804-1.896t-2.303-.62q-.924.01-1.985.33-1.06.29-2.454.922l-1.43-2.813q1.728-.803 3.292-1.211a13.3 13.3 0 0 1 3.187-.426q2.94-.03 4.579 1.38 1.667 1.381 1.694 3.958l.1 9.464-3.78.04-.011-1.036a6.1 6.1 0 0 1-1.921 1 8 8 0 0 1-2.265.332m-1.728-4.546q.009.84.742 1.336.733.468 1.937.456a6.6 6.6 0 0 0 1.762-.243 4.9 4.9 0 0 0 1.448-.743l-.023-2.128a7.7 7.7 0 0 0-1.46-.405 9 9 0 0 0-1.625-.123q-1.317.015-2.067.526-.723.484-.714 1.324M27.455 5.086a4.4 4.4 0 0 1 2.46.76l17.827 11.968a5.1 5.1 0 0 1 1.637 1.863 5.11 5.11 0 0 1 .567 2.42l-.023 23.117c-.003 2.774-2.096 5.03-4.665 5.03H9.718a4.46 4.46 0 0 1-3.18-1.354 5.16 5.16 0 0 1-1.484-3.687l.023-23.127a5.1 5.1 0 0 1 .567-2.408 5.1 5.1 0 0 1 1.627-1.857L24.983 5.852a4.4 4.4 0 0 1 2.472-.766m0-5.086a9.43 9.43 0 0 0-5.287 1.629L4.455 13.588a10.2 10.2 0 0 0-3.266 3.686A10.3 10.3 0 0 0 .023 22.07L0 45.198C-.006 50.793 4.347 58 9.719 58l35.539-4.509c5.363 0 9.713-2.685 9.718-8.272L55 22.102c.01-1.679-.39-3.335-1.167-4.82a10.2 10.2 0 0 0-3.286-3.699L32.72 1.615A9.43 9.43 0 0 0 27.454 0"
17
+ }),
18
+ /* @__PURE__ */ jsx("path", {
19
+ fill: "currentColor",
20
+ d: "M29.948 42.889q-2.577.624-5.007.267a12.9 12.9 0 0 1-4.516-1.6 12.6 12.6 0 0 1-3.563-3.161q-1.453-1.957-2.061-4.469-.608-2.511-.203-4.883a12.4 12.4 0 0 1 1.691-4.432 11.8 11.8 0 0 1 3.25-3.48q2.024-1.47 4.568-2.085a13.3 13.3 0 0 1 5.7-.155q2.816.507 4.965 2.156l-2.594 3.881q-1.549-1.2-3.353-1.567a8.3 8.3 0 0 0-3.654.08q-1.553.375-2.73 1.29a7.2 7.2 0 0 0-1.93 2.146q-.752 1.232-.977 2.756-.2 1.482.19 3.102.393 1.62 1.29 2.87a7.7 7.7 0 0 0 2.137 2.037 8.4 8.4 0 0 0 2.73 1.019q1.491.234 3.077-.15 1.653-.4 2.83-1.315a6.5 6.5 0 0 0 1.799-2.254q.653-1.348.615-2.808l-6.84 1.656-1.009-4.164 11.963-2.895.352 1.454q.624 2.577.26 4.974a12 12 0 0 1-1.501 4.352 11.45 11.45 0 0 1-3.068 3.366q-1.9 1.404-4.41 2.012m-19.847 2.267a.14.14 0 0 0-.163-.037c-.144.081-3.746 1.965-3.917 4.407-.077 1.11.567 2.155 1.908 3.103l.195-.278c-.016.062-.453 1.498-.395 1.51.057.014.13-.027.143-.08l.288-1.1c1.68-.264 2.766-.909 3.249-1.936 1.056-2.242-1.21-5.453-1.308-5.589"
21
+ }),
22
+ /* @__PURE__ */ jsx("path", {
23
+ fill: "#f7b11c",
24
+ d: "M10.803 44.368c.703 0 1.274-.53 1.274-1.184S11.507 42 10.803 42s-1.275.53-1.275 1.184.57 1.184 1.274 1.184"
25
+ }),
26
+ /* @__PURE__ */ jsx("path", {
27
+ fill: "currentColor",
28
+ d: "M13.764 46.742a.12.12 0 0 0-.136-.03c-.119.067-3.108 1.63-3.25 3.658-.064.92.47 1.788 1.583 2.574l.162-.23c-.013.052-.376 1.243-.328 1.254s.107-.023.119-.068l.24-.912c1.393-.22 2.294-.754 2.695-1.607.877-1.86-1.005-4.526-1.085-4.639"
29
+ }),
30
+ /* @__PURE__ */ jsx("path", {
31
+ fill: "#d9d9d9",
32
+ d: "M14.136 46.084c.51 0 .922-.384.922-.857s-.413-.856-.922-.856c-.508 0-.921.383-.921.856s.412.857.921.857"
33
+ }),
34
+ /* @__PURE__ */ jsx("path", {
35
+ fill: "currentColor",
36
+ d: "M16.168 48.55a.09.09 0 0 0-.104-.023c-.091.052-2.38 1.25-2.49 2.802-.048.705.36 1.37 1.213 1.972l.124-.177c-.01.04-.288.952-.251.96s.082-.017.091-.051l.183-.7q1.603-.25 2.065-1.23c.672-1.425-.77-3.466-.83-3.552"
37
+ }),
38
+ /* @__PURE__ */ jsx("path", {
39
+ fill: "#d9d9d9",
40
+ d: "M16.323 48.313c.469 0 .85-.353.85-.79 0-.435-.381-.789-.85-.789-.47 0-.85.354-.85.79s.38.79.85.79"
41
+ }),
42
+ /* @__PURE__ */ jsx("path", {
43
+ fill: "currentColor",
44
+ d: "m65.781 27.637 5.007 12.285H60.775zm.913-3.68a2.76 2.76 0 1 0-1.098-5.409 2.76 2.76 0 0 0 1.098 5.41"
45
+ })
46
+ ]
47
+ });
48
+ }
49
+ function GiddaaIcon(props) {
50
+ return /* @__PURE__ */ jsxs("svg", {
51
+ xmlns: "http://www.w3.org/2000/svg",
52
+ width: 55,
53
+ height: 58,
54
+ viewBox: "0 0 58 58",
55
+ role: "img",
56
+ "aria-label": "Giddaa Logo",
57
+ fill: "none",
58
+ ...props,
59
+ children: [
60
+ /* @__PURE__ */ jsx("path", {
61
+ fill: "currentColor",
62
+ d: "M27.455 5.086a4.4 4.4 0 0 1 2.46.76l17.827 11.968a5.1 5.1 0 0 1 1.637 1.863 5.11 5.11 0 0 1 .567 2.42l-.023 23.117c-.003 2.774-2.096 5.03-4.665 5.03H9.718a4.46 4.46 0 0 1-3.18-1.354 5.16 5.16 0 0 1-1.484-3.687l.023-23.127a5.1 5.1 0 0 1 .567-2.408 5.1 5.1 0 0 1 1.627-1.857L24.983 5.852a4.4 4.4 0 0 1 2.472-.766m0-5.086a9.43 9.43 0 0 0-5.287 1.629L4.455 13.588a10.2 10.2 0 0 0-3.266 3.686A10.3 10.3 0 0 0 .023 22.07L0 45.198C-.006 50.793 4.347 58 9.719 58l35.539-4.509c5.363 0 9.713-2.685 9.718-8.272L55 22.102c.01-1.679-.39-3.335-1.167-4.82a10.2 10.2 0 0 0-3.286-3.699L32.72 1.615A9.43 9.43 0 0 0 27.454 0"
63
+ }),
64
+ /* @__PURE__ */ jsx("path", {
65
+ fill: "currentColor",
66
+ d: "M29.948 42.889q-2.577.624-5.007.267a12.9 12.9 0 0 1-4.516-1.6 12.6 12.6 0 0 1-3.563-3.161q-1.453-1.957-2.061-4.469-.608-2.511-.203-4.883a12.4 12.4 0 0 1 1.691-4.432 11.8 11.8 0 0 1 3.25-3.48q2.024-1.47 4.568-2.085a13.3 13.3 0 0 1 5.7-.155q2.816.507 4.965 2.156l-2.594 3.881q-1.549-1.2-3.353-1.567a8.3 8.3 0 0 0-3.654.08q-1.553.375-2.73 1.29a7.2 7.2 0 0 0-1.93 2.146q-.752 1.232-.977 2.756-.2 1.482.19 3.102.393 1.62 1.29 2.87a7.7 7.7 0 0 0 2.137 2.037 8.4 8.4 0 0 0 2.73 1.019q1.491.234 3.077-.15 1.653-.4 2.83-1.315a6.5 6.5 0 0 0 1.799-2.254q.653-1.348.615-2.808l-6.84 1.656-1.009-4.164 11.963-2.895.352 1.454q.624 2.577.26 4.974a12 12 0 0 1-1.501 4.352 11.45 11.45 0 0 1-3.068 3.366q-1.9 1.404-4.41 2.012m-19.847 2.267a.14.14 0 0 0-.163-.037c-.144.081-3.746 1.965-3.917 4.407-.077 1.11.567 2.155 1.908 3.103l.195-.278c-.016.062-.453 1.498-.395 1.51.057.014.13-.027.143-.08l.288-1.1c1.68-.264 2.766-.909 3.249-1.936 1.056-2.242-1.21-5.453-1.308-5.589"
67
+ }),
68
+ /* @__PURE__ */ jsx("path", {
69
+ fill: "#f7b11c",
70
+ d: "M10.803 44.368c.703 0 1.274-.53 1.274-1.184S11.507 42 10.803 42s-1.275.53-1.275 1.184.57 1.184 1.274 1.184"
71
+ }),
72
+ /* @__PURE__ */ jsx("path", {
73
+ fill: "currentColor",
74
+ d: "M13.764 46.742a.12.12 0 0 0-.136-.03c-.119.067-3.108 1.63-3.25 3.658-.064.92.47 1.788 1.583 2.574l.162-.23c-.013.052-.376 1.243-.328 1.254s.107-.023.119-.068l.24-.912c1.393-.22 2.294-.754 2.695-1.607.877-1.86-1.005-4.526-1.085-4.639"
75
+ }),
76
+ /* @__PURE__ */ jsx("path", {
77
+ fill: "#d9d9d9",
78
+ d: "M14.136 46.084c.51 0 .922-.384.922-.857s-.413-.856-.922-.856c-.508 0-.921.383-.921.856s.412.857.921.857"
79
+ }),
80
+ /* @__PURE__ */ jsx("path", {
81
+ fill: "currentColor",
82
+ d: "M16.168 48.55a.09.09 0 0 0-.104-.023c-.091.052-2.38 1.25-2.49 2.802-.048.705.36 1.37 1.213 1.972l.124-.177c-.01.04-.288.952-.251.96s.082-.017.091-.051l.183-.7q1.603-.25 2.065-1.23c.672-1.425-.77-3.466-.83-3.552"
83
+ }),
84
+ /* @__PURE__ */ jsx("path", {
85
+ fill: "#d9d9d9",
86
+ d: "M16.323 48.313c.469 0 .85-.353.85-.79 0-.435-.381-.789-.85-.789-.47 0-.85.354-.85.79s.38.79.85.79"
87
+ })
88
+ ]
89
+ });
90
+ }
91
+ //#endregion
92
+ export { GiddaaIcon, GiddaaLogo };