@sikka/hawa 0.24.3-next → 0.24.5-next

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 (151) hide show
  1. package/dist/accordion/index.d.mts +1 -2
  2. package/dist/accordion/index.d.ts +1 -2
  3. package/dist/accordion/index.mjs +219 -7
  4. package/dist/alert/index.d.mts +1 -1
  5. package/dist/alert/index.d.ts +1 -1
  6. package/dist/appLayout/index.d.mts +126 -0
  7. package/dist/appLayout/index.d.ts +126 -0
  8. package/dist/appLayout/index.js +1325 -0
  9. package/dist/appLayout/index.mjs +1285 -0
  10. package/dist/appMenubar/index.d.mts +33 -0
  11. package/dist/appMenubar/index.d.ts +33 -0
  12. package/dist/appMenubar/index.js +281 -0
  13. package/dist/appMenubar/index.mjs +224 -0
  14. package/dist/appTabs/index.d.mts +18 -0
  15. package/dist/appTabs/index.d.ts +18 -0
  16. package/dist/appTabs/index.js +92 -0
  17. package/dist/appTabs/index.mjs +50 -0
  18. package/dist/appTopbar/index.d.mts +44 -0
  19. package/dist/appTopbar/index.d.ts +44 -0
  20. package/dist/appTopbar/index.js +483 -0
  21. package/dist/appTopbar/index.mjs +441 -0
  22. package/dist/avatar/index.d.mts +5 -4
  23. package/dist/avatar/index.d.ts +5 -4
  24. package/dist/backToTop/index.mjs +353 -3
  25. package/dist/badge/index.d.mts +2 -2
  26. package/dist/badge/index.d.ts +2 -2
  27. package/dist/checkbox/index.d.mts +1 -2
  28. package/dist/checkbox/index.d.ts +1 -2
  29. package/dist/chip/index.d.mts +36 -2
  30. package/dist/chip/index.d.ts +36 -2
  31. package/dist/chip/index.mjs +83 -3
  32. package/dist/chunk-62GI5F2P.mjs +442 -0
  33. package/dist/chunk-7NCNPRCL.mjs +120 -0
  34. package/dist/{chunk-TNAHW35O.mjs → chunk-C2UYTGUD.mjs} +8 -4
  35. package/dist/{chunk-26FHSPJI.mjs → chunk-DGWAHQRX.mjs} +1 -101
  36. package/dist/chunk-LRLLDOQZ.mjs +178 -0
  37. package/dist/chunk-ND4BWUKH.mjs +34 -0
  38. package/dist/codeBlock/index.mjs +684 -310
  39. package/dist/colorPicker/index.d.mts +2 -1
  40. package/dist/colorPicker/index.d.ts +2 -1
  41. package/dist/colorPicker/index.mjs +2 -167
  42. package/dist/combobox/index.d.mts +9 -1
  43. package/dist/combobox/index.d.ts +9 -1
  44. package/dist/combobox/index.mjs +61 -393
  45. package/dist/command/index.mjs +10 -425
  46. package/dist/commonTypes-3J1E3b61.d.mts +6 -0
  47. package/dist/commonTypes-3J1E3b61.d.ts +6 -0
  48. package/dist/commonTypes-GhKAraJw.d.mts +4 -0
  49. package/dist/commonTypes-GhKAraJw.d.ts +4 -0
  50. package/dist/commonTypes-LrR8QrYP.d.mts +5 -0
  51. package/dist/commonTypes-LrR8QrYP.d.ts +5 -0
  52. package/dist/commonTypes-WPhcN3Vr.d.mts +5 -0
  53. package/dist/commonTypes-WPhcN3Vr.d.ts +5 -0
  54. package/dist/commonTypes-ko_NGEoT.d.mts +3 -0
  55. package/dist/commonTypes-ko_NGEoT.d.ts +3 -0
  56. package/dist/copyrights/index.d.mts +17 -0
  57. package/dist/copyrights/index.d.ts +17 -0
  58. package/dist/copyrights/index.js +45 -0
  59. package/dist/copyrights/index.mjs +8 -0
  60. package/dist/count/index.d.mts +11 -0
  61. package/dist/count/index.d.ts +11 -0
  62. package/dist/count/index.js +45 -0
  63. package/dist/count/index.mjs +8 -0
  64. package/dist/dataTable/index.d.mts +1 -1
  65. package/dist/dataTable/index.d.ts +1 -1
  66. package/dist/destroyableCard/index.d.mts +1 -1
  67. package/dist/destroyableCard/index.d.ts +1 -1
  68. package/dist/dialog/index.d.mts +1 -1
  69. package/dist/dialog/index.d.ts +1 -1
  70. package/dist/docsLayout/index.d.mts +37 -0
  71. package/dist/docsLayout/index.d.ts +37 -0
  72. package/dist/docsLayout/index.js +926 -0
  73. package/dist/docsLayout/index.mjs +886 -0
  74. package/dist/docsSidebar/index.d.mts +11 -0
  75. package/dist/docsSidebar/index.d.ts +11 -0
  76. package/dist/docsSidebar/index.js +111 -0
  77. package/dist/docsSidebar/index.mjs +69 -0
  78. package/dist/index.d.mts +11 -4
  79. package/dist/index.d.ts +11 -4
  80. package/dist/index.js +44 -35
  81. package/dist/index.mjs +44 -35
  82. package/dist/input/index.d.mts +2 -9
  83. package/dist/input/index.d.ts +2 -9
  84. package/dist/input/index.mjs +14 -98
  85. package/dist/interfaceSettings/index.d.mts +1 -1
  86. package/dist/interfaceSettings/index.d.ts +1 -1
  87. package/dist/interfaceSettings/index.mjs +24 -110
  88. package/dist/label/index.d.mts +1 -1
  89. package/dist/label/index.d.ts +1 -1
  90. package/dist/label/index.mjs +2 -87
  91. package/dist/layout/index.d.mts +11 -4
  92. package/dist/layout/index.d.ts +11 -4
  93. package/dist/layout/index.js +47 -38
  94. package/dist/layout/index.mjs +44 -35
  95. package/dist/navbar/index.d.mts +17 -0
  96. package/dist/navbar/index.d.ts +17 -0
  97. package/dist/navbar/index.js +166 -0
  98. package/dist/navbar/index.mjs +126 -0
  99. package/dist/pagination/index.d.mts +1 -1
  100. package/dist/pagination/index.d.ts +1 -1
  101. package/dist/passwordInput/index.mjs +27 -137
  102. package/dist/phoneInput/index.mjs +19 -129
  103. package/dist/radio/index.d.mts +1 -4
  104. package/dist/radio/index.d.ts +1 -4
  105. package/dist/scrollArea/index.d.mts +1 -1
  106. package/dist/scrollArea/index.d.ts +1 -1
  107. package/dist/select/index.d.mts +1 -1
  108. package/dist/select/index.d.ts +1 -1
  109. package/dist/separator/index.d.mts +1 -1
  110. package/dist/separator/index.d.ts +1 -1
  111. package/dist/sidebar/index.d.mts +48 -0
  112. package/dist/sidebar/index.d.ts +48 -0
  113. package/dist/sidebar/index.js +341 -0
  114. package/dist/sidebar/index.mjs +298 -0
  115. package/dist/simpleTable/index.d.mts +4 -3
  116. package/dist/simpleTable/index.d.ts +4 -3
  117. package/dist/simpleTable/index.mjs +21 -45
  118. package/dist/skeleton/index.d.mts +3 -3
  119. package/dist/skeleton/index.d.ts +3 -3
  120. package/dist/skeleton/index.mjs +3 -29
  121. package/dist/sortButton/index.mjs +9 -260
  122. package/dist/splitButton/index.d.mts +4 -3
  123. package/dist/splitButton/index.d.ts +4 -3
  124. package/dist/splitButton/index.mjs +10 -259
  125. package/dist/stats/index.d.mts +19 -0
  126. package/dist/stats/index.d.ts +19 -0
  127. package/dist/stats/index.js +191 -0
  128. package/dist/stats/index.mjs +154 -0
  129. package/dist/stopPropagationWrapper/index.d.mts +2 -2
  130. package/dist/stopPropagationWrapper/index.d.ts +2 -2
  131. package/dist/switch/index.d.mts +2 -1
  132. package/dist/switch/index.d.ts +2 -1
  133. package/dist/tabs/index.d.mts +19 -1
  134. package/dist/tabs/index.d.ts +19 -1
  135. package/dist/tabs/index.mjs +94 -14
  136. package/dist/textarea/index.d.mts +8 -1
  137. package/dist/textarea/index.d.ts +8 -1
  138. package/dist/textarea/index.mjs +92 -8
  139. package/dist/toast/index.d.mts +1 -1
  140. package/dist/toast/index.d.ts +1 -1
  141. package/package.json +1 -1
  142. package/dist/Label-fkQ4ebuH.d.mts +0 -12
  143. package/dist/Label-fkQ4ebuH.d.ts +0 -12
  144. package/dist/chunk-72HYR6WB.mjs +0 -88
  145. package/dist/chunk-JYSC6GKM.mjs +0 -229
  146. package/dist/commonTypes-3k5cNB1s.d.mts +0 -4
  147. package/dist/commonTypes-3k5cNB1s.d.ts +0 -4
  148. package/dist/commonTypes-N7XOVCit.d.mts +0 -5
  149. package/dist/commonTypes-N7XOVCit.d.ts +0 -5
  150. package/dist/index-DUZFcPRO.d.mts +0 -38
  151. package/dist/index-DUZFcPRO.d.ts +0 -38
