@sikka/hawa 0.32.2-next → 0.33.0-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.
- package/dist/{Chip-BT2hUlGJ.d.mts → Chip-BtgTAs8x.d.mts} +1 -1
- package/dist/{Chip-Dt7zJ-jZ.d.ts → Chip-DQsP5hFS.d.ts} +1 -1
- package/dist/Label-UbMDLtJF.d.mts +14 -0
- package/dist/Label-UbMDLtJF.d.ts +14 -0
- package/dist/alert/index.js +151 -34
- package/dist/alert/index.js.map +1 -1
- package/dist/alert/index.mjs +148 -31
- package/dist/alert/index.mjs.map +1 -1
- package/dist/appLayout/index.js +191 -145
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +226 -180
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/backToTop/index.js +147 -30
- package/dist/backToTop/index.js.map +1 -1
- package/dist/backToTop/index.mjs +142 -25
- package/dist/backToTop/index.mjs.map +1 -1
- package/dist/blocks/auth/index.js +230 -229
- package/dist/blocks/auth/index.mjs +4 -4
- package/dist/blocks/feedback/index.js +147 -148
- package/dist/blocks/feedback/index.mjs +5 -5
- package/dist/blocks/index.js +230 -229
- package/dist/blocks/index.mjs +3 -3
- package/dist/blocks/misc/index.js +155 -154
- package/dist/blocks/misc/index.mjs +5 -5
- package/dist/blocks/pricing/index.js +174 -173
- package/dist/blocks/pricing/index.mjs +4 -4
- package/dist/button/index.d.mts +3 -2
- package/dist/button/index.d.ts +3 -2
- package/dist/button/index.js +138 -21
- package/dist/button/index.js.map +1 -1
- package/dist/button/index.mjs +138 -21
- package/dist/button/index.mjs.map +1 -1
- package/dist/calendar/index.d.mts +15 -0
- package/dist/calendar/index.d.ts +15 -0
- package/dist/calendar/index.js +545 -0
- package/dist/calendar/index.js.map +1 -0
- package/dist/calendar/index.mjs +509 -0
- package/dist/calendar/index.mjs.map +1 -0
- package/dist/{chunk-WFPAI2QC.mjs → chunk-3HJ3JXPA.mjs} +130 -174
- package/dist/{chunk-XRUPXLOK.mjs → chunk-AW5FW5TY.mjs} +1 -1
- package/dist/{chunk-MQWYXMSK.mjs → chunk-CKLK3G32.mjs} +242 -197
- package/dist/{chunk-XZLXGXIA.mjs → chunk-E3WWI4I5.mjs} +1 -1
- package/dist/{chunk-WUMWQIAW.mjs → chunk-FRYGQYUO.mjs} +1 -1
- package/dist/{chunk-S6TZHTWS.mjs → chunk-GEB3LM5A.mjs} +1 -1
- package/dist/{chunk-2QAGLSHC.mjs → chunk-IQEBXGLM.mjs} +1 -1
- package/dist/{chunk-PA3Z7W32.mjs → chunk-OS2UOK5C.mjs} +147 -146
- package/dist/{chunk-3S44N7SB.mjs → chunk-RTGD7N7I.mjs} +1 -1
- package/dist/{chunk-WAVKQ44V.mjs → chunk-UBNCETCU.mjs} +1 -1
- package/dist/codeBlock/index.js +138 -92
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs +157 -111
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/commonTypes-CgDwjGvU.d.mts +5 -0
- package/dist/commonTypes-CgDwjGvU.d.ts +5 -0
- package/dist/commonTypes-DZdITB5m.d.mts +4 -0
- package/dist/commonTypes-DZdITB5m.d.ts +4 -0
- package/dist/dataTable/index.d.mts +2 -1
- package/dist/dataTable/index.d.ts +2 -1
- package/dist/dataTable/index.js +177 -174
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +177 -174
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/datePicker/index.d.mts +20 -0
- package/dist/datePicker/index.d.ts +20 -0
- package/dist/datePicker/index.js +630 -0
- package/dist/datePicker/index.js.map +1 -0
- package/dist/datePicker/index.mjs +593 -0
- package/dist/datePicker/index.mjs.map +1 -0
- package/dist/destroyableCard/index.d.mts +1 -1
- package/dist/destroyableCard/index.d.ts +1 -1
- package/dist/dialog/index.d.mts +1 -1
- package/dist/dialog/index.d.ts +1 -1
- package/dist/docsLayout/index.js +231 -114
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +222 -105
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/dropdownMenu/index.d.mts +1 -6
- package/dist/dropdownMenu/index.d.ts +1 -6
- package/dist/elements/index.d.mts +9 -8
- package/dist/elements/index.d.ts +9 -8
- package/dist/elements/index.js +54 -51
- package/dist/elements/index.mjs +7 -5
- package/dist/fileDropzone/index.js +184 -67
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs +176 -59
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/index.css +83 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +54 -51
- package/dist/index.mjs +74 -71
- package/dist/input/index.d.mts +1 -2
- package/dist/input/index.d.ts +1 -2
- package/dist/label/index.d.mts +2 -1
- package/dist/label/index.d.ts +2 -1
- package/dist/layout/index.d.mts +1 -1
- package/dist/layout/index.d.ts +1 -1
- package/dist/layout/index.js +204 -158
- package/dist/layout/index.mjs +2 -2
- package/dist/phoneInput/index.d.mts +1 -2
- package/dist/phoneInput/index.d.ts +1 -2
- package/dist/progress/index.d.mts +1 -8
- package/dist/progress/index.d.ts +1 -8
- package/dist/radio/index.d.mts +1 -9
- package/dist/radio/index.d.ts +1 -9
- package/dist/scrollArea/index.d.mts +1 -1
- package/dist/scrollArea/index.d.ts +1 -1
- package/dist/separator/index.d.mts +1 -1
- package/dist/separator/index.d.ts +1 -1
- package/dist/signature/index.d.mts +2 -1
- package/dist/signature/index.d.ts +2 -1
- package/dist/simpleTable/index.d.mts +1 -1
- package/dist/simpleTable/index.d.ts +1 -1
- package/dist/sortButton/index.js +145 -28
- package/dist/sortButton/index.js.map +1 -1
- package/dist/sortButton/index.mjs +145 -28
- package/dist/sortButton/index.mjs.map +1 -1
- package/dist/splitButton/index.d.mts +3 -2
- package/dist/splitButton/index.d.ts +3 -2
- package/dist/splitButton/index.js +145 -28
- package/dist/splitButton/index.js.map +1 -1
- package/dist/splitButton/index.mjs +145 -28
- package/dist/splitButton/index.mjs.map +1 -1
- package/dist/tabs/index.d.mts +1 -1
- package/dist/tabs/index.d.ts +1 -1
- package/dist/textarea/index.d.mts +1 -1
- package/dist/textarea/index.d.ts +1 -1
- package/dist/toast/index.d.mts +1 -1
- package/dist/toast/index.d.ts +1 -1
- package/dist/toaster/index.d.mts +22 -4
- package/dist/toaster/index.d.ts +22 -4
- package/package.json +3 -1
- package/dist/commonTypes-CMqMLkhN.d.mts +0 -4
- package/dist/commonTypes-CMqMLkhN.d.ts +0 -4
- package/dist/commonTypes-D_7LV7Ri.d.mts +0 -5
- package/dist/commonTypes-D_7LV7Ri.d.ts +0 -5
package/dist/docsLayout/index.js
CHANGED
@@ -36,10 +36,10 @@ __export(docsLayout_exports, {
|
|
36
36
|
module.exports = __toCommonJS(docsLayout_exports);
|
37
37
|
|
38
38
|
// layout/docsLayout/DocsLayout.tsx
|
39
|
-
var
|
39
|
+
var import_react6 = __toESM(require("react"));
|
40
40
|
|
41
41
|
// elements/button/Button.tsx
|
42
|
-
var
|
42
|
+
var React4 = __toESM(require("react"));
|
43
43
|
|
44
44
|
// util/index.ts
|
45
45
|
var import_clsx = require("clsx");
|
@@ -51,8 +51,124 @@ function cn(...inputs) {
|
|
51
51
|
// elements/button/Button.tsx
|
52
52
|
var import_class_variance_authority = require("class-variance-authority");
|
53
53
|
|
54
|
-
// elements/
|
54
|
+
// elements/label/Label.tsx
|
55
|
+
var React2 = __toESM(require("react"));
|
56
|
+
|
57
|
+
// elements/tooltip/Tooltip.tsx
|
55
58
|
var import_react = __toESM(require("react"));
|
59
|
+
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
60
|
+
var TooltipContent = import_react.default.forwardRef(({ className, sideOffset = 4, size = "default", ...props }, ref) => /* @__PURE__ */ import_react.default.createElement(
|
61
|
+
TooltipPrimitive.Content,
|
62
|
+
{
|
63
|
+
ref,
|
64
|
+
sideOffset,
|
65
|
+
className: cn(
|
66
|
+
"hawa-z-50 hawa-overflow-hidden hawa-rounded-md hawa-border hawa-bg-popover hawa-px-3 hawa-py-1.5 hawa-text-sm hawa-text-popover-foreground hawa-shadow-md hawa-animate-in hawa-fade-in-0 hawa-zoom-in-95 data-[state=closed]:hawa-animate-out data-[state=closed]:hawa-fade-out-0 data-[state=closed]:hawa-zoom-out-95 data-[side=bottom]:hawa-slide-in-from-top-2 data-[side=left]:hawa-slide-in-from-right-2 data-[side=right]:hawa-slide-in-from-left-2 data-[side=top]:hawa-slide-in-from-bottom-2",
|
67
|
+
{
|
68
|
+
"hawa-text-xs": size === "small",
|
69
|
+
"hawa-text-xl": size === "large"
|
70
|
+
},
|
71
|
+
className
|
72
|
+
),
|
73
|
+
...props
|
74
|
+
}
|
75
|
+
));
|
76
|
+
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
77
|
+
var TooltipArrow = import_react.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
|
78
|
+
TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
|
79
|
+
var Tooltip = ({
|
80
|
+
side,
|
81
|
+
size,
|
82
|
+
open,
|
83
|
+
content,
|
84
|
+
children,
|
85
|
+
disabled,
|
86
|
+
defaultOpen,
|
87
|
+
onOpenChange,
|
88
|
+
triggerProps,
|
89
|
+
contentProps,
|
90
|
+
providerProps,
|
91
|
+
delayDuration = 300,
|
92
|
+
...props
|
93
|
+
}) => {
|
94
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
95
|
+
TooltipPrimitive.TooltipProvider,
|
96
|
+
{
|
97
|
+
delayDuration,
|
98
|
+
...providerProps
|
99
|
+
},
|
100
|
+
/* @__PURE__ */ import_react.default.createElement(
|
101
|
+
TooltipPrimitive.Root,
|
102
|
+
{
|
103
|
+
open: !disabled && open,
|
104
|
+
defaultOpen,
|
105
|
+
onOpenChange,
|
106
|
+
...props
|
107
|
+
},
|
108
|
+
/* @__PURE__ */ import_react.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
|
109
|
+
/* @__PURE__ */ import_react.default.createElement(
|
110
|
+
TooltipContent,
|
111
|
+
{
|
112
|
+
size,
|
113
|
+
side,
|
114
|
+
align: "center",
|
115
|
+
...contentProps,
|
116
|
+
style: {
|
117
|
+
...contentProps == null ? void 0 : contentProps.style,
|
118
|
+
maxWidth: "var(--radix-tooltip-content-available-width)",
|
119
|
+
maxHeight: "var(--radix-tooltip-content-available-height)"
|
120
|
+
}
|
121
|
+
},
|
122
|
+
content
|
123
|
+
)
|
124
|
+
)
|
125
|
+
);
|
126
|
+
};
|
127
|
+
|
128
|
+
// elements/label/Label.tsx
|
129
|
+
var Label = React2.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React2.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React2.createElement(
|
130
|
+
"label",
|
131
|
+
{
|
132
|
+
ref,
|
133
|
+
className: cn(
|
134
|
+
"hawa-text-sm hawa-font-medium hawa-leading-none peer-disabled:hawa-cursor-not-allowed peer-disabled:hawa-opacity-70",
|
135
|
+
className
|
136
|
+
),
|
137
|
+
...props
|
138
|
+
},
|
139
|
+
children,
|
140
|
+
required && /* @__PURE__ */ React2.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
|
141
|
+
), hint && /* @__PURE__ */ React2.createElement(
|
142
|
+
Tooltip,
|
143
|
+
{
|
144
|
+
content: hint,
|
145
|
+
side: hintSide,
|
146
|
+
triggerProps: {
|
147
|
+
tabIndex: -1,
|
148
|
+
onClick: (event) => event.preventDefault()
|
149
|
+
}
|
150
|
+
},
|
151
|
+
/* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement(
|
152
|
+
"svg",
|
153
|
+
{
|
154
|
+
xmlns: "http://www.w3.org/2000/svg",
|
155
|
+
className: "hawa-h-[14px] hawa-w-[14px] hawa-cursor-help",
|
156
|
+
viewBox: "0 0 24 24",
|
157
|
+
fill: "none",
|
158
|
+
stroke: "currentColor",
|
159
|
+
strokeWidth: "2",
|
160
|
+
strokeLinecap: "round",
|
161
|
+
strokeLinejoin: "round"
|
162
|
+
},
|
163
|
+
/* @__PURE__ */ React2.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
164
|
+
/* @__PURE__ */ React2.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
165
|
+
/* @__PURE__ */ React2.createElement("path", { d: "M12 17h.01" })
|
166
|
+
))
|
167
|
+
)));
|
168
|
+
Label.displayName = "Label";
|
169
|
+
|
170
|
+
// elements/loading/Loading.tsx
|
171
|
+
var import_react2 = __toESM(require("react"));
|
56
172
|
var Loading = ({
|
57
173
|
design = "spinner",
|
58
174
|
size = "normal",
|
@@ -83,7 +199,7 @@ var Loading = ({
|
|
83
199
|
};
|
84
200
|
switch (design.split("-")[0]) {
|
85
201
|
case "dots":
|
86
|
-
return /* @__PURE__ */
|
202
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
87
203
|
"div",
|
88
204
|
{
|
89
205
|
className: cn(
|
@@ -91,7 +207,7 @@ var Loading = ({
|
|
91
207
|
classNames == null ? void 0 : classNames.container
|
92
208
|
)
|
93
209
|
},
|
94
|
-
/* @__PURE__ */
|
210
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
95
211
|
"div",
|
96
212
|
{
|
97
213
|
className: cn(
|
@@ -102,7 +218,7 @@ var Loading = ({
|
|
102
218
|
)
|
103
219
|
}
|
104
220
|
),
|
105
|
-
/* @__PURE__ */
|
221
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
106
222
|
"div",
|
107
223
|
{
|
108
224
|
className: cn(
|
@@ -113,7 +229,7 @@ var Loading = ({
|
|
113
229
|
)
|
114
230
|
}
|
115
231
|
),
|
116
|
-
/* @__PURE__ */
|
232
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
117
233
|
"div",
|
118
234
|
{
|
119
235
|
className: cn(
|
@@ -126,7 +242,7 @@ var Loading = ({
|
|
126
242
|
)
|
127
243
|
);
|
128
244
|
case "square":
|
129
|
-
return /* @__PURE__ */
|
245
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
130
246
|
"svg",
|
131
247
|
{
|
132
248
|
className: cn(
|
@@ -138,7 +254,7 @@ var Loading = ({
|
|
138
254
|
height: "35",
|
139
255
|
width: "35"
|
140
256
|
},
|
141
|
-
/* @__PURE__ */
|
257
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
142
258
|
"rect",
|
143
259
|
{
|
144
260
|
className: "squircle-track",
|
@@ -150,7 +266,7 @@ var Loading = ({
|
|
150
266
|
height: "32.5"
|
151
267
|
}
|
152
268
|
),
|
153
|
-
/* @__PURE__ */
|
269
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
154
270
|
"rect",
|
155
271
|
{
|
156
272
|
className: "square-car",
|
@@ -165,7 +281,7 @@ var Loading = ({
|
|
165
281
|
)
|
166
282
|
);
|
167
283
|
case "squircle":
|
168
|
-
return /* @__PURE__ */
|
284
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
169
285
|
"svg",
|
170
286
|
{
|
171
287
|
x: "0px",
|
@@ -180,7 +296,7 @@ var Loading = ({
|
|
180
296
|
classNames == null ? void 0 : classNames.container
|
181
297
|
)
|
182
298
|
},
|
183
|
-
/* @__PURE__ */
|
299
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
184
300
|
"path",
|
185
301
|
{
|
186
302
|
className: cn("squircle-track", classNames == null ? void 0 : classNames.track),
|
@@ -190,7 +306,7 @@ var Loading = ({
|
|
190
306
|
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"
|
191
307
|
}
|
192
308
|
),
|
193
|
-
/* @__PURE__ */
|
309
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
194
310
|
"path",
|
195
311
|
{
|
196
312
|
className: cn("squircle-car", classNames == null ? void 0 : classNames.car),
|
@@ -202,7 +318,7 @@ var Loading = ({
|
|
202
318
|
)
|
203
319
|
);
|
204
320
|
case "progress":
|
205
|
-
return /* @__PURE__ */
|
321
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
206
322
|
"div",
|
207
323
|
{
|
208
324
|
className: cn(
|
@@ -213,9 +329,9 @@ var Loading = ({
|
|
213
329
|
}
|
214
330
|
);
|
215
331
|
case "orbit":
|
216
|
-
return /* @__PURE__ */
|
332
|
+
return /* @__PURE__ */ import_react2.default.createElement("div", { className: cn("orbit-container", classNames == null ? void 0 : classNames.container) });
|
217
333
|
default:
|
218
|
-
return /* @__PURE__ */
|
334
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
219
335
|
"svg",
|
220
336
|
{
|
221
337
|
viewBox: "0 0 40 40",
|
@@ -227,7 +343,7 @@ var Loading = ({
|
|
227
343
|
classNames == null ? void 0 : classNames.container
|
228
344
|
)
|
229
345
|
},
|
230
|
-
/* @__PURE__ */
|
346
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
231
347
|
"circle",
|
232
348
|
{
|
233
349
|
className: cn(
|
@@ -246,7 +362,7 @@ var Loading = ({
|
|
246
362
|
pathLength: "100"
|
247
363
|
}
|
248
364
|
),
|
249
|
-
/* @__PURE__ */
|
365
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
250
366
|
"circle",
|
251
367
|
{
|
252
368
|
className: cn(
|
@@ -303,9 +419,10 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
303
419
|
}
|
304
420
|
}
|
305
421
|
);
|
306
|
-
var Button =
|
422
|
+
var Button = React4.forwardRef(
|
307
423
|
({
|
308
424
|
className,
|
425
|
+
label,
|
309
426
|
variant,
|
310
427
|
size,
|
311
428
|
asChild = false,
|
@@ -316,7 +433,7 @@ var Button = React2.forwardRef(
|
|
316
433
|
}, ref) => {
|
317
434
|
const Comp = "button";
|
318
435
|
const loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "hawa-bg-primary" : "hawa-bg-primary-foreground";
|
319
|
-
return /* @__PURE__ */
|
436
|
+
return /* @__PURE__ */ React4.createElement("div", { className: "flex flex-col" }, label && /* @__PURE__ */ React4.createElement(Label, { className: "hawa-mb-2" }, label), /* @__PURE__ */ React4.createElement(
|
320
437
|
Comp,
|
321
438
|
{
|
322
439
|
className: cn(
|
@@ -326,7 +443,7 @@ var Button = React2.forwardRef(
|
|
326
443
|
ref,
|
327
444
|
...props
|
328
445
|
},
|
329
|
-
isLoading ? /* @__PURE__ */
|
446
|
+
isLoading ? /* @__PURE__ */ React4.createElement(
|
330
447
|
Loading,
|
331
448
|
{
|
332
449
|
design: size === "icon" || size === "smallIcon" ? "spinner" : "dots-pulse",
|
@@ -335,15 +452,15 @@ var Button = React2.forwardRef(
|
|
335
452
|
size: size === "sm" || size === "xs" ? "xs" : "button"
|
336
453
|
}
|
337
454
|
) : children
|
338
|
-
);
|
455
|
+
));
|
339
456
|
}
|
340
457
|
);
|
341
458
|
Button.displayName = "Button";
|
342
459
|
|
343
460
|
// elements/logos/Logos.tsx
|
344
|
-
var
|
461
|
+
var import_react3 = __toESM(require("react"));
|
345
462
|
var Logos = {
|
346
|
-
metamask: (props) => /* @__PURE__ */
|
463
|
+
metamask: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
347
464
|
"svg",
|
348
465
|
{
|
349
466
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -354,8 +471,8 @@ var Logos = {
|
|
354
471
|
viewBox: "0 0 318.6 318.6",
|
355
472
|
...props
|
356
473
|
},
|
357
|
-
/* @__PURE__ */
|
358
|
-
/* @__PURE__ */
|
474
|
+
/* @__PURE__ */ import_react3.default.createElement("style", null, ".st1,.st6{fill:#e4761b;stroke:#e4761b;stroke-linecap:round;stroke-linejoin:round}.st6{fill:#f6851b;stroke:#f6851b}"),
|
475
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
359
476
|
"path",
|
360
477
|
{
|
361
478
|
fill: "#e2761b",
|
@@ -365,21 +482,21 @@ var Logos = {
|
|
365
482
|
d: "m274.1 35.5-99.5 73.9L193 65.8z"
|
366
483
|
}
|
367
484
|
),
|
368
|
-
/* @__PURE__ */
|
485
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
369
486
|
"path",
|
370
487
|
{
|
371
488
|
d: "m44.4 35.5 98.7 74.6-17.5-44.3zm193.9 171.3-26.5 40.6 56.7 15.6 16.3-55.3zm-204.4.9L50.1 263l56.7-15.6-26.5-40.6z",
|
372
489
|
className: "st1"
|
373
490
|
}
|
374
491
|
),
|
375
|
-
/* @__PURE__ */
|
492
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
376
493
|
"path",
|
377
494
|
{
|
378
495
|
d: "m103.6 138.2-15.8 23.9 56.3 2.5-2-60.5zm111.3 0-39-34.8-1.3 61.2 56.2-2.5zM106.8 247.4l33.8-16.5-29.2-22.8zm71.1-16.5 33.9 16.5-4.7-39.3z",
|
379
496
|
className: "st1"
|
380
497
|
}
|
381
498
|
),
|
382
|
-
/* @__PURE__ */
|
499
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
383
500
|
"path",
|
384
501
|
{
|
385
502
|
fill: "#d7c1b3",
|
@@ -389,7 +506,7 @@ var Logos = {
|
|
389
506
|
d: "m211.8 247.4-33.9-16.5 2.7 22.1-.3 9.3zm-105 0 31.5 14.9-.2-9.3 2.5-22.1z"
|
390
507
|
}
|
391
508
|
),
|
392
|
-
/* @__PURE__ */
|
509
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
393
510
|
"path",
|
394
511
|
{
|
395
512
|
fill: "#233447",
|
@@ -399,7 +516,7 @@ var Logos = {
|
|
399
516
|
d: "m138.8 193.5-28.2-8.3 19.9-9.1zm40.9 0 8.3-17.4 20 9.1z"
|
400
517
|
}
|
401
518
|
),
|
402
|
-
/* @__PURE__ */
|
519
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
403
520
|
"path",
|
404
521
|
{
|
405
522
|
fill: "#cd6116",
|
@@ -409,7 +526,7 @@ var Logos = {
|
|
409
526
|
d: "m106.8 247.4 4.8-40.6-31.3.9zM207 206.8l4.8 40.6 26.5-39.7zm23.8-44.7-56.2 2.5 5.2 28.9 8.3-17.4 20 9.1zm-120.2 23.1 20-9.1 8.2 17.4 5.3-28.9-56.3-2.5z"
|
410
527
|
}
|
411
528
|
),
|
412
|
-
/* @__PURE__ */
|
529
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
413
530
|
"path",
|
414
531
|
{
|
415
532
|
fill: "#e4751f",
|
@@ -419,14 +536,14 @@ var Logos = {
|
|
419
536
|
d: "m87.8 162.1 23.6 46-.8-22.9zm120.3 23.1-1 22.9 23.7-46zm-64-20.6-5.3 28.9 6.6 34.1 1.5-44.9zm30.5 0-2.7 18 1.2 45 6.7-34.1z"
|
420
537
|
}
|
421
538
|
),
|
422
|
-
/* @__PURE__ */
|
539
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
423
540
|
"path",
|
424
541
|
{
|
425
542
|
d: "m179.8 193.5-6.7 34.1 4.8 3.3 29.2-22.8 1-22.9zm-69.2-8.3.8 22.9 29.2 22.8 4.8-3.3-6.6-34.1z",
|
426
543
|
className: "st6"
|
427
544
|
}
|
428
545
|
),
|
429
|
-
/* @__PURE__ */
|
546
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
430
547
|
"path",
|
431
548
|
{
|
432
549
|
fill: "#c0ad9e",
|
@@ -436,7 +553,7 @@ var Logos = {
|
|
436
553
|
d: "m180.3 262.3.3-9.3-2.5-2.2h-37.7l-2.3 2.2.2 9.3-31.5-14.9 11 9 22.3 15.5h38.3l22.4-15.5 11-9z"
|
437
554
|
}
|
438
555
|
),
|
439
|
-
/* @__PURE__ */
|
556
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
440
557
|
"path",
|
441
558
|
{
|
442
559
|
fill: "#161616",
|
@@ -446,7 +563,7 @@ var Logos = {
|
|
446
563
|
d: "m177.9 230.9-4.8-3.3h-27.7l-4.8 3.3-2.5 22.1 2.3-2.2h37.7l2.5 2.2z"
|
447
564
|
}
|
448
565
|
),
|
449
|
-
/* @__PURE__ */
|
566
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
450
567
|
"path",
|
451
568
|
{
|
452
569
|
fill: "#763d16",
|
@@ -456,7 +573,7 @@ var Logos = {
|
|
456
573
|
d: "m278.3 114.2 8.5-40.8-12.7-37.9-96.2 71.4 37 31.3 52.3 15.3 11.6-13.5-5-3.6 8-7.3-6.2-4.8 8-6.1zM31.8 73.4l8.5 40.8-5.4 4 8 6.1-6.1 4.8 8 7.3-5 3.6 11.5 13.5 52.3-15.3 37-31.3-96.2-71.4z"
|
457
574
|
}
|
458
575
|
),
|
459
|
-
/* @__PURE__ */
|
576
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
460
577
|
"path",
|
461
578
|
{
|
462
579
|
d: "m267.2 153.5-52.3-15.3 15.9 23.9-23.7 46 31.2-.4h46.5zm-163.6-15.3-52.3 15.3-17.4 54.2h46.4l31.1.4-23.6-46zm71 26.4 3.3-57.7 15.2-41.1h-67.5l15 41.1 3.5 57.7 1.2 18.2.1 44.8h27.7l.2-44.8z",
|
@@ -464,7 +581,7 @@ var Logos = {
|
|
464
581
|
}
|
465
582
|
)
|
466
583
|
),
|
467
|
-
nafath: (props) => /* @__PURE__ */
|
584
|
+
nafath: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
468
585
|
"svg",
|
469
586
|
{
|
470
587
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -475,15 +592,15 @@ var Logos = {
|
|
475
592
|
viewBox: "22.5 44.5 535.6 230.34",
|
476
593
|
...props
|
477
594
|
},
|
478
|
-
/* @__PURE__ */
|
479
|
-
/* @__PURE__ */
|
595
|
+
/* @__PURE__ */ import_react3.default.createElement("style", null, ".st0{fill:#0a9a8f}"),
|
596
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
480
597
|
"path",
|
481
598
|
{
|
482
599
|
d: "M426.1 233.8c1.5.2 2.4.4 3.3.4 21.3 0 42.7.1 64-.1 12.7-.1 20-6.8 20.4-19.4.6-21 .6-42 .6-63 0-3.9 1.1-6.1 4.7-7.9 10.9-5.4 21.5-11.2 32.3-16.8 1.3-.7 2.7-1.3 4.5-2.1.1 1.4.3 2.4.3 3.5 0 29.1.5 58.2-.2 87.3-.5 21.8-9.4 39.7-29.1 51-10.1 5.8-21.3 7.9-32.7 7.9-32.1.2-64.1.2-96.2 0-8.2-.1-16.4-1.8-24.6-2.1-5.5-.2-11 1.1-16.6 1.4-9.3.4-18.7.7-28 .8-26.3.1-52.6.3-78.9-.1-7.8-.1-15.9-1.2-23.4-3.4-22.7-7-34.9-23.3-38.8-46.2-.8-4.9-1-9.9-1-14.9-.1-42.5 0-85-.1-127.5 0-3.6.9-5.6 4.2-7.2 11-5.5 21.8-11.3 32.7-16.9 1.3-.7 2.7-1.3 4.8-2.3v149c0 3.7.2 7.5.7 11.2 1.5 11.1 7.6 17.5 18.7 17.7 22.6.4 45.1.1 67.7.1.4 0 .9-.3 1.9-.6-1-2-1.9-3.9-2.9-5.7-16-27.8-11.5-65.2 7-87.2 11-13.2 25.3-20.4 42.3-21.9 17.3-1.5 33.9.9 48.1 12.1 15.4 12.1 23.3 28.3 25.8 47.5 2.6 19.1-.9 36.8-10.8 53.3-.1.3-.2.9-.7 2.1zm-27.4-48.1c-.8-3.2-1.5-9.2-3.9-14.4-4.9-10.6-13.9-14.9-25.5-14.3-10.4.6-17.9 5.9-21.5 15.7-7.4 19.7 1.5 44.7 19.4 55.5 3.2 1.9 5.8 2 8.9-.1 14.2-9.4 21.9-22.5 22.6-42.4zM78.7 155.1c6.8-11.7 13.6-23.2 20.5-35 13.5 8.1 25.5 17.4 35.1 29.4 18.1 22.4 24.3 48.2 21.3 76.5-.7 6.9-2.2 13.9-4.6 20.4-6 16.6-18.8 26.3-35.8 27.1-30.6 1.4-61.2.8-91.9 1.1-.1 0-.3-.1-.8-.4.4-1 .7-2.2 1.2-3.2 5.7-11 11.6-22 17.2-33.1 1.4-2.7 3-3.7 6.1-3.7 15.4.2 30.8-.4 46.2.2 18.1.7 21.6-10.1 21.2-23-.7-23.6-12.1-40.9-31.6-53.4-1.1-.9-2.4-1.8-4.1-2.9zM536.2 44.5c13.4 0 21.9 8.4 21.9 21.7 0 14.4-7.4 22.1-21.5 22.3-13.4.2-22-8.4-22.1-22.1 0-13.3 8.4-21.9 21.7-21.9zM121.1 66.4c0 14.8-7.3 22.3-21.5 22.1-13.5-.2-22-9-21.9-22.5.2-13.2 8.8-21.5 22.3-21.5 13.2.1 21.1 8.3 21.1 21.9z",
|
483
600
|
className: "st0"
|
484
601
|
}
|
485
602
|
),
|
486
|
-
/* @__PURE__ */
|
603
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
487
604
|
"path",
|
488
605
|
{
|
489
606
|
d: "M393 71.1c-.1 14.7-6.8 21.6-21.3 21.6-13.9 0-21.9-8.1-21.9-22.1 0-13.7 8.3-21.6 22.4-21.5 13.3.1 20.8 8.2 20.8 22z",
|
@@ -491,7 +608,7 @@ var Logos = {
|
|
491
608
|
}
|
492
609
|
)
|
493
610
|
),
|
494
|
-
hawa: (props) => /* @__PURE__ */
|
611
|
+
hawa: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
495
612
|
"svg",
|
496
613
|
{
|
497
614
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -499,7 +616,7 @@ var Logos = {
|
|
499
616
|
viewBox: "0 0 765 765",
|
500
617
|
...props
|
501
618
|
},
|
502
|
-
/* @__PURE__ */
|
619
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
503
620
|
"path",
|
504
621
|
{
|
505
622
|
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",
|
@@ -507,7 +624,7 @@ var Logos = {
|
|
507
624
|
}
|
508
625
|
)
|
509
626
|
),
|
510
|
-
sikka: (props) => /* @__PURE__ */
|
627
|
+
sikka: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
511
628
|
"svg",
|
512
629
|
{
|
513
630
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -517,11 +634,11 @@ var Logos = {
|
|
517
634
|
fill: "currentColor",
|
518
635
|
...props
|
519
636
|
},
|
520
|
-
/* @__PURE__ */
|
521
|
-
/* @__PURE__ */
|
522
|
-
/* @__PURE__ */
|
637
|
+
/* @__PURE__ */ import_react3.default.createElement("defs", null, /* @__PURE__ */ import_react3.default.createElement("path", { id: "a", d: "M0 0h916.5v765H0z" })),
|
638
|
+
/* @__PURE__ */ import_react3.default.createElement("clipPath", { id: "b" }, /* @__PURE__ */ import_react3.default.createElement("use", { xlinkHref: "#a", overflow: "visible" })),
|
639
|
+
/* @__PURE__ */ import_react3.default.createElement("g", { clipPath: "url(#b)" }, /* @__PURE__ */ import_react3.default.createElement("defs", null, /* @__PURE__ */ import_react3.default.createElement("path", { id: "c", d: "M0 0h916.5v765H0z" })), /* @__PURE__ */ import_react3.default.createElement("clipPath", { id: "d" }, /* @__PURE__ */ import_react3.default.createElement("use", { xlinkHref: "#c", overflow: "visible" })), /* @__PURE__ */ import_react3.default.createElement("g", { clipPath: "url(#d)" }, /* @__PURE__ */ import_react3.default.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" })))
|
523
640
|
),
|
524
|
-
mail: (props) => /* @__PURE__ */
|
641
|
+
mail: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
525
642
|
"svg",
|
526
643
|
{
|
527
644
|
stroke: "currentColor",
|
@@ -533,10 +650,10 @@ var Logos = {
|
|
533
650
|
xmlns: "http://www.w3.org/2000/svg",
|
534
651
|
...props
|
535
652
|
},
|
536
|
-
/* @__PURE__ */
|
537
|
-
/* @__PURE__ */
|
653
|
+
/* @__PURE__ */ import_react3.default.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" }),
|
654
|
+
/* @__PURE__ */ import_react3.default.createElement("polyline", { points: "22,6 12,13 2,6" })
|
538
655
|
),
|
539
|
-
phone: (props) => /* @__PURE__ */
|
656
|
+
phone: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
540
657
|
"svg",
|
541
658
|
{
|
542
659
|
stroke: "currentColor",
|
@@ -547,7 +664,7 @@ var Logos = {
|
|
547
664
|
xmlns: "http://www.w3.org/2000/svg",
|
548
665
|
...props
|
549
666
|
},
|
550
|
-
/* @__PURE__ */
|
667
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
551
668
|
"path",
|
552
669
|
{
|
553
670
|
strokeLinecap: "round",
|
@@ -556,14 +673,14 @@ var Logos = {
|
|
556
673
|
}
|
557
674
|
)
|
558
675
|
),
|
559
|
-
twitter: (props) => /* @__PURE__ */
|
676
|
+
twitter: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
560
677
|
"path",
|
561
678
|
{
|
562
679
|
fill: "currentColor",
|
563
680
|
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"
|
564
681
|
}
|
565
682
|
)),
|
566
|
-
instagram: (props) => /* @__PURE__ */
|
683
|
+
instagram: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
567
684
|
"svg",
|
568
685
|
{
|
569
686
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -571,23 +688,23 @@ var Logos = {
|
|
571
688
|
viewBox: "0 0 16 16",
|
572
689
|
...props
|
573
690
|
},
|
574
|
-
/* @__PURE__ */
|
691
|
+
/* @__PURE__ */ import_react3.default.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" })
|
575
692
|
),
|
576
|
-
microsoft: (props) => /* @__PURE__ */
|
693
|
+
microsoft: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
577
694
|
"path",
|
578
695
|
{
|
579
696
|
fill: "currentColor",
|
580
697
|
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
581
698
|
}
|
582
699
|
)),
|
583
|
-
github: (props) => /* @__PURE__ */
|
700
|
+
github: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
584
701
|
"svg",
|
585
702
|
{
|
586
703
|
xmlns: "http://www.w3.org/2000/svg",
|
587
704
|
viewBox: "0 0 438.549 438.549",
|
588
705
|
...props
|
589
706
|
},
|
590
|
-
/* @__PURE__ */
|
707
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
591
708
|
"path",
|
592
709
|
{
|
593
710
|
fill: "currentColor",
|
@@ -595,77 +712,77 @@ var Logos = {
|
|
595
712
|
}
|
596
713
|
)
|
597
714
|
),
|
598
|
-
radix: (props) => /* @__PURE__ */
|
715
|
+
radix: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
599
716
|
"path",
|
600
717
|
{
|
601
718
|
d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
|
602
719
|
fill: "currentcolor"
|
603
720
|
}
|
604
|
-
), /* @__PURE__ */
|
721
|
+
), /* @__PURE__ */ import_react3.default.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ import_react3.default.createElement(
|
605
722
|
"path",
|
606
723
|
{
|
607
724
|
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",
|
608
725
|
fill: "currentcolor"
|
609
726
|
}
|
610
727
|
)),
|
611
|
-
aria: (props) => /* @__PURE__ */
|
612
|
-
npm: (props) => /* @__PURE__ */
|
728
|
+
aria: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ import_react3.default.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" })),
|
729
|
+
npm: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
613
730
|
"path",
|
614
731
|
{
|
615
732
|
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",
|
616
733
|
fill: "currentColor"
|
617
734
|
}
|
618
735
|
)),
|
619
|
-
yarn: (props) => /* @__PURE__ */
|
736
|
+
yarn: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
620
737
|
"path",
|
621
738
|
{
|
622
739
|
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",
|
623
740
|
fill: "currentColor"
|
624
741
|
}
|
625
742
|
)),
|
626
|
-
pnpm: (props) => /* @__PURE__ */
|
743
|
+
pnpm: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
627
744
|
"path",
|
628
745
|
{
|
629
746
|
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",
|
630
747
|
fill: "currentColor"
|
631
748
|
}
|
632
749
|
)),
|
633
|
-
react: (props) => /* @__PURE__ */
|
750
|
+
react: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
634
751
|
"path",
|
635
752
|
{
|
636
753
|
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",
|
637
754
|
fill: "currentColor"
|
638
755
|
}
|
639
756
|
)),
|
640
|
-
tailwind: (props) => /* @__PURE__ */
|
757
|
+
tailwind: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
641
758
|
"path",
|
642
759
|
{
|
643
760
|
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",
|
644
761
|
fill: "currentColor"
|
645
762
|
}
|
646
763
|
)),
|
647
|
-
google: (props) => /* @__PURE__ */
|
764
|
+
google: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
648
765
|
"path",
|
649
766
|
{
|
650
767
|
fill: "currentColor",
|
651
768
|
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"
|
652
769
|
}
|
653
770
|
)),
|
654
|
-
apple: (props) => /* @__PURE__ */
|
771
|
+
apple: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
655
772
|
"path",
|
656
773
|
{
|
657
774
|
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",
|
658
775
|
fill: "currentColor"
|
659
776
|
}
|
660
777
|
)),
|
661
|
-
paypal: (props) => /* @__PURE__ */
|
778
|
+
paypal: (props) => /* @__PURE__ */ import_react3.default.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ import_react3.default.createElement(
|
662
779
|
"path",
|
663
780
|
{
|
664
781
|
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",
|
665
782
|
fill: "currentColor"
|
666
783
|
}
|
667
784
|
)),
|
668
|
-
spinner: (props) => /* @__PURE__ */
|
785
|
+
spinner: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
669
786
|
"svg",
|
670
787
|
{
|
671
788
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -679,9 +796,9 @@ var Logos = {
|
|
679
796
|
strokeLinejoin: "round",
|
680
797
|
...props
|
681
798
|
},
|
682
|
-
/* @__PURE__ */
|
799
|
+
/* @__PURE__ */ import_react3.default.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
683
800
|
),
|
684
|
-
whatsapp: (props) => /* @__PURE__ */
|
801
|
+
whatsapp: (props) => /* @__PURE__ */ import_react3.default.createElement(
|
685
802
|
"svg",
|
686
803
|
{
|
687
804
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -689,18 +806,18 @@ var Logos = {
|
|
689
806
|
fill: "currentColor",
|
690
807
|
...props
|
691
808
|
},
|
692
|
-
/* @__PURE__ */
|
809
|
+
/* @__PURE__ */ import_react3.default.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" })
|
693
810
|
)
|
694
811
|
};
|
695
812
|
|
696
813
|
// elements/sheet/Sheet.tsx
|
697
|
-
var
|
814
|
+
var React6 = __toESM(require("react"));
|
698
815
|
var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"));
|
699
816
|
var import_class_variance_authority2 = require("class-variance-authority");
|
700
817
|
var Sheet = SheetPrimitive.Root;
|
701
818
|
var SheetTrigger = SheetPrimitive.Trigger;
|
702
819
|
var SheetPortal = SheetPrimitive.Portal;
|
703
|
-
var SheetOverlay =
|
820
|
+
var SheetOverlay = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
|
704
821
|
SheetPrimitive.Overlay,
|
705
822
|
{
|
706
823
|
className: cn(
|
@@ -727,8 +844,8 @@ var sheetVariants = (0, import_class_variance_authority2.cva)(
|
|
727
844
|
}
|
728
845
|
}
|
729
846
|
);
|
730
|
-
var SheetContent =
|
731
|
-
({ side = "right", className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */
|
847
|
+
var SheetContent = React6.forwardRef(
|
848
|
+
({ side = "right", className, children, persist, hideCloseButton, ...props }, ref) => /* @__PURE__ */ React6.createElement(SheetPortal, null, /* @__PURE__ */ React6.createElement(SheetOverlay, null), /* @__PURE__ */ React6.createElement(
|
732
849
|
SheetPrimitive.Content,
|
733
850
|
{
|
734
851
|
ref,
|
@@ -741,7 +858,7 @@ var SheetContent = React4.forwardRef(
|
|
741
858
|
...props
|
742
859
|
},
|
743
860
|
children,
|
744
|
-
!hideCloseButton && /* @__PURE__ */
|
861
|
+
!hideCloseButton && /* @__PURE__ */ React6.createElement(
|
745
862
|
SheetPrimitive.Close,
|
746
863
|
{
|
747
864
|
className: cn(
|
@@ -753,7 +870,7 @@ var SheetContent = React4.forwardRef(
|
|
753
870
|
}
|
754
871
|
)
|
755
872
|
},
|
756
|
-
/* @__PURE__ */
|
873
|
+
/* @__PURE__ */ React6.createElement(
|
757
874
|
"svg",
|
758
875
|
{
|
759
876
|
"aria-label": "Close Icon",
|
@@ -762,7 +879,7 @@ var SheetContent = React4.forwardRef(
|
|
762
879
|
fill: "currentColor",
|
763
880
|
viewBox: "0 0 20 20"
|
764
881
|
},
|
765
|
-
/* @__PURE__ */
|
882
|
+
/* @__PURE__ */ React6.createElement(
|
766
883
|
"path",
|
767
884
|
{
|
768
885
|
fillRule: "evenodd",
|
@@ -771,14 +888,14 @@ var SheetContent = React4.forwardRef(
|
|
771
888
|
}
|
772
889
|
)
|
773
890
|
),
|
774
|
-
/* @__PURE__ */
|
891
|
+
/* @__PURE__ */ React6.createElement("span", { className: "hawa-sr-only" }, "Close")
|
775
892
|
)
|
776
893
|
))
|
777
894
|
);
|
778
895
|
var SheetHeader = ({
|
779
896
|
className,
|
780
897
|
...props
|
781
|
-
}) => /* @__PURE__ */
|
898
|
+
}) => /* @__PURE__ */ React6.createElement(
|
782
899
|
"div",
|
783
900
|
{
|
784
901
|
className: cn(
|
@@ -791,7 +908,7 @@ var SheetHeader = ({
|
|
791
908
|
var SheetFooter = ({
|
792
909
|
className,
|
793
910
|
...props
|
794
|
-
}) => /* @__PURE__ */
|
911
|
+
}) => /* @__PURE__ */ React6.createElement(
|
795
912
|
"div",
|
796
913
|
{
|
797
914
|
className: cn(
|
@@ -801,7 +918,7 @@ var SheetFooter = ({
|
|
801
918
|
...props
|
802
919
|
}
|
803
920
|
);
|
804
|
-
var SheetTitle =
|
921
|
+
var SheetTitle = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
|
805
922
|
SheetPrimitive.Title,
|
806
923
|
{
|
807
924
|
ref,
|
@@ -812,7 +929,7 @@ var SheetTitle = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
812
929
|
...props
|
813
930
|
}
|
814
931
|
));
|
815
|
-
var SheetDescription =
|
932
|
+
var SheetDescription = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React6.createElement(
|
816
933
|
SheetPrimitive.Description,
|
817
934
|
{
|
818
935
|
ref,
|
@@ -828,10 +945,10 @@ SheetFooter.displayName = "SheetFooter";
|
|
828
945
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
829
946
|
|
830
947
|
// hooks/useBreakpoint.ts
|
831
|
-
var
|
948
|
+
var import_react4 = require("react");
|
832
949
|
var useBreakpoint = () => {
|
833
|
-
const [breakpoint, setBreakpoint] = (0,
|
834
|
-
(0,
|
950
|
+
const [breakpoint, setBreakpoint] = (0, import_react4.useState)(null);
|
951
|
+
(0, import_react4.useEffect)(() => {
|
835
952
|
if (typeof window !== "undefined") {
|
836
953
|
const resize = () => {
|
837
954
|
setBreakpoint(window.innerWidth);
|
@@ -847,13 +964,13 @@ var useBreakpoint = () => {
|
|
847
964
|
};
|
848
965
|
|
849
966
|
// layout/docsSidebar/DocsSidebar.tsx
|
850
|
-
var
|
967
|
+
var import_react5 = __toESM(require("react"));
|
851
968
|
var DocsSidebar = ({
|
852
969
|
currentPage: propCurrentPage,
|
853
970
|
pages,
|
854
971
|
direction
|
855
972
|
}) => {
|
856
|
-
const [activePage, setActivePage] =
|
973
|
+
const [activePage, setActivePage] = import_react5.default.useState(pages[0]);
|
857
974
|
const handlePageClick = (page, event) => {
|
858
975
|
event.preventDefault();
|
859
976
|
setTimeout(() => {
|
@@ -875,7 +992,7 @@ var DocsSidebar = ({
|
|
875
992
|
}
|
876
993
|
return pages[0];
|
877
994
|
};
|
878
|
-
|
995
|
+
import_react5.default.useEffect(() => {
|
879
996
|
const handleScroll = () => {
|
880
997
|
setActivePage(getCurrentSection());
|
881
998
|
};
|
@@ -888,13 +1005,13 @@ var DocsSidebar = ({
|
|
888
1005
|
rtl: "hawa-border-r-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200",
|
889
1006
|
ltr: "hawa-border-l-4 hawa-border-primary hawa-border-collapse hawa-bg-gray-200"
|
890
1007
|
};
|
891
|
-
return /* @__PURE__ */
|
1008
|
+
return /* @__PURE__ */ import_react5.default.createElement(
|
892
1009
|
"div",
|
893
1010
|
{
|
894
1011
|
className: "hawa-flex hawa-flex-col hawa-overflow-x-clip",
|
895
1012
|
dir: direction
|
896
1013
|
},
|
897
|
-
pages.map((page, index) => /* @__PURE__ */
|
1014
|
+
pages.map((page, index) => /* @__PURE__ */ import_react5.default.createElement(
|
898
1015
|
"div",
|
899
1016
|
{
|
900
1017
|
key: index,
|
@@ -934,15 +1051,15 @@ var DocsLayout = ({
|
|
934
1051
|
lg: closeDrawerWidth
|
935
1052
|
}
|
936
1053
|
};
|
937
|
-
const ref = (0,
|
1054
|
+
const ref = (0, import_react6.useRef)(null);
|
938
1055
|
const isRTL = direction === "rtl";
|
939
1056
|
let size = useBreakpoint();
|
940
1057
|
if (typeof window == "undefined") {
|
941
1058
|
size = 1200;
|
942
1059
|
}
|
943
|
-
const [currentPage, setCurrentPage] = (0,
|
944
|
-
const [openSideMenu, setOpenSideMenu] = (0,
|
945
|
-
(0,
|
1060
|
+
const [currentPage, setCurrentPage] = (0, import_react6.useState)("Introduction");
|
1061
|
+
const [openSideMenu, setOpenSideMenu] = (0, import_react6.useState)(true);
|
1062
|
+
(0, import_react6.useEffect)(() => {
|
946
1063
|
const handleClickOutside = (event) => {
|
947
1064
|
if (ref.current && !ref.current.contains(event.target) && !openSideMenu) {
|
948
1065
|
setOpenSideMenu(false);
|
@@ -953,7 +1070,7 @@ var DocsLayout = ({
|
|
953
1070
|
document.removeEventListener("click", handleClickOutside, true);
|
954
1071
|
};
|
955
1072
|
}, [openSideMenu]);
|
956
|
-
(0,
|
1073
|
+
(0, import_react6.useEffect)(() => {
|
957
1074
|
const handleResize = () => {
|
958
1075
|
setOpenSideMenu(window.innerWidth > 600 ? true : false);
|
959
1076
|
};
|
@@ -963,19 +1080,19 @@ var DocsLayout = ({
|
|
963
1080
|
window.removeEventListener("resize", handleResize);
|
964
1081
|
};
|
965
1082
|
}, [keepOpen]);
|
966
|
-
const observerRef =
|
1083
|
+
const observerRef = import_react6.default.useRef(null);
|
967
1084
|
const handleIntersection = (entries) => {
|
968
1085
|
const entry = entries.find((entry2) => entry2.isIntersecting);
|
969
1086
|
if (entry) {
|
970
1087
|
setCurrentPage(entry.target.id);
|
971
1088
|
}
|
972
1089
|
};
|
973
|
-
(0,
|
1090
|
+
(0, import_react6.useEffect)(() => {
|
974
1091
|
observerRef.current = new IntersectionObserver(handleIntersection, {
|
975
1092
|
threshold: 0.5
|
976
1093
|
// Adjust threshold as needed to determine when a section is in view
|
977
1094
|
});
|
978
|
-
|
1095
|
+
import_react6.default.Children.forEach(props.children, (child) => {
|
979
1096
|
if (child && child.props.id) {
|
980
1097
|
const element = document.getElementById(child.props.id);
|
981
1098
|
if (element && observerRef.current) {
|
@@ -990,7 +1107,7 @@ var DocsLayout = ({
|
|
990
1107
|
};
|
991
1108
|
}, [props.children]);
|
992
1109
|
let drawerSizeCondition = drawerSizeStyle[openSideMenu ? "opened" : "closed"][drawerSize];
|
993
|
-
return /* @__PURE__ */
|
1110
|
+
return /* @__PURE__ */ import_react6.default.createElement("div", { className: "hawa-fixed" }, /* @__PURE__ */ import_react6.default.createElement(
|
994
1111
|
"div",
|
995
1112
|
{
|
996
1113
|
className: cn(
|
@@ -998,7 +1115,7 @@ var DocsLayout = ({
|
|
998
1115
|
isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
|
999
1116
|
)
|
1000
1117
|
},
|
1001
|
-
size > 600 ? /* @__PURE__ */
|
1118
|
+
size > 600 ? /* @__PURE__ */ import_react6.default.createElement("div", { onClick: props.onLogoClick, dir: direction }, /* @__PURE__ */ import_react6.default.createElement(
|
1002
1119
|
"img",
|
1003
1120
|
{
|
1004
1121
|
className: cn(
|
@@ -1009,18 +1126,18 @@ var DocsLayout = ({
|
|
1009
1126
|
}
|
1010
1127
|
)) : (
|
1011
1128
|
// Mobile Drawer Menu Button
|
1012
|
-
/* @__PURE__ */
|
1129
|
+
/* @__PURE__ */ import_react6.default.createElement(
|
1013
1130
|
"div",
|
1014
1131
|
{
|
1015
1132
|
dir: direction,
|
1016
1133
|
className: "hawa-flex hawa-items-center hawa-justify-center hawa-gap-0.5"
|
1017
1134
|
},
|
1018
|
-
/* @__PURE__ */
|
1135
|
+
/* @__PURE__ */ import_react6.default.createElement(Sheet, null, /* @__PURE__ */ import_react6.default.createElement(SheetTrigger, null, " ", /* @__PURE__ */ import_react6.default.createElement(
|
1019
1136
|
"div",
|
1020
1137
|
{
|
1021
1138
|
className: "hawa-z-40 hawa-mx-1 hawa-cursor-pointer hawa-rounded hawa-p-2 hawa-transition-all hover:hawa-bg-gray-100"
|
1022
1139
|
},
|
1023
|
-
/* @__PURE__ */
|
1140
|
+
/* @__PURE__ */ import_react6.default.createElement(
|
1024
1141
|
"svg",
|
1025
1142
|
{
|
1026
1143
|
"aria-label": "Menu Icon",
|
@@ -1032,7 +1149,7 @@ var DocsLayout = ({
|
|
1032
1149
|
height: "1.6em",
|
1033
1150
|
width: "1.6em"
|
1034
1151
|
},
|
1035
|
-
/* @__PURE__ */
|
1152
|
+
/* @__PURE__ */ import_react6.default.createElement(
|
1036
1153
|
"path",
|
1037
1154
|
{
|
1038
1155
|
fillRule: "evenodd",
|
@@ -1041,17 +1158,17 @@ var DocsLayout = ({
|
|
1041
1158
|
}
|
1042
1159
|
)
|
1043
1160
|
)
|
1044
|
-
)), /* @__PURE__ */
|
1161
|
+
)), /* @__PURE__ */ import_react6.default.createElement(
|
1045
1162
|
SheetContent,
|
1046
1163
|
{
|
1047
1164
|
side: isRTL ? "right" : "left",
|
1048
1165
|
className: "hawa-pt-10"
|
1049
1166
|
},
|
1050
|
-
/* @__PURE__ */
|
1167
|
+
/* @__PURE__ */ import_react6.default.createElement(DocsSidebar, { direction, pages: pages || [] })
|
1051
1168
|
))
|
1052
1169
|
)
|
1053
1170
|
),
|
1054
|
-
/* @__PURE__ */
|
1171
|
+
/* @__PURE__ */ import_react6.default.createElement(
|
1055
1172
|
"div",
|
1056
1173
|
{
|
1057
1174
|
className: cn(
|
@@ -1059,9 +1176,9 @@ var DocsLayout = ({
|
|
1059
1176
|
isRTL ? "hawa-flex-row-reverse" : "hawa-flex-row"
|
1060
1177
|
)
|
1061
1178
|
},
|
1062
|
-
/* @__PURE__ */
|
1179
|
+
/* @__PURE__ */ import_react6.default.createElement(Button, { variant: "ghost", size: "smallIcon" }, /* @__PURE__ */ import_react6.default.createElement(Logos.github, { className: "hawa-icon" }))
|
1063
1180
|
)
|
1064
|
-
), /* @__PURE__ */
|
1181
|
+
), /* @__PURE__ */ import_react6.default.createElement(
|
1065
1182
|
"div",
|
1066
1183
|
{
|
1067
1184
|
className: cn(
|
@@ -1084,7 +1201,7 @@ var DocsLayout = ({
|
|
1084
1201
|
},
|
1085
1202
|
ref
|
1086
1203
|
},
|
1087
|
-
/* @__PURE__ */
|
1204
|
+
/* @__PURE__ */ import_react6.default.createElement(
|
1088
1205
|
DocsSidebar,
|
1089
1206
|
{
|
1090
1207
|
direction,
|
@@ -1092,7 +1209,7 @@ var DocsLayout = ({
|
|
1092
1209
|
currentPage
|
1093
1210
|
}
|
1094
1211
|
)
|
1095
|
-
), /* @__PURE__ */
|
1212
|
+
), /* @__PURE__ */ import_react6.default.createElement(
|
1096
1213
|
"div",
|
1097
1214
|
{
|
1098
1215
|
className: "hawa-fixed hawa-overflow-y-auto hawa-transition-all ",
|