@@ -0,0 +1,886 @@
1
+ import {
2
+ cn
3
+ } from "../chunk-TE3BKEXL.mjs";
4
+
5
+ // components/layout/docsLayout/DocsLayout.tsx
6
+ import React7, { useEffect as useEffect2, useRef, useState as useState2 } from "react";
7
+
8
+ // components/elements/button/Button.tsx
9
+ import * as React2 from "react";
10
+ import { cva } from "class-variance-authority";
11
+
12
+ // components/elements/loading/Loading.tsx
13
+ import React from "react";
14
+ var Loading = ({
15
+ design = "spinner",
16
+ size = "sm",
17
+ themeMode = "light",
18
+ color,
19
+ ...props
20
+ }) => {
21
+ let sizeStyles = {
22
+ button: "hawa-h-4 hawa-w-4",
23
+ xs: "hawa-h-1 hawa-w-1",
24
+ sm: "hawa-h-6 hawa-w-6",
25
+ normal: "hawa-h-8 hawa-w-8",
26
+ lg: "hawa-h-14 hawa-w-14",
27
+ xl: "hawa-h-24 hawa-w-24"
28
+ };
29
+ let animationStyles = {
30
+ pulse: "hawa-animate-in hawa-fade-in hawa-duration-1000",
31
+ bounce: "hawa-animate-bounce"
32
+ };
33
+ switch (design.split("-")[0]) {
34
+ case "dots":
35
+ return /* @__PURE__ */ React.createElement(
36
+ "div",
37
+ {
38
+ className: cn("hawa-flex hawa-flex-row hawa-gap-2", props.className)
39
+ },
40
+ /* @__PURE__ */ React.createElement(
41
+ "div",
42
+ {
43
+ className: cn(
44
+ "hawa-animate-bounce hawa-rounded-full hawa-delay-100 hawa-repeat-infinite",
45
+ size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
46
+ animationStyles[design.split("-")[1]],
47
+ color ? color : "hawa-bg-primary"
48
+ )
49
+ }
50
+ ),
51
+ /* @__PURE__ */ React.createElement(
52
+ "div",
53
+ {
54
+ className: cn(
55
+ "hawa-animate-bounce hawa-rounded-full hawa-delay-200 hawa-repeat-infinite",
56
+ size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
57
+ animationStyles[design.split("-")[1]],
58
+ color ? color : "hawa-bg-primary"
59
+ )
60
+ }
61
+ ),
62
+ /* @__PURE__ */ React.createElement(
63
+ "div",
64
+ {
65
+ className: cn(
66
+ "hawa-animate-bounce hawa-rounded-full hawa-delay-300 hawa-repeat-infinite",
67
+ size === "button" ? "hawa-h-2 hawa-w-2" : sizeStyles[size],
68
+ animationStyles[design.split("-")[1]],
69
+ color ? color : "hawa-bg-primary"
70
+ )
71
+ }
72
+ )
73
+ );
74
+ case "square":
75
+ return /* @__PURE__ */ React.createElement(
76
+ "svg",
77
+ {
78
+ className: cn("squircle-container", sizeStyles[size]),
79
+ viewBox: "0 0 35 35",
80
+ height: "35",
81
+ width: "35"
82
+ },
83
+ /* @__PURE__ */ React.createElement(
84
+ "rect",
85
+ {
86
+ className: "squircle-track",
87
+ x: "2.5",
88
+ y: "2.5",
89
+ fill: "none",
90
+ strokeWidth: "5px",
91
+ width: "32.5",
92
+ height: "32.5"
93
+ }
94
+ ),
95
+ /* @__PURE__ */ React.createElement(
96
+ "rect",
97
+ {
98
+ className: "square-car",
99
+ x: "2.5",
100
+ y: "2.5",
101
+ fill: "none",
102
+ strokeWidth: "5px",
103
+ width: "32.5",
104
+ height: "32.5",
105
+ pathLength: "100"
106
+ }
107
+ )
108
+ );
109
+ case "squircle":
110
+ return /* @__PURE__ */ React.createElement(
111
+ "svg",
112
+ {
113
+ className: cn("squircle-container", sizeStyles[size]),
114
+ x: "0px",
115
+ y: "0px",
116
+ viewBox: "0 0 37 37",
117
+ height: "37",
118
+ width: "37",
119
+ preserveAspectRatio: "xMidYMid meet"
120
+ },
121
+ /* @__PURE__ */ React.createElement(
122
+ "path",
123
+ {
124
+ className: "squircle-track",
125
+ fill: "none",
126
+ strokeWidth: "5",
127
+ pathLength: "100",
128
+ d: "M0.37 18.5 C0.37 5.772 5.772 0.37 18.5 0.37 S36.63 5.772 36.63 18.5 S31.228 36.63 18.5 36.63 S0.37 31.228 0.37 18.5"
129
+ }
130
+ ),
131
+ /* @__PURE__ */ React.createElement(
132
+ "path",
133
+ {
134
+ className: "squircle-car",
135
+ fill: "none",
136
+ strokeWidth: "5",
137
+ pathLength: "100",
138
+ d: "M0.37 18.5 C0.37 5.772 5.772 0.37 18.5 0.37 S36.63 5.772 36.63 18.5 S31.228 36.63 18.5 36.63 S0.37 31.228 0.37 18.5"
139
+ }
140
+ )
141
+ );
142
+ case "progress":
143
+ return /* @__PURE__ */ React.createElement("div", { className: "progress-loading" });
144
+ case "orbit":
145
+ return /* @__PURE__ */ React.createElement("div", { className: "orbit-container" });
146
+ default:
147
+ return /* @__PURE__ */ React.createElement(
148
+ "svg",
149
+ {
150
+ className: cn("circle-container", sizeStyles[size]),
151
+ viewBox: "0 0 40 40",
152
+ height: "40",
153
+ width: "40"
154
+ },
155
+ /* @__PURE__ */ React.createElement(
156
+ "circle",
157
+ {
158
+ className: cn("circle-track", {
159
+ "hawa-stroke-primary-foreground": themeMode === "dark",
160
+ "hawa-stroke-primary": themeMode === "light"
161
+ }),
162
+ cx: "20",
163
+ cy: "20",
164
+ r: "17.5",
165
+ pathLength: "100",
166
+ strokeWidth: "5px",
167
+ fill: "none"
168
+ }
169
+ ),
170
+ /* @__PURE__ */ React.createElement(
171
+ "circle",
172
+ {
173
+ className: cn("circle-car", {
174
+ "hawa-stroke-primary-foreground": themeMode === "dark",
175
+ "hawa-stroke-primary": themeMode === "light"
176
+ }),
177
+ cx: "20",
178
+ cy: "20",
179
+ r: "17.5",
180
+ pathLength: "100",
181
+ strokeWidth: "5px",
182
+ fill: "none"
183
+ }
184
+ )
185
+ );
186
+ }
187
+ };
188
+
189
+ // components/elements/button/Button.tsx
190
+ var buttonVariants = cva(
191
+ "hawa-inline-flex hawa-items-center hawa-select-none hawa-rounded-md hawa-text-sm hawa-font-medium hawa-ring-offset-background hawa-transition-colors focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-2 disabled:hawa-pointer-events-none disabled:hawa-opacity-50",
192
+ {
193
+ variants: {
194
+ variant: {
195
+ default: "hawa-bg-primary hawa-text-primary-foreground hover:hawa-bg-primary/90",
196
+ light: "hawa-bg-primary/20 hawa-text-primary hover:hawa-bg-primary/40",
197
+ destructive: "hawa-bg-destructive hawa-text-destructive-foreground hover:hawa-bg-destructive/90",
198
+ outline: "hawa-border hawa-border-input hawa-bg-transparent hover:hawa-bg-accent hover:hawa-text-accent-foreground",
199
+ secondary: "hawa-bg-secondary hawa-text-secondary-foreground hover:hawa-bg-secondary/80",
200
+ ghost: "hover:hawa-bg-accent hover:hawa-text-accent-foreground",
201
+ link: "hawa-text-primary hawa-underline-offset-4 hover:hawa-underline",
202
+ combobox: "hawa-bg-background hawa-border",
203
+ neoBrutalism: "neo-brutalism"
204
+ // "hawa-cursor-pointer hawa-transition-all hawa-uppercase hawa-font-mono dark:hawa-bg-black hawa-font-bold hawa-py-2 hawa-px-4 hawa-rounded hawa-border-2 hawa-border-primary hawa-shadow-color-primary hawa-transition-[hawa-transform_50ms, hawa-box-shadow_50ms] active:hawa-translate-x-0.5 active:hawa-translate-y-0.5 active:hawa-shadow-color-primary-active shadow-color-primary active:shadow-color-primary-active",
205
+ },
206
+ size: {
207
+ default: "hawa-h-10 hawa-px-4 hawa-py-2",
208
+ heightless: "hawa-px-4 hawa-py-4",
209
+ xs: "hawa-h-fit hawa-min-h-[25px] hawa-py-1 hawa-text-[10px] hawa-px-2 ",
210
+ sm: "hawa-h-9 hawa-text-[11px] hawa-rounded-md hawa-px-3",
211
+ lg: "hawa-h-11 hawa-rounded-md hawa-px-8",
212
+ xl: "hawa-h-14 hawa-rounded-md hawa-px-10",
213
+ icon: "hawa-h-10 hawa-w-10",
214
+ smallIcon: "hawa-h-7 hawa-w-7"
215
+ }
216
+ },
217
+ defaultVariants: {
218
+ variant: "default",
219
+ size: "default"
220
+ }
221
+ }
222
+ );
223
+ var Button = React2.forwardRef(
224
+ ({
225
+ className,
226
+ variant,
227
+ size,
228
+ asChild = false,
229
+ centered = true,
230
+ isLoading,
231
+ children,
232
+ ...props
233
+ }, ref) => {
234
+ const Comp = "button";
235
+ const loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "hawa-bg-primary" : "hawa-bg-primary-foreground";
236
+ return /* @__PURE__ */ React2.createElement(
237
+ Comp,
238
+ {
239
+ className: cn(
240
+ buttonVariants({ variant, size, className }),
241
+ centered && "hawa-justify-center"
242
+ ),
243
+ ref,
244
+ ...props
245
+ },
246
+ isLoading ? /* @__PURE__ */ React2.createElement(
247
+ Loading,
248
+ {
249
+ design: size === "icon" || size === "smallIcon" ? "spinner" : "dots-pulse",
250
+ themeMode: variant === "outline" ? "light" : "dark",
251
+ color: loadingColor,
252
+ size: size === "sm" || size === "xs" ? "xs" : "button"
253
+ }
254
+ ) : children
255
+ );
256
+ }
257
+ );
258
+ Button.displayName = "Button";
259
+
260
+ // components/elements/logos/Logos.tsx
261
+ import React3 from "react";
262
+ var Logos = {
263
+ hawa: (props) => /* @__PURE__ */ React3.createElement(
264
+ "svg",
265
+ {
266
+ xmlns: "http://www.w3.org/2000/svg",
267
+ xmlSpace: "preserve",
268
+ viewBox: "0 0 765 765",
269
+ ...props
270
+ },
271
+ /* @__PURE__ */ React3.createElement(
272
+ "path",
273
+ {
274
+ d: "M382.5 0C171.6 0 0 171.6 0 382.5V765h382.5C593.4 765 765 593.4 765 382.5S593.4 0 382.5 0zM281.6 305.7c98 0 177.7 79.7 177.7 177.7 0 98-79.7 177.7-177.7 177.7s-177.7-79.7-177.7-177.7c0-98 79.7-177.7 177.7-177.7zm246 314.5c23.2-41.6 35.6-88.7 35.6-136.7 0-155.3-126.3-281.6-281.6-281.6-48 0-95.1 12.4-136.8 35.6C194.9 156 285 104 382.5 104c153.6 0 278.6 125 278.6 278.6 0 97.3-52 187.5-133.5 237.6z",
275
+ fill: "currentColor"
276
+ }
277
+ )
278
+ ),
279
+ sikka: (props) => /* @__PURE__ */ React3.createElement(
280
+ "svg",
281
+ {
282
+ xmlns: "http://www.w3.org/2000/svg",
283
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
284
+ xmlSpace: "preserve",
285
+ viewBox: "0 0 916.5 765",
286
+ fill: "currentColor",
287
+ ...props
288
+ },
289
+ /* @__PURE__ */ React3.createElement("defs", null, /* @__PURE__ */ React3.createElement("path", { id: "a", d: "M0 0h916.5v765H0z" })),
290
+ /* @__PURE__ */ React3.createElement("clipPath", { id: "b" }, /* @__PURE__ */ React3.createElement("use", { xlinkHref: "#a", overflow: "visible" })),
291
+ /* @__PURE__ */ React3.createElement("g", { clipPath: "url(#b)" }, /* @__PURE__ */ React3.createElement("defs", null, /* @__PURE__ */ React3.createElement("path", { id: "c", d: "M0 0h916.5v765H0z" })), /* @__PURE__ */ React3.createElement("clipPath", { id: "d" }, /* @__PURE__ */ React3.createElement("use", { xlinkHref: "#c", overflow: "visible" })), /* @__PURE__ */ React3.createElement("g", { clipPath: "url(#d)" }, /* @__PURE__ */ React3.createElement("path", { d: "M458.3 0h-31.9c-14.6 0-26.5 11.9-26.5 26.3v313.3L136.6 17.1C126 3.9 120.7 0 106.1 0H9.7C.5 0 0 7.9 0 17.1 0 21 1.3 26.3 4 29l288.7 353.6L4 736.1c-2.7 2.7-4 7.9-4 11.8 0 9.2.4 17.1 9.7 17.1h96.4c14.6 0 19.9-3.9 30.5-17.1l263.3-322.5v313.3c0 14.4 11.9 26.3 26.5 26.3h31.9M458.3 765h31.9c14.6 0 26.5-11.8 26.5-26.3V425.5L780 748c10.7 13.2 15.9 17.1 30.5 17.1h96.4c9.2 0 9.7-7.9 9.7-17.1 0-3.9-1.3-9.2-4-11.8L623.8 382.5 912.5 28.9c2.7-2.7 4-7.9 4-11.9 0-9.2-.5-17.1-9.7-17.1h-96.4c-14.6 0-19.9 3.9-30.5 17.1L516.7 339.5V26.3c0-14.4-11.9-26.3-26.5-26.3h-31.9" })))
292
+ ),
293
+ mail: (props) => /* @__PURE__ */ React3.createElement(
294
+ "svg",
295
+ {
296
+ stroke: "currentColor",
297
+ fill: "none",
298
+ strokeWidth: "2",
299
+ viewBox: "0 0 24 24",
300
+ strokeLinecap: "round",
301
+ strokeLinejoin: "round",
302
+ xmlns: "http://www.w3.org/2000/svg",
303
+ ...props
304
+ },
305
+ /* @__PURE__ */ React3.createElement("path", { d: "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z" }),
306
+ /* @__PURE__ */ React3.createElement("polyline", { points: "22,6 12,13 2,6" })
307
+ ),
308
+ phone: (props) => /* @__PURE__ */ React3.createElement(
309
+ "svg",
310
+ {
311
+ stroke: "currentColor",
312
+ fill: "none",
313
+ strokeWidth: "2",
314
+ viewBox: "0 0 24 24",
315
+ "aria-hidden": "true",
316
+ xmlns: "http://www.w3.org/2000/svg",
317
+ ...props
318
+ },
319
+ /* @__PURE__ */ React3.createElement(
320
+ "path",
321
+ {
322
+ strokeLinecap: "round",
323
+ strokeLinejoin: "round",
324
+ d: "M10.5 1.5H8.25A2.25 2.25 0 006 3.75v16.5a2.25 2.25 0 002.25 2.25h7.5A2.25 2.25 0 0018 20.25V3.75a2.25 2.25 0 00-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3"
325
+ }
326
+ )
327
+ ),
328
+ twitter: (props) => /* @__PURE__ */ React3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
329
+ "path",
330
+ {
331
+ fill: "currentColor",
332
+ d: "M21.543 7.104c.015.211.015.423.015.636 0 6.507-4.954 14.01-14.01 14.01v-.003A13.94 13.94 0 0 1 0 19.539a9.88 9.88 0 0 0 7.287-2.041 4.93 4.93 0 0 1-4.6-3.42 4.916 4.916 0 0 0 2.223-.084A4.926 4.926 0 0 1 .96 9.167v-.062a4.887 4.887 0 0 0 2.235.616A4.928 4.928 0 0 1 1.67 3.148a13.98 13.98 0 0 0 10.15 5.144 4.929 4.929 0 0 1 8.39-4.49 9.868 9.868 0 0 0 3.128-1.196 4.941 4.941 0 0 1-2.165 2.724A9.828 9.828 0 0 0 24 4.555a10.019 10.019 0 0 1-2.457 2.549z"
333
+ }
334
+ )),
335
+ instagram: (props) => /* @__PURE__ */ React3.createElement(
336
+ "svg",
337
+ {
338
+ xmlns: "http://www.w3.org/2000/svg",
339
+ fill: "currentColor",
340
+ viewBox: "0 0 16 16",
341
+ ...props
342
+ },
343
+ /* @__PURE__ */ React3.createElement("path", { d: "M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z" })
344
+ ),
345
+ microsoft: (props) => /* @__PURE__ */ React3.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ React3.createElement(
346
+ "path",
347
+ {
348
+ fill: "currentColor",
349
+ d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
350
+ }
351
+ )),
352
+ github: (props) => /* @__PURE__ */ React3.createElement(
353
+ "svg",
354
+ {
355
+ xmlns: "http://www.w3.org/2000/svg",
356
+ viewBox: "0 0 438.549 438.549",
357
+ ...props
358
+ },
359
+ /* @__PURE__ */ React3.createElement(
360
+ "path",
361
+ {
362
+ fill: "currentColor",
363
+ d: "M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"
364
+ }
365
+ )
366
+ ),
367
+ radix: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ React3.createElement(
368
+ "path",
369
+ {
370
+ d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
371
+ fill: "currentcolor"
372
+ }
373
+ ), /* @__PURE__ */ React3.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ React3.createElement(
374
+ "path",
375
+ {
376
+ d: "M17 8C19.2091 8 21 6.20914 21 4C21 1.79086 19.2091 0 17 0C14.7909 0 13 1.79086 13 4C13 6.20914 14.7909 8 17 8Z",
377
+ fill: "currentcolor"
378
+ }
379
+ )),
380
+ aria: (props) => /* @__PURE__ */ React3.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ React3.createElement("path", { d: "M13.966 22.624l-1.69-4.281H8.122l3.892-9.144 5.662 13.425zM8.884 1.376H0v21.248zm15.116 0h-8.884L24 22.624Z" })),
381
+ npm: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
382
+ "path",
383
+ {
384
+ d: "M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z",
385
+ fill: "currentColor"
386
+ }
387
+ )),
388
+ yarn: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
389
+ "path",
390
+ {
391
+ d: "M12 0C5.375 0 0 5.375 0 12s5.375 12 12 12 12-5.375 12-12S18.625 0 12 0zm.768 4.105c.183 0 .363.053.525.157.125.083.287.185.755 1.154.31-.088.468-.042.551-.019.204.056.366.19.463.375.477.917.542 2.553.334 3.605-.241 1.232-.755 2.029-1.131 2.576.324.329.778.899 1.117 1.825.278.774.31 1.478.273 2.015a5.51 5.51 0 0 0 .602-.329c.593-.366 1.487-.917 2.553-.931.714-.009 1.269.445 1.353 1.103a1.23 1.23 0 0 1-.945 1.362c-.649.158-.95.278-1.821.843-1.232.797-2.539 1.242-3.012 1.39a1.686 1.686 0 0 1-.704.343c-.737.181-3.266.315-3.466.315h-.046c-.783 0-1.214-.241-1.45-.491-.658.329-1.51.19-2.122-.134a1.078 1.078 0 0 1-.58-1.153 1.243 1.243 0 0 1-.153-.195c-.162-.25-.528-.936-.454-1.946.056-.723.556-1.367.88-1.71a5.522 5.522 0 0 1 .408-2.256c.306-.727.885-1.348 1.32-1.737-.32-.537-.644-1.367-.329-2.21.227-.602.412-.936.82-1.08h-.005c.199-.074.389-.153.486-.259a3.418 3.418 0 0 1 2.298-1.103c.037-.093.079-.185.125-.283.31-.658.639-1.029 1.024-1.168a.94.94 0 0 1 .328-.06zm.006.7c-.507.016-1.001 1.519-1.001 1.519s-1.27-.204-2.266.871c-.199.218-.468.334-.746.44-.079.028-.176.023-.417.672-.371.991.625 2.094.625 2.094s-1.186.839-1.626 1.881c-.486 1.144-.338 2.261-.338 2.261s-.843.732-.899 1.487c-.051.663.139 1.2.343 1.515.227.343.51.176.51.176s-.561.653-.037.931c.477.25 1.283.394 1.71-.037.31-.31.371-1.001.486-1.283.028-.065.12.111.209.199.097.093.264.195.264.195s-.755.324-.445 1.066c.102.246.468.403 1.066.398.222-.005 2.664-.139 3.313-.296.375-.088.505-.283.505-.283s1.566-.431 2.998-1.357c.917-.598 1.293-.76 2.034-.936.612-.148.57-1.098-.241-1.084-.839.009-1.575.44-2.196.825-1.163.718-1.742.672-1.742.672l-.018-.032c-.079-.13.371-1.293-.134-2.678-.547-1.515-1.413-1.881-1.344-1.997.297-.5 1.038-1.297 1.334-2.78.176-.899.13-2.377-.269-3.151-.074-.144-.732.241-.732.241s-.616-1.371-.788-1.483a.271.271 0 0 0-.157-.046z",
392
+ fill: "currentColor"
393
+ }
394
+ )),
395
+ pnpm: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
396
+ "path",
397
+ {
398
+ d: "M0 0v7.5h7.5V0zm8.25 0v7.5h7.498V0zm8.25 0v7.5H24V0zM8.25 8.25v7.5h7.498v-7.5zm8.25 0v7.5H24v-7.5zM0 16.5V24h7.5v-7.5zm8.25 0V24h7.498v-7.5zm8.25 0V24H24v-7.5z",
399
+ fill: "currentColor"
400
+ }
401
+ )),
402
+ react: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
403
+ "path",
404
+ {
405
+ d: "M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z",
406
+ fill: "currentColor"
407
+ }
408
+ )),
409
+ tailwind: (props) => /* @__PURE__ */ React3.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
410
+ "path",
411
+ {
412
+ d: "M12.001,4.8c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 C13.666,10.618,15.027,12,18.001,12c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C16.337,6.182,14.976,4.8,12.001,4.8z M6.001,12c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 c1.177,1.194,2.538,2.576,5.512,2.576c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C10.337,13.382,8.976,12,6.001,12z",
413
+ fill: "currentColor"
414
+ }
415
+ )),
416
+ google: (props) => /* @__PURE__ */ React3.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
417
+ "path",
418
+ {
419
+ fill: "currentColor",
420
+ d: "M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"
421
+ }
422
+ )),
423
+ apple: (props) => /* @__PURE__ */ React3.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
424
+ "path",
425
+ {
426
+ d: "M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",
427
+ fill: "currentColor"
428
+ }
429
+ )),
430
+ paypal: (props) => /* @__PURE__ */ React3.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React3.createElement(
431
+ "path",
432
+ {
433
+ d: "M7.076 21.337H2.47a.641.641 0 0 1-.633-.74L4.944.901C5.026.382 5.474 0 5.998 0h7.46c2.57 0 4.578.543 5.69 1.81 1.01 1.15 1.304 2.42 1.012 4.287-.023.143-.047.288-.077.437-.983 5.05-4.349 6.797-8.647 6.797h-2.19c-.524 0-.968.382-1.05.9l-1.12 7.106zm14.146-14.42a3.35 3.35 0 0 0-.607-.541c-.013.076-.026.175-.041.254-.93 4.778-4.005 7.201-9.138 7.201h-2.19a.563.563 0 0 0-.556.479l-1.187 7.527h-.506l-.24 1.516a.56.56 0 0 0 .554.647h3.882c.46 0 .85-.334.922-.788.06-.26.76-4.852.816-5.09a.932.932 0 0 1 .923-.788h.58c3.76 0 6.705-1.528 7.565-5.946.36-1.847.174-3.388-.777-4.471z",
434
+ fill: "currentColor"
435
+ }
436
+ )),
437
+ spinner: (props) => /* @__PURE__ */ React3.createElement(
438
+ "svg",
439
+ {
440
+ xmlns: "http://www.w3.org/2000/svg",
441
+ width: "24",
442
+ height: "24",
443
+ viewBox: "0 0 24 24",
444
+ fill: "none",
445
+ stroke: "currentColor",
446
+ strokeWidth: "2",
447
+ strokeLinecap: "round",
448
+ strokeLinejoin: "round",
449
+ ...props
450
+ },
451
+ /* @__PURE__ */ React3.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
452
+ ),
453
+ whatsapp: (props) => /* @__PURE__ */ React3.createElement(
454
+ "svg",
455
+ {
456
+ xmlns: "http://www.w3.org/2000/svg",
457
+ viewBox: "0 0 24 24",
458
+ fill: "currentColor",
459
+ ...props
460
+ },
461
+ /* @__PURE__ */ React3.createElement("path", { d: "M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z" })
462
+ )
463
+ };
464
+
465
+ // components/elements/sheet/Sheet.tsx
466
+ import * as React4 from "react";
467
+ import * as SheetPrimitive from "@radix-ui/react-dialog";
468
+ import { cva as cva2 } from "class-variance-authority";
469
+ var Sheet = SheetPrimitive.Root;
470
+ var SheetTrigger = SheetPrimitive.Trigger;
471
+ var SheetPortal = SheetPrimitive.Portal;
472
+ var SheetOverlay = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React4.createElement(
473
+ SheetPrimitive.Overlay,
474
+ {
475
+ className: cn(
476
+ "hawa-fixed hawa-inset-0 hawa-z-50 hawa-bg-background/80 hawa-backdrop-blur-sm data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=open]:hawa-fade-in-0",
477
+ className
478
+ ),
479
+ ...props,
480
+ ref
481
+ }
482
+ ));
483
+ var sheetVariants = cva2(
484
+ "hawa-fixed hawa-z-50 hawa-gap-4 hawa-bg-background hawa-p-2 hawa-shadow-lg hawa-transition hawa-ease-in-out data-[state=open]:hawa-animate-in data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-duration-300 data-[state=open]:hawa-duration-300",
485
+ {
486
+ variants: {
487
+ side: {
488
+ top: "hawa-inset-x-0 hawa-top-0 hawa-border-b data-[state=closed]:hawa-slide-out-to-top data-[state=open]:hawa-slide-in-from-top",
489
+ bottom: "hawa-inset-x-0 hawa-bottom-0 hawa-border-t data-[state=closed]:hawa-slide-out-to-bottom data-[state=open]:hawa-slide-in-from-bottom",
490
+ left: "hawa-inset-y-0 hawa-left-0 hawa-h-full hawa-w-3/4 hawa-border-r data-[state=closed]:hawa-slide-out-to-left data-[state=open]:hawa-slide-in-from-left sm:hawa-max-w-sm",
491
+ right: "hawa-inset-y-0 hawa-right-0 hawa-h-full hawa-w-3/4 hawa-border-l data-[state=closed]:hawa-slide-out-to-right data-[state=open]:hawa-slide-in-from-right sm:hawa-max-w-sm"
492
+ }
493
+ },
494
+ defaultVariants: {
495
+ side: "right"
496
+ }
497
+ }
498
+ );
499
+ var SheetContent = React4.forwardRef(
500
+ ({ side = "right", className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React4.createElement(SheetPortal, null, /* @__PURE__ */ React4.createElement(SheetOverlay, null), /* @__PURE__ */ React4.createElement(
501
+ SheetPrimitive.Content,
502
+ {
503
+ ref,
504
+ className: cn(sheetVariants({ side }), className),
505
+ onPointerDownOutside: (e) => {
506
+ if (persist) {
507
+ e.preventDefault();
508
+ }
509
+ },
510
+ ...props
511
+ },
512
+ children,
513
+ !hideCloseButton && /* @__PURE__ */ React4.createElement(
514
+ SheetPrimitive.Close,
515
+ {
516
+ className: cn(
517
+ "hawa-absolute hawa-rounded-sm hawa-opacity-70 hawa-ring-offset-background hawa-transition-opacity hover:hawa-opacity-100 focus:hawa-outline-none focus:hawa-ring-2 focus:hawa-ring-ring focus:hawa-ring-offset-2 disabled:hawa-pointer-events-none data-[state=open]:hawa-bg-secondary",
518
+ {
519
+ "hawa-right-4 hawa-top-4": side === "left" || side === "bottom",
520
+ "hawa-left-4 hawa-top-4": side === "right",
521
+ "hawa-bottom-4 hawa-right-4": side === "top"
522
+ }
523
+ )
524
+ },
525
+ /* @__PURE__ */ React4.createElement(
526
+ "svg",
527
+ {
528
+ "aria-label": "Close Icon",
529
+ "aria-hidden": "true",
530
+ className: "hawa-h-5 hawa-w-5",
531
+ fill: "currentColor",
532
+ viewBox: "0 0 20 20"
533
+ },
534
+ /* @__PURE__ */ React4.createElement(
535
+ "path",
536
+ {
537
+ fillRule: "evenodd",
538
+ d: "M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",
539
+ clipRule: "evenodd"
540
+ }
541
+ )
542
+ ),
543
+ /* @__PURE__ */ React4.createElement("span", { className: "hawa-sr-only" }, "Close")
544
+ )
545
+ ))
546
+ );
547
+ var SheetHeader = ({
548
+ className,
549
+ ...props
550
+ }) => /* @__PURE__ */ React4.createElement(
551
+ "div",
552
+ {
553
+ className: cn(
554
+ "hawa-flex hawa-flex-col hawa-space-y-2 hawa-text-center sm:hawa-text-left",
555
+ className
556
+ ),
557
+ ...props
558
+ }
559
+ );
560
+ var SheetFooter = ({
561
+ className,
562
+ ...props
563
+ }) => /* @__PURE__ */ React4.createElement(
564
+ "div",
565
+ {
566
+ className: cn(
567
+ "hawa-flex hawa-flex-col-reverse sm:hawa-flex-row sm:hawa-justify-end sm:hawa-space-x-2",
568
+ className
569
+ ),
570
+ ...props
571
+ }
572
+ );
573
+ var SheetTitle = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React4.createElement(
574
+ SheetPrimitive.Title,
575
+ {
576
+ ref,
577
+ className: cn(
578
+ "hawa-text-lg hawa-font-semibold hawa-text-foreground",
579
+ className
580
+ ),
581
+ ...props
582
+ }
583
+ ));
584
+ var SheetDescription = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React4.createElement(
585
+ SheetPrimitive.Description,
586
+ {
587
+ ref,
588
+ className: cn("hawa-text-sm hawa-text-muted-foreground", className),
589
+ ...props
590
+ }
591
+ ));
592
+ SheetDescription.displayName = SheetPrimitive.Description.displayName;
593
+ SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;
594
+ SheetContent.displayName = SheetPrimitive.Content.displayName;
595
+ SheetHeader.displayName = "SheetHeader";
596
+ SheetFooter.displayName = "SheetFooter";
597
+ SheetTitle.displayName = SheetPrimitive.Title.displayName;
598
+
599
+ // components/hooks/useBreakpoint.ts
600
+ import { useState, useEffect } from "react";
601
+ var useBreakpoint = () => {
602
+ const [breakpoint, setBreakpoint] = useState(null);
603
+ useEffect(() => {
604
+ if (typeof window !== "undefined") {
605
+ const resize = () => {
606
+ setBreakpoint(window.innerWidth);
607
+ };
608
+ resize();
609
+ window.addEventListener("resize", resize);
610
+ return () => {
611
+ window.removeEventListener("resize", resize);
612
+ };
613
+ }
614
+ }, []);
615
+ return breakpoint;
616
+ };
617
+
618
+ // components/layout/docsSidebar/DocsSidebar.tsx
619
+ import React6 from "react";
620
+ var DocsSidebar = ({
621
+ currentPage: propCurrentPage,
622
+ pages,
623
+ direction
624
+ }) => {
625
+ const [activePage, setActivePage] = React6.useState(pages[0]);
626
+ const handlePageClick = (page, event) => {
627
+ event.preventDefault();
628
+ setTimeout(() => {
629
+ setActivePage(page);
630
+ }, 50);
631
+ const element = document.getElementById(page);
632
+ element == null ? void 0 : element.scrollIntoView({ behavior: "smooth", block: "start" });
633
+ };
634
+ const getCurrentSection = () => {
635
+ for (let i = pages.length - 1; i >= 0; i--) {
636
+ const page = pages[i];
637
+ const element = document.getElementById(page);
638
+ const rect = element == null ? void 0 : element.getBoundingClientRect();
639
+ if (rect) {
640
+ if (rect.top < window.innerHeight && rect.bottom >= 0) {
641
+ return page;
642
+ }
643
+ }
644
+ }
645
+ return pages[0];
646
+ };
647
+ React6.useEffect(() => {
648
+ const handleScroll = () => {
649
+ setActivePage(getCurrentSection());
650
+ };
651
+ window.addEventListener("scroll", handleScroll);
652
+ return () => {
653
+ window.removeEventListener("scroll", handleScroll);
654
+ };
655
+ }, []);
656
+ let selectedStyles = {
657
+ rtl: "hawa-border-r-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200",
658
+ ltr: "hawa-border-l-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200"
659
+ };
660
+ return /* @__PURE__ */ React6.createElement(
661
+ "div",
662
+ {
663
+ className: "hawa-flex hawa-flex-col hawa-overflow-x-clip",
664
+ dir: direction
665
+ },
666
+ pages.map((page, index) => /* @__PURE__ */ React6.createElement(
667
+ "div",
668
+ {
669
+ key: index,
670
+ className: cn(
671
+ "hawa-cursor-pointer hawa-whitespace-nowrap hawa-px-3 hawa-py-1 hawa-text-xs hawa-transition-all hover:hawa-bg-gray-100",
672
+ (propCurrentPage || activePage) === page ? selectedStyles[direction || "rtl"] : ""
673
+ ),
674
+ onClick: (event) => handlePageClick(page, event)
675
+ },
676
+ page
677
+ ))
678
+ );
679
+ };
680
+
681
+ // components/layout/docsLayout/DocsLayout.tsx
682
+ var DocsLayout = ({
683
+ direction = "ltr",
684
+ drawerSize = "md",
685
+ DrawerFooterActions,
686
+ clickedItem,
687
+ keepOpen,
688
+ pages,
689
+ setKeepOpen,
690
+ ...props
691
+ }) => {
692
+ let closeDrawerWidth = 0;
693
+ let openDrawerWidth = 200;
694
+ let drawerSizeStyle = {
695
+ opened: {
696
+ sm: "100",
697
+ md: openDrawerWidth,
698
+ lg: "250"
699
+ },
700
+ closed: {
701
+ sm: closeDrawerWidth,
702
+ md: closeDrawerWidth,
703
+ lg: closeDrawerWidth
704
+ }
705
+ };
706
+ const ref = useRef(null);
707
+ const isRTL = direction === "rtl";
708
+ let size = useBreakpoint();
709
+ if (typeof window == "undefined") {
710
+ size = 1200;
711
+ }
712
+ const [currentPage, setCurrentPage] = useState2("Introduction");
713
+ const [openSideMenu, setOpenSideMenu] = useState2(true);
714
+ useEffect2(() => {
715
+ const handleClickOutside = (event) => {
716
+ if (ref.current && !ref.current.contains(event.target) && !openSideMenu) {
717
+ setOpenSideMenu(false);
718
+ }
719
+ };
720
+ document.addEventListener("click", handleClickOutside, true);
721
+ return () => {
722
+ document.removeEventListener("click", handleClickOutside, true);
723
+ };
724
+ }, [openSideMenu]);
725
+ useEffect2(() => {
726
+ const handleResize = () => {
727
+ setOpenSideMenu(window.innerWidth > 600 ? true : false);
728
+ };
729
+ handleResize();
730
+ window.addEventListener("resize", handleResize);
731
+ return () => {
732
+ window.removeEventListener("resize", handleResize);
733
+ };
734
+ }, [keepOpen]);
735
+ const observerRef = React7.useRef(null);
736
+ const handleIntersection = (entries) => {
737
+ const entry = entries.find((entry2) => entry2.isIntersecting);
738
+ if (entry) {
739
+ setCurrentPage(entry.target.id);
740
+ }
741
+ };
742
+ useEffect2(() => {
743
+ observerRef.current = new IntersectionObserver(handleIntersection, {
744
+ threshold: 0.5
745
+ // Adjust threshold as needed to determine when a section is in view
746
+ });
747
+ React7.Children.forEach(props.children, (child) => {
748
+ if (child && child.props.id) {
749
+ const element = document.getElementById(child.props.id);
750
+ if (element && observerRef.current) {
751
+ observerRef.current.observe(element);
752
+ }
753
+ }
754
+ });
755
+ return () => {
756
+ if (observerRef.current) {
757
+ observerRef.current.disconnect();
758
+ }
759
+ };
760
+ }, [props.children]);
761
+ let drawerSizeCondition = drawerSizeStyle[openSideMenu ? "opened" : "closed"][drawerSize];
762
+ return /* @__PURE__ */ React7.createElement("div", { className: "hawa-fixed" }, /* @__PURE__ */ React7.createElement(
763
+ "div",
764
+ {
765
+ className: cn(
766
+ "hawa-fixed hawa-left-0 hawa-right-0 hawa-top-0 hawa-z-30 hawa-flex hawa-h-14 hawa-w-full hawa-items-center hawa-justify-between hawa-bg-primary-foreground hawa-p-2",
767
+ isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
768
+ )
769
+ },
770
+ size > 600 ? /* @__PURE__ */ React7.createElement("div", { onClick: props.onLogoClick, dir: direction }, /* @__PURE__ */ React7.createElement(
771
+ "img",
772
+ {
773
+ className: cn(
774
+ "hawa-h-8 hawa-opacity-0 hawa-transition-all",
775
+ !openSideMenu ? "hawa-invisible hawa-opacity-0" : "hawa-visible hawa-opacity-100"
776
+ ),
777
+ src: props.logoLink
778
+ }
779
+ )) : (
780
+ // Mobile Drawer Menu Button
781
+ /* @__PURE__ */ React7.createElement(
782
+ "div",
783
+ {
784
+ dir: direction,
785
+ className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
786
+ },
787
+ /* @__PURE__ */ React7.createElement(Sheet, null, /* @__PURE__ */ React7.createElement(SheetTrigger, null, " ", /* @__PURE__ */ React7.createElement(
788
+ "div",
789
+ {
790
+ className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
791
+ },
792
+ /* @__PURE__ */ React7.createElement(
793
+ "svg",
794
+ {
795
+ "aria-label": "Menu Icon",
796
+ stroke: "currentColor",
797
+ fill: "currentColor",
798
+ strokeWidth: 0,
799
+ viewBox: "0 0 20 20",
800
+ "aria-hidden": "true",
801
+ height: "1.6em",
802
+ width: "1.6em"
803
+ },
804
+ /* @__PURE__ */ React7.createElement(
805
+ "path",
806
+ {
807
+ fillRule: "evenodd",
808
+ clipRule: "evenodd",
809
+ d: "M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"
810
+ }
811
+ )
812
+ )
813
+ )), /* @__PURE__ */ React7.createElement(
814
+ SheetContent,
815
+ {
816
+ side: isRTL ? "right" : "left",
817
+ className: "hawa-pt-10"
818
+ },
819
+ /* @__PURE__ */ React7.createElement(DocsSidebar, { direction, pages: pages || [] })
820
+ ))
821
+ )
822
+ ),
823
+ /* @__PURE__ */ React7.createElement(
824
+ "div",
825
+ {
826
+ className: cn(
827
+ "hawa-flex hawa-gap-2 dark:hawa-text-white",
828
+ isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
829
+ )
830
+ },
831
+ /* @__PURE__ */ React7.createElement(Button, { variant: "ghost", size: "smallIcon" }, /* @__PURE__ */ React7.createElement(Logos.github, { className: "hawa-icon" }))
832
+ )
833
+ ), /* @__PURE__ */ React7.createElement(
834
+ "div",
835
+ {
836
+ className: cn(
837
+ "hawa-fixed hawa-z-40 hawa-flex hawa-flex-col hawa-justify-between hawa-overflow-x-clip hawa-bg-primary-foreground hawa-transition-all",
838
+ isRTL ? "hawa-right-0 hawa-top-0 hawa-h-full" : "hawa-left-0 hawa-top-0 hawa-h-full",
839
+ "hawa-fixed hawa-overflow-x-clip hawa-p-0 hawa-py-2 hawa-transition-all",
840
+ "hawa-top-14",
841
+ openSideMenu ? "hawa-overflow-auto" : "hawa-overflow-hidden"
842
+ ),
843
+ style: {
844
+ width: size > 600 ? openSideMenu ? `${drawerSizeStyle["opened"][drawerSize]}px` : `${drawerSizeStyle["closed"][drawerSize]}px` : openSideMenu ? `${drawerSizeStyle["opened"][drawerSize]}px` : "0px"
845
+ },
846
+ onMouseEnter: () => {
847
+ setOpenSideMenu(true);
848
+ },
849
+ onMouseLeave: () => {
850
+ if (size < 600) {
851
+ setOpenSideMenu(!openSideMenu);
852
+ }
853
+ },
854
+ ref
855
+ },
856
+ /* @__PURE__ */ React7.createElement(
857
+ DocsSidebar,
858
+ {
859
+ direction,
860
+ pages: pages || [],
861
+ currentPage
862
+ }
863
+ )
864
+ ), /* @__PURE__ */ React7.createElement(
865
+ "div",
866
+ {
867
+ className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all ",
868
+ style: isRTL ? {
869
+ height: "calc(100% - 56px)",
870
+ width: `calc(100% - ${drawerSizeCondition}px)`,
871
+ left: "0px",
872
+ top: "56px"
873
+ } : {
874
+ height: "calc(100% - 56px)",
875
+ width: `calc(100% - ${drawerSizeCondition}px)`,
876
+ left: `${drawerSizeCondition}px`,
877
+ right: `${drawerSizeCondition}px`,
878
+ top: "56px"
879
+ }
880
+ },
881
+ props.children
882
+ ));
883
+ };
884
+ export {
885
+ DocsLayout
886
+ };