@sikka/hawa 0.34.8-next → 0.35.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/{Radio-BpXOu4Hr.d.mts → Radio-BCD7k628.d.mts} +3 -0
- package/dist/{Radio-CREjhlGz.d.ts → Radio-y9uhxitu.d.ts} +3 -0
- package/dist/alert/index.js +28 -17
- package/dist/alert/index.js.map +1 -1
- package/dist/alert/index.mjs +61 -50
- package/dist/alert/index.mjs.map +1 -1
- package/dist/appLayout/index.js +81 -70
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +138 -127
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/backToTop/index.js +28 -17
- package/dist/backToTop/index.js.map +1 -1
- package/dist/backToTop/index.mjs +55 -44
- package/dist/backToTop/index.mjs.map +1 -1
- package/dist/blocks/auth/index.js +50 -39
- package/dist/blocks/auth/index.mjs +5 -5
- package/dist/blocks/feedback/index.d.mts +3 -0
- package/dist/blocks/feedback/index.d.ts +3 -0
- package/dist/blocks/feedback/index.js +174 -120
- package/dist/blocks/feedback/index.mjs +29 -93
- package/dist/blocks/index.d.mts +2 -1
- package/dist/blocks/index.d.ts +2 -1
- package/dist/blocks/index.js +253 -201
- package/dist/blocks/index.mjs +3 -3
- package/dist/blocks/misc/index.js +71 -60
- package/dist/blocks/misc/index.mjs +5 -5
- package/dist/blocks/pricing/index.js +154 -80
- package/dist/blocks/pricing/index.mjs +4 -4
- package/dist/button/index.d.mts +13 -0
- package/dist/button/index.d.ts +13 -0
- package/dist/button/index.js +28 -17
- package/dist/button/index.js.map +1 -1
- package/dist/button/index.mjs +51 -40
- package/dist/button/index.mjs.map +1 -1
- package/dist/calendar/index.js +34 -23
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/index.mjs +57 -46
- package/dist/calendar/index.mjs.map +1 -1
- package/dist/{chunk-GEB3LM5A.mjs → chunk-A376BKNX.mjs} +2 -2
- package/dist/{chunk-OS2UOK5C.mjs → chunk-DABX3SU6.mjs} +64 -51
- package/dist/{chunk-QPZ4ZR2B.mjs → chunk-DFWFQWWT.mjs} +155 -116
- package/dist/{chunk-UBNCETCU.mjs → chunk-GVZWOUGN.mjs} +1 -1
- package/dist/chunk-HHC34DXN.mjs +320 -0
- package/dist/{chunk-QVF3VLB7.mjs → chunk-IDKXEJET.mjs} +157 -144
- package/dist/{chunk-AW5FW5TY.mjs → chunk-L56XQRQI.mjs} +1 -1
- package/dist/{chunk-ORNLFAC6.mjs → chunk-XFRJ62W3.mjs} +1 -1
- package/dist/{chunk-RTGD7N7I.mjs → chunk-XJMDUR5A.mjs} +1 -1
- package/dist/{chunk-J7BT4XJR.mjs → chunk-YOT2GVXO.mjs} +1 -1
- package/dist/codeBlock/index.js +28 -17
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs +70 -59
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/colorPicker/index.js.map +1 -1
- package/dist/colorPicker/index.mjs.map +1 -1
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/dataTable/index.d.mts +1 -2
- package/dist/dataTable/index.d.ts +1 -2
- package/dist/dataTable/index.js +144 -105
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +178 -139
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/datePicker/index.d.mts +23 -5
- package/dist/datePicker/index.d.ts +23 -5
- package/dist/datePicker/index.js +46 -18
- package/dist/datePicker/index.js.map +1 -1
- package/dist/datePicker/index.mjs +46 -18
- package/dist/datePicker/index.mjs.map +1 -1
- package/dist/docsLayout/index.js +40 -29
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +135 -124
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +7 -3
- package/dist/elements/index.d.ts +7 -3
- package/dist/elements/index.js +475 -395
- package/dist/elements/index.mjs +32 -4
- package/dist/fileDropzone/index.js +28 -17
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs +89 -78
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/index.css +3 -0
- package/dist/index.d.mts +16 -9
- package/dist/index.d.ts +16 -9
- package/dist/index.js +515 -435
- package/dist/index.mjs +1204 -1124
- package/dist/input/index.js +1 -1
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs +1 -1
- package/dist/input/index.mjs.map +1 -1
- package/dist/interfaceSettings/index.js +85 -24
- package/dist/interfaceSettings/index.js.map +1 -1
- package/dist/interfaceSettings/index.mjs +107 -46
- package/dist/interfaceSettings/index.mjs.map +1 -1
- package/dist/layout/index.js +121 -110
- package/dist/layout/index.mjs +2 -2
- package/dist/passwordInput/index.js +1 -1
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +1 -1
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/radio/index.d.mts +3 -0
- package/dist/radio/index.d.ts +3 -0
- package/dist/radio/index.js +85 -24
- package/dist/radio/index.js.map +1 -1
- package/dist/radio/index.mjs +100 -39
- package/dist/radio/index.mjs.map +1 -1
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs.map +1 -1
- package/dist/simpleTable/index.js.map +1 -1
- package/dist/simpleTable/index.mjs.map +1 -1
- package/dist/skeleton/index.js.map +1 -1
- package/dist/skeleton/index.mjs.map +1 -1
- package/dist/sortButton/index.js +28 -17
- package/dist/sortButton/index.js.map +1 -1
- package/dist/sortButton/index.mjs +58 -47
- package/dist/sortButton/index.mjs.map +1 -1
- package/dist/splitButton/index.d.mts +12 -0
- package/dist/splitButton/index.d.ts +12 -0
- package/dist/splitButton/index.js +70 -59
- package/dist/splitButton/index.js.map +1 -1
- package/dist/splitButton/index.mjs +93 -82
- package/dist/splitButton/index.mjs.map +1 -1
- package/dist/stats/index.js.map +1 -1
- package/dist/stats/index.mjs.map +1 -1
- package/dist/textarea/index.js.map +1 -1
- package/dist/textarea/index.mjs.map +1 -1
- package/package.json +6 -6
- package/dist/chunk-IQEBXGLM.mjs +0 -215
@@ -1,7 +1,7 @@
|
|
1
1
|
"use client";
|
2
2
|
|
3
3
|
// elements/tooltip/Tooltip.tsx
|
4
|
-
import
|
4
|
+
import React2 from "react";
|
5
5
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
6
6
|
|
7
7
|
// util/index.ts
|
@@ -31,7 +31,7 @@ var calculateLuminance = (color) => {
|
|
31
31
|
};
|
32
32
|
|
33
33
|
// elements/tooltip/Tooltip.tsx
|
34
|
-
var TooltipContent =
|
34
|
+
var TooltipContent = React2.forwardRef(({ className, sideOffset = 4, size = "default", ...props }, ref) => /* @__PURE__ */ React2.createElement(
|
35
35
|
TooltipPrimitive.Content,
|
36
36
|
{
|
37
37
|
ref,
|
@@ -48,7 +48,7 @@ var TooltipContent = React.forwardRef(({ className, sideOffset = 4, size = "defa
|
|
48
48
|
}
|
49
49
|
));
|
50
50
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
51
|
-
var TooltipArrow =
|
51
|
+
var TooltipArrow = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React2.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
|
52
52
|
TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
|
53
53
|
var Tooltip = ({
|
54
54
|
side,
|
@@ -65,13 +65,13 @@ var Tooltip = ({
|
|
65
65
|
delayDuration = 300,
|
66
66
|
...props
|
67
67
|
}) => {
|
68
|
-
return /* @__PURE__ */
|
68
|
+
return /* @__PURE__ */ React2.createElement(
|
69
69
|
TooltipPrimitive.TooltipProvider,
|
70
70
|
{
|
71
71
|
delayDuration,
|
72
72
|
...providerProps
|
73
73
|
},
|
74
|
-
/* @__PURE__ */
|
74
|
+
/* @__PURE__ */ React2.createElement(
|
75
75
|
TooltipPrimitive.Root,
|
76
76
|
{
|
77
77
|
open: !disabled && open,
|
@@ -79,8 +79,8 @@ var Tooltip = ({
|
|
79
79
|
onOpenChange,
|
80
80
|
...props
|
81
81
|
},
|
82
|
-
/* @__PURE__ */
|
83
|
-
/* @__PURE__ */
|
82
|
+
/* @__PURE__ */ React2.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
|
83
|
+
/* @__PURE__ */ React2.createElement(
|
84
84
|
TooltipContent,
|
85
85
|
{
|
86
86
|
size,
|
@@ -100,8 +100,8 @@ var Tooltip = ({
|
|
100
100
|
};
|
101
101
|
|
102
102
|
// elements/label/Label.tsx
|
103
|
-
import * as
|
104
|
-
var Label =
|
103
|
+
import * as React3 from "react";
|
104
|
+
var Label = React3.forwardRef(({ className, hint, hintSide, required, children, ...props }, ref) => /* @__PURE__ */ React3.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-1 hawa-transition-all" }, /* @__PURE__ */ React3.createElement(
|
105
105
|
"label",
|
106
106
|
{
|
107
107
|
ref,
|
@@ -112,8 +112,8 @@ var Label = React2.forwardRef(({ className, hint, hintSide, required, children,
|
|
112
112
|
...props
|
113
113
|
},
|
114
114
|
children,
|
115
|
-
required && /* @__PURE__ */
|
116
|
-
), hint && /* @__PURE__ */
|
115
|
+
required && /* @__PURE__ */ React3.createElement("span", { className: "hawa-mx-0.5 hawa-text-red-500" }, "*")
|
116
|
+
), hint && /* @__PURE__ */ React3.createElement(
|
117
117
|
Tooltip,
|
118
118
|
{
|
119
119
|
content: hint,
|
@@ -123,7 +123,7 @@ var Label = React2.forwardRef(({ className, hint, hintSide, required, children,
|
|
123
123
|
onClick: (event) => event.preventDefault()
|
124
124
|
}
|
125
125
|
},
|
126
|
-
/* @__PURE__ */
|
126
|
+
/* @__PURE__ */ React3.createElement("div", null, /* @__PURE__ */ React3.createElement(
|
127
127
|
"svg",
|
128
128
|
{
|
129
129
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -135,15 +135,15 @@ var Label = React2.forwardRef(({ className, hint, hintSide, required, children,
|
|
135
135
|
strokeLinecap: "round",
|
136
136
|
strokeLinejoin: "round"
|
137
137
|
},
|
138
|
-
/* @__PURE__ */
|
139
|
-
/* @__PURE__ */
|
140
|
-
/* @__PURE__ */
|
138
|
+
/* @__PURE__ */ React3.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
139
|
+
/* @__PURE__ */ React3.createElement("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
|
140
|
+
/* @__PURE__ */ React3.createElement("path", { d: "M12 17h.01" })
|
141
141
|
))
|
142
142
|
)));
|
143
143
|
Label.displayName = "Label";
|
144
144
|
|
145
145
|
// elements/loading/Loading.tsx
|
146
|
-
import
|
146
|
+
import React4 from "react";
|
147
147
|
var Loading = ({
|
148
148
|
design = "spinner",
|
149
149
|
size = "normal",
|
@@ -174,7 +174,7 @@ var Loading = ({
|
|
174
174
|
};
|
175
175
|
switch (design.split("-")[0]) {
|
176
176
|
case "dots":
|
177
|
-
return /* @__PURE__ */
|
177
|
+
return /* @__PURE__ */ React4.createElement(
|
178
178
|
"div",
|
179
179
|
{
|
180
180
|
className: cn(
|
@@ -182,7 +182,7 @@ var Loading = ({
|
|
182
182
|
classNames == null ? void 0 : classNames.container
|
183
183
|
)
|
184
184
|
},
|
185
|
-
/* @__PURE__ */
|
185
|
+
/* @__PURE__ */ React4.createElement(
|
186
186
|
"div",
|
187
187
|
{
|
188
188
|
className: cn(
|
@@ -193,7 +193,7 @@ var Loading = ({
|
|
193
193
|
)
|
194
194
|
}
|
195
195
|
),
|
196
|
-
/* @__PURE__ */
|
196
|
+
/* @__PURE__ */ React4.createElement(
|
197
197
|
"div",
|
198
198
|
{
|
199
199
|
className: cn(
|
@@ -204,7 +204,7 @@ var Loading = ({
|
|
204
204
|
)
|
205
205
|
}
|
206
206
|
),
|
207
|
-
/* @__PURE__ */
|
207
|
+
/* @__PURE__ */ React4.createElement(
|
208
208
|
"div",
|
209
209
|
{
|
210
210
|
className: cn(
|
@@ -217,7 +217,7 @@ var Loading = ({
|
|
217
217
|
)
|
218
218
|
);
|
219
219
|
case "square":
|
220
|
-
return /* @__PURE__ */
|
220
|
+
return /* @__PURE__ */ React4.createElement(
|
221
221
|
"svg",
|
222
222
|
{
|
223
223
|
className: cn(
|
@@ -229,7 +229,7 @@ var Loading = ({
|
|
229
229
|
height: "35",
|
230
230
|
width: "35"
|
231
231
|
},
|
232
|
-
/* @__PURE__ */
|
232
|
+
/* @__PURE__ */ React4.createElement(
|
233
233
|
"rect",
|
234
234
|
{
|
235
235
|
className: "squircle-track",
|
@@ -241,7 +241,7 @@ var Loading = ({
|
|
241
241
|
height: "32.5"
|
242
242
|
}
|
243
243
|
),
|
244
|
-
/* @__PURE__ */
|
244
|
+
/* @__PURE__ */ React4.createElement(
|
245
245
|
"rect",
|
246
246
|
{
|
247
247
|
className: "square-car",
|
@@ -256,7 +256,7 @@ var Loading = ({
|
|
256
256
|
)
|
257
257
|
);
|
258
258
|
case "squircle":
|
259
|
-
return /* @__PURE__ */
|
259
|
+
return /* @__PURE__ */ React4.createElement(
|
260
260
|
"svg",
|
261
261
|
{
|
262
262
|
x: "0px",
|
@@ -271,7 +271,7 @@ var Loading = ({
|
|
271
271
|
classNames == null ? void 0 : classNames.container
|
272
272
|
)
|
273
273
|
},
|
274
|
-
/* @__PURE__ */
|
274
|
+
/* @__PURE__ */ React4.createElement(
|
275
275
|
"path",
|
276
276
|
{
|
277
277
|
className: cn("squircle-track", classNames == null ? void 0 : classNames.track),
|
@@ -281,7 +281,7 @@ var Loading = ({
|
|
281
281
|
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"
|
282
282
|
}
|
283
283
|
),
|
284
|
-
/* @__PURE__ */
|
284
|
+
/* @__PURE__ */ React4.createElement(
|
285
285
|
"path",
|
286
286
|
{
|
287
287
|
className: cn("squircle-car", classNames == null ? void 0 : classNames.car),
|
@@ -293,7 +293,7 @@ var Loading = ({
|
|
293
293
|
)
|
294
294
|
);
|
295
295
|
case "progress":
|
296
|
-
return /* @__PURE__ */
|
296
|
+
return /* @__PURE__ */ React4.createElement(
|
297
297
|
"div",
|
298
298
|
{
|
299
299
|
className: cn(
|
@@ -304,9 +304,9 @@ var Loading = ({
|
|
304
304
|
}
|
305
305
|
);
|
306
306
|
case "orbit":
|
307
|
-
return /* @__PURE__ */
|
307
|
+
return /* @__PURE__ */ React4.createElement("div", { className: cn("orbit-container", classNames == null ? void 0 : classNames.container) });
|
308
308
|
default:
|
309
|
-
return /* @__PURE__ */
|
309
|
+
return /* @__PURE__ */ React4.createElement(
|
310
310
|
"svg",
|
311
311
|
{
|
312
312
|
viewBox: "0 0 40 40",
|
@@ -318,7 +318,7 @@ var Loading = ({
|
|
318
318
|
classNames == null ? void 0 : classNames.container
|
319
319
|
)
|
320
320
|
},
|
321
|
-
/* @__PURE__ */
|
321
|
+
/* @__PURE__ */ React4.createElement(
|
322
322
|
"circle",
|
323
323
|
{
|
324
324
|
className: cn(
|
@@ -337,7 +337,7 @@ var Loading = ({
|
|
337
337
|
pathLength: "100"
|
338
338
|
}
|
339
339
|
),
|
340
|
-
/* @__PURE__ */
|
340
|
+
/* @__PURE__ */ React4.createElement(
|
341
341
|
"circle",
|
342
342
|
{
|
343
343
|
className: cn(
|
@@ -361,8 +361,22 @@ var Loading = ({
|
|
361
361
|
};
|
362
362
|
|
363
363
|
// elements/button/Button.tsx
|
364
|
-
import * as
|
364
|
+
import * as React5 from "react";
|
365
365
|
import { cva } from "class-variance-authority";
|
366
|
+
|
367
|
+
// elements/helperText/HelperText.tsx
|
368
|
+
var HelperText = ({ helperText }) => /* @__PURE__ */ React.createElement(
|
369
|
+
"p",
|
370
|
+
{
|
371
|
+
className: cn(
|
372
|
+
"hawa-my-0 hawa-text-start hawa-text-xs hawa-text-helper-color hawa-transition-all",
|
373
|
+
helperText ? "hawa-h-4 hawa-opacity-100" : "hawa-h-0 hawa-opacity-0"
|
374
|
+
)
|
375
|
+
},
|
376
|
+
helperText
|
377
|
+
);
|
378
|
+
|
379
|
+
// elements/button/Button.tsx
|
366
380
|
var buttonVariants = cva(
|
367
381
|
"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",
|
368
382
|
{
|
@@ -390,13 +404,10 @@ var buttonVariants = cva(
|
|
390
404
|
smallIcon: "hawa-h-7 hawa-w-7"
|
391
405
|
}
|
392
406
|
},
|
393
|
-
defaultVariants: {
|
394
|
-
variant: "default",
|
395
|
-
size: "default"
|
396
|
-
}
|
407
|
+
defaultVariants: { variant: "default", size: "default" }
|
397
408
|
}
|
398
409
|
);
|
399
|
-
var Button =
|
410
|
+
var Button = React5.forwardRef(
|
400
411
|
({
|
401
412
|
className,
|
402
413
|
label,
|
@@ -406,11 +417,13 @@ var Button = React4.forwardRef(
|
|
406
417
|
centered = true,
|
407
418
|
isLoading,
|
408
419
|
children,
|
420
|
+
labelProps,
|
421
|
+
showHelperText = false,
|
409
422
|
...props
|
410
423
|
}, ref) => {
|
411
424
|
const Comp = "button";
|
412
425
|
const loadingColor = variant === "outline" || variant === "ghost" || variant === "neoBrutalism" ? "hawa-bg-primary" : "hawa-bg-primary-foreground";
|
413
|
-
return /* @__PURE__ */
|
426
|
+
return /* @__PURE__ */ React5.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, label && /* @__PURE__ */ React5.createElement(Label, { ...labelProps }, label), /* @__PURE__ */ React5.createElement(
|
414
427
|
Comp,
|
415
428
|
{
|
416
429
|
className: cn(
|
@@ -420,7 +433,7 @@ var Button = React4.forwardRef(
|
|
420
433
|
ref,
|
421
434
|
...props
|
422
435
|
},
|
423
|
-
isLoading ? /* @__PURE__ */
|
436
|
+
isLoading ? /* @__PURE__ */ React5.createElement(
|
424
437
|
Loading,
|
425
438
|
{
|
426
439
|
design: size === "icon" || size === "smallIcon" ? "spinner" : "dots-pulse",
|
@@ -429,15 +442,15 @@ var Button = React4.forwardRef(
|
|
429
442
|
size: size === "sm" || size === "xs" ? "xs" : "button"
|
430
443
|
}
|
431
444
|
) : children
|
432
|
-
));
|
445
|
+
), showHelperText && /* @__PURE__ */ React5.createElement(HelperText, { helperText: props.helperText }));
|
433
446
|
}
|
434
447
|
);
|
435
448
|
Button.displayName = "Button";
|
436
449
|
|
437
450
|
// elements/logos/Logos.tsx
|
438
|
-
import
|
451
|
+
import React6 from "react";
|
439
452
|
var Logos = {
|
440
|
-
metamask: (props) => /* @__PURE__ */
|
453
|
+
metamask: (props) => /* @__PURE__ */ React6.createElement(
|
441
454
|
"svg",
|
442
455
|
{
|
443
456
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -448,8 +461,8 @@ var Logos = {
|
|
448
461
|
viewBox: "0 0 318.6 318.6",
|
449
462
|
...props
|
450
463
|
},
|
451
|
-
/* @__PURE__ */
|
452
|
-
/* @__PURE__ */
|
464
|
+
/* @__PURE__ */ React6.createElement("style", null, ".st1,.st6{fill:#e4761b;stroke:#e4761b;stroke-linecap:round;stroke-linejoin:round}.st6{fill:#f6851b;stroke:#f6851b}"),
|
465
|
+
/* @__PURE__ */ React6.createElement(
|
453
466
|
"path",
|
454
467
|
{
|
455
468
|
fill: "#e2761b",
|
@@ -459,21 +472,21 @@ var Logos = {
|
|
459
472
|
d: "m274.1 35.5-99.5 73.9L193 65.8z"
|
460
473
|
}
|
461
474
|
),
|
462
|
-
/* @__PURE__ */
|
475
|
+
/* @__PURE__ */ React6.createElement(
|
463
476
|
"path",
|
464
477
|
{
|
465
478
|
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",
|
466
479
|
className: "st1"
|
467
480
|
}
|
468
481
|
),
|
469
|
-
/* @__PURE__ */
|
482
|
+
/* @__PURE__ */ React6.createElement(
|
470
483
|
"path",
|
471
484
|
{
|
472
485
|
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",
|
473
486
|
className: "st1"
|
474
487
|
}
|
475
488
|
),
|
476
|
-
/* @__PURE__ */
|
489
|
+
/* @__PURE__ */ React6.createElement(
|
477
490
|
"path",
|
478
491
|
{
|
479
492
|
fill: "#d7c1b3",
|
@@ -483,7 +496,7 @@ var Logos = {
|
|
483
496
|
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"
|
484
497
|
}
|
485
498
|
),
|
486
|
-
/* @__PURE__ */
|
499
|
+
/* @__PURE__ */ React6.createElement(
|
487
500
|
"path",
|
488
501
|
{
|
489
502
|
fill: "#233447",
|
@@ -493,7 +506,7 @@ var Logos = {
|
|
493
506
|
d: "m138.8 193.5-28.2-8.3 19.9-9.1zm40.9 0 8.3-17.4 20 9.1z"
|
494
507
|
}
|
495
508
|
),
|
496
|
-
/* @__PURE__ */
|
509
|
+
/* @__PURE__ */ React6.createElement(
|
497
510
|
"path",
|
498
511
|
{
|
499
512
|
fill: "#cd6116",
|
@@ -503,7 +516,7 @@ var Logos = {
|
|
503
516
|
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"
|
504
517
|
}
|
505
518
|
),
|
506
|
-
/* @__PURE__ */
|
519
|
+
/* @__PURE__ */ React6.createElement(
|
507
520
|
"path",
|
508
521
|
{
|
509
522
|
fill: "#e4751f",
|
@@ -513,14 +526,14 @@ var Logos = {
|
|
513
526
|
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"
|
514
527
|
}
|
515
528
|
),
|
516
|
-
/* @__PURE__ */
|
529
|
+
/* @__PURE__ */ React6.createElement(
|
517
530
|
"path",
|
518
531
|
{
|
519
532
|
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",
|
520
533
|
className: "st6"
|
521
534
|
}
|
522
535
|
),
|
523
|
-
/* @__PURE__ */
|
536
|
+
/* @__PURE__ */ React6.createElement(
|
524
537
|
"path",
|
525
538
|
{
|
526
539
|
fill: "#c0ad9e",
|
@@ -530,7 +543,7 @@ var Logos = {
|
|
530
543
|
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"
|
531
544
|
}
|
532
545
|
),
|
533
|
-
/* @__PURE__ */
|
546
|
+
/* @__PURE__ */ React6.createElement(
|
534
547
|
"path",
|
535
548
|
{
|
536
549
|
fill: "#161616",
|
@@ -540,7 +553,7 @@ var Logos = {
|
|
540
553
|
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"
|
541
554
|
}
|
542
555
|
),
|
543
|
-
/* @__PURE__ */
|
556
|
+
/* @__PURE__ */ React6.createElement(
|
544
557
|
"path",
|
545
558
|
{
|
546
559
|
fill: "#763d16",
|
@@ -550,7 +563,7 @@ var Logos = {
|
|
550
563
|
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"
|
551
564
|
}
|
552
565
|
),
|
553
|
-
/* @__PURE__ */
|
566
|
+
/* @__PURE__ */ React6.createElement(
|
554
567
|
"path",
|
555
568
|
{
|
556
569
|
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",
|
@@ -558,7 +571,7 @@ var Logos = {
|
|
558
571
|
}
|
559
572
|
)
|
560
573
|
),
|
561
|
-
nafath: (props) => /* @__PURE__ */
|
574
|
+
nafath: (props) => /* @__PURE__ */ React6.createElement(
|
562
575
|
"svg",
|
563
576
|
{
|
564
577
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -569,15 +582,15 @@ var Logos = {
|
|
569
582
|
viewBox: "22.5 44.5 535.6 230.34",
|
570
583
|
...props
|
571
584
|
},
|
572
|
-
/* @__PURE__ */
|
573
|
-
/* @__PURE__ */
|
585
|
+
/* @__PURE__ */ React6.createElement("style", null, ".st0{fill:#0a9a8f}"),
|
586
|
+
/* @__PURE__ */ React6.createElement(
|
574
587
|
"path",
|
575
588
|
{
|
576
589
|
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",
|
577
590
|
className: "st0"
|
578
591
|
}
|
579
592
|
),
|
580
|
-
/* @__PURE__ */
|
593
|
+
/* @__PURE__ */ React6.createElement(
|
581
594
|
"path",
|
582
595
|
{
|
583
596
|
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",
|
@@ -585,7 +598,7 @@ var Logos = {
|
|
585
598
|
}
|
586
599
|
)
|
587
600
|
),
|
588
|
-
hawa: (props) => /* @__PURE__ */
|
601
|
+
hawa: (props) => /* @__PURE__ */ React6.createElement(
|
589
602
|
"svg",
|
590
603
|
{
|
591
604
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -593,7 +606,7 @@ var Logos = {
|
|
593
606
|
viewBox: "0 0 765 765",
|
594
607
|
...props
|
595
608
|
},
|
596
|
-
/* @__PURE__ */
|
609
|
+
/* @__PURE__ */ React6.createElement(
|
597
610
|
"path",
|
598
611
|
{
|
599
612
|
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",
|
@@ -601,7 +614,7 @@ var Logos = {
|
|
601
614
|
}
|
602
615
|
)
|
603
616
|
),
|
604
|
-
sikka: (props) => /* @__PURE__ */
|
617
|
+
sikka: (props) => /* @__PURE__ */ React6.createElement(
|
605
618
|
"svg",
|
606
619
|
{
|
607
620
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -611,11 +624,11 @@ var Logos = {
|
|
611
624
|
fill: "currentColor",
|
612
625
|
...props
|
613
626
|
},
|
614
|
-
/* @__PURE__ */
|
615
|
-
/* @__PURE__ */
|
616
|
-
/* @__PURE__ */
|
627
|
+
/* @__PURE__ */ React6.createElement("defs", null, /* @__PURE__ */ React6.createElement("path", { id: "a", d: "M0 0h916.5v765H0z" })),
|
628
|
+
/* @__PURE__ */ React6.createElement("clipPath", { id: "b" }, /* @__PURE__ */ React6.createElement("use", { xlinkHref: "#a", overflow: "visible" })),
|
629
|
+
/* @__PURE__ */ React6.createElement("g", { clipPath: "url(#b)" }, /* @__PURE__ */ React6.createElement("defs", null, /* @__PURE__ */ React6.createElement("path", { id: "c", d: "M0 0h916.5v765H0z" })), /* @__PURE__ */ React6.createElement("clipPath", { id: "d" }, /* @__PURE__ */ React6.createElement("use", { xlinkHref: "#c", overflow: "visible" })), /* @__PURE__ */ React6.createElement("g", { clipPath: "url(#d)" }, /* @__PURE__ */ React6.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" })))
|
617
630
|
),
|
618
|
-
mail: (props) => /* @__PURE__ */
|
631
|
+
mail: (props) => /* @__PURE__ */ React6.createElement(
|
619
632
|
"svg",
|
620
633
|
{
|
621
634
|
stroke: "currentColor",
|
@@ -627,10 +640,10 @@ var Logos = {
|
|
627
640
|
xmlns: "http://www.w3.org/2000/svg",
|
628
641
|
...props
|
629
642
|
},
|
630
|
-
/* @__PURE__ */
|
631
|
-
/* @__PURE__ */
|
643
|
+
/* @__PURE__ */ React6.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" }),
|
644
|
+
/* @__PURE__ */ React6.createElement("polyline", { points: "22,6 12,13 2,6" })
|
632
645
|
),
|
633
|
-
phone: (props) => /* @__PURE__ */
|
646
|
+
phone: (props) => /* @__PURE__ */ React6.createElement(
|
634
647
|
"svg",
|
635
648
|
{
|
636
649
|
stroke: "currentColor",
|
@@ -641,7 +654,7 @@ var Logos = {
|
|
641
654
|
xmlns: "http://www.w3.org/2000/svg",
|
642
655
|
...props
|
643
656
|
},
|
644
|
-
/* @__PURE__ */
|
657
|
+
/* @__PURE__ */ React6.createElement(
|
645
658
|
"path",
|
646
659
|
{
|
647
660
|
strokeLinecap: "round",
|
@@ -650,14 +663,14 @@ var Logos = {
|
|
650
663
|
}
|
651
664
|
)
|
652
665
|
),
|
653
|
-
twitter: (props) => /* @__PURE__ */
|
666
|
+
twitter: (props) => /* @__PURE__ */ React6.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React6.createElement(
|
654
667
|
"path",
|
655
668
|
{
|
656
669
|
fill: "currentColor",
|
657
670
|
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"
|
658
671
|
}
|
659
672
|
)),
|
660
|
-
instagram: (props) => /* @__PURE__ */
|
673
|
+
instagram: (props) => /* @__PURE__ */ React6.createElement(
|
661
674
|
"svg",
|
662
675
|
{
|
663
676
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -665,23 +678,23 @@ var Logos = {
|
|
665
678
|
viewBox: "0 0 16 16",
|
666
679
|
...props
|
667
680
|
},
|
668
|
-
/* @__PURE__ */
|
681
|
+
/* @__PURE__ */ React6.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" })
|
669
682
|
),
|
670
|
-
microsoft: (props) => /* @__PURE__ */
|
683
|
+
microsoft: (props) => /* @__PURE__ */ React6.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...props }, /* @__PURE__ */ React6.createElement(
|
671
684
|
"path",
|
672
685
|
{
|
673
686
|
fill: "currentColor",
|
674
687
|
d: "M7.462 0H0v7.19h7.462V0zM16 0H8.538v7.19H16V0zM7.462 8.211H0V16h7.462V8.211zm8.538 0H8.538V16H16V8.211z"
|
675
688
|
}
|
676
689
|
)),
|
677
|
-
github: (props) => /* @__PURE__ */
|
690
|
+
github: (props) => /* @__PURE__ */ React6.createElement(
|
678
691
|
"svg",
|
679
692
|
{
|
680
693
|
xmlns: "http://www.w3.org/2000/svg",
|
681
694
|
viewBox: "0 0 438.549 438.549",
|
682
695
|
...props
|
683
696
|
},
|
684
|
-
/* @__PURE__ */
|
697
|
+
/* @__PURE__ */ React6.createElement(
|
685
698
|
"path",
|
686
699
|
{
|
687
700
|
fill: "currentColor",
|
@@ -689,77 +702,77 @@ var Logos = {
|
|
689
702
|
}
|
690
703
|
)
|
691
704
|
),
|
692
|
-
radix: (props) => /* @__PURE__ */
|
705
|
+
radix: (props) => /* @__PURE__ */ React6.createElement("svg", { viewBox: "0 0 25 25", fill: "none", ...props }, /* @__PURE__ */ React6.createElement(
|
693
706
|
"path",
|
694
707
|
{
|
695
708
|
d: "M12 25C7.58173 25 4 21.4183 4 17C4 12.5817 7.58173 9 12 9V25Z",
|
696
709
|
fill: "currentcolor"
|
697
710
|
}
|
698
|
-
), /* @__PURE__ */
|
711
|
+
), /* @__PURE__ */ React6.createElement("path", { d: "M12 0H4V8H12V0Z", fill: "currentcolor" }), /* @__PURE__ */ React6.createElement(
|
699
712
|
"path",
|
700
713
|
{
|
701
714
|
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",
|
702
715
|
fill: "currentcolor"
|
703
716
|
}
|
704
717
|
)),
|
705
|
-
aria: (props) => /* @__PURE__ */
|
706
|
-
npm: (props) => /* @__PURE__ */
|
718
|
+
aria: (props) => /* @__PURE__ */ React6.createElement("svg", { role: "img", viewBox: "0 0 24 24", fill: "currentColor", ...props }, /* @__PURE__ */ React6.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" })),
|
719
|
+
npm: (props) => /* @__PURE__ */ React6.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React6.createElement(
|
707
720
|
"path",
|
708
721
|
{
|
709
722
|
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",
|
710
723
|
fill: "currentColor"
|
711
724
|
}
|
712
725
|
)),
|
713
|
-
yarn: (props) => /* @__PURE__ */
|
726
|
+
yarn: (props) => /* @__PURE__ */ React6.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React6.createElement(
|
714
727
|
"path",
|
715
728
|
{
|
716
729
|
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",
|
717
730
|
fill: "currentColor"
|
718
731
|
}
|
719
732
|
)),
|
720
|
-
pnpm: (props) => /* @__PURE__ */
|
733
|
+
pnpm: (props) => /* @__PURE__ */ React6.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React6.createElement(
|
721
734
|
"path",
|
722
735
|
{
|
723
736
|
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",
|
724
737
|
fill: "currentColor"
|
725
738
|
}
|
726
739
|
)),
|
727
|
-
react: (props) => /* @__PURE__ */
|
740
|
+
react: (props) => /* @__PURE__ */ React6.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React6.createElement(
|
728
741
|
"path",
|
729
742
|
{
|
730
743
|
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",
|
731
744
|
fill: "currentColor"
|
732
745
|
}
|
733
746
|
)),
|
734
|
-
tailwind: (props) => /* @__PURE__ */
|
747
|
+
tailwind: (props) => /* @__PURE__ */ React6.createElement("svg", { viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React6.createElement(
|
735
748
|
"path",
|
736
749
|
{
|
737
750
|
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",
|
738
751
|
fill: "currentColor"
|
739
752
|
}
|
740
753
|
)),
|
741
|
-
google: (props) => /* @__PURE__ */
|
754
|
+
google: (props) => /* @__PURE__ */ React6.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React6.createElement(
|
742
755
|
"path",
|
743
756
|
{
|
744
757
|
fill: "currentColor",
|
745
758
|
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"
|
746
759
|
}
|
747
760
|
)),
|
748
|
-
apple: (props) => /* @__PURE__ */
|
761
|
+
apple: (props) => /* @__PURE__ */ React6.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React6.createElement(
|
749
762
|
"path",
|
750
763
|
{
|
751
764
|
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",
|
752
765
|
fill: "currentColor"
|
753
766
|
}
|
754
767
|
)),
|
755
|
-
paypal: (props) => /* @__PURE__ */
|
768
|
+
paypal: (props) => /* @__PURE__ */ React6.createElement("svg", { role: "img", viewBox: "0 0 24 24", ...props }, /* @__PURE__ */ React6.createElement(
|
756
769
|
"path",
|
757
770
|
{
|
758
771
|
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",
|
759
772
|
fill: "currentColor"
|
760
773
|
}
|
761
774
|
)),
|
762
|
-
spinner: (props) => /* @__PURE__ */
|
775
|
+
spinner: (props) => /* @__PURE__ */ React6.createElement(
|
763
776
|
"svg",
|
764
777
|
{
|
765
778
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -773,9 +786,9 @@ var Logos = {
|
|
773
786
|
strokeLinejoin: "round",
|
774
787
|
...props
|
775
788
|
},
|
776
|
-
/* @__PURE__ */
|
789
|
+
/* @__PURE__ */ React6.createElement("path", { d: "M21 12a9 9 0 1 1-6.219-8.56" })
|
777
790
|
),
|
778
|
-
whatsapp: (props) => /* @__PURE__ */
|
791
|
+
whatsapp: (props) => /* @__PURE__ */ React6.createElement(
|
779
792
|
"svg",
|
780
793
|
{
|
781
794
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -783,13 +796,13 @@ var Logos = {
|
|
783
796
|
fill: "currentColor",
|
784
797
|
...props
|
785
798
|
},
|
786
|
-
/* @__PURE__ */
|
799
|
+
/* @__PURE__ */ React6.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" })
|
787
800
|
)
|
788
801
|
};
|
789
802
|
|
790
803
|
// elements/card/Card.tsx
|
791
|
-
import * as
|
792
|
-
var Card =
|
804
|
+
import * as React7 from "react";
|
805
|
+
var Card = React7.forwardRef(
|
793
806
|
({
|
794
807
|
className,
|
795
808
|
variant = "default",
|
@@ -808,7 +821,7 @@ var Card = React6.forwardRef(
|
|
808
821
|
clickable && "hawa-cursor-pointer active:hawa-translate-x-0.5 active:hawa-translate-y-0.5 active:hawa-shadow-color-primary-active active:translate-x-0.5 active:translate-y-0.5 active:shadow-color-primary-active"
|
809
822
|
)
|
810
823
|
};
|
811
|
-
return /* @__PURE__ */
|
824
|
+
return /* @__PURE__ */ React7.createElement(
|
812
825
|
"div",
|
813
826
|
{
|
814
827
|
ref,
|
@@ -818,7 +831,7 @@ var Card = React6.forwardRef(
|
|
818
831
|
);
|
819
832
|
}
|
820
833
|
);
|
821
|
-
var CardHeader =
|
834
|
+
var CardHeader = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React7.createElement(
|
822
835
|
"div",
|
823
836
|
{
|
824
837
|
ref,
|
@@ -829,7 +842,7 @@ var CardHeader = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
829
842
|
...props
|
830
843
|
}
|
831
844
|
));
|
832
|
-
var CardTitle =
|
845
|
+
var CardTitle = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React7.createElement(
|
833
846
|
"h3",
|
834
847
|
{
|
835
848
|
ref,
|
@@ -837,7 +850,7 @@ var CardTitle = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
837
850
|
...props
|
838
851
|
}
|
839
852
|
));
|
840
|
-
var CardDescription =
|
853
|
+
var CardDescription = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React7.createElement(
|
841
854
|
"p",
|
842
855
|
{
|
843
856
|
ref,
|
@@ -845,8 +858,8 @@ var CardDescription = React6.forwardRef(({ className, ...props }, ref) => /* @__
|
|
845
858
|
...props
|
846
859
|
}
|
847
860
|
));
|
848
|
-
var CardContent =
|
849
|
-
({ headless, noPadding, className, ...props }, ref) => /* @__PURE__ */
|
861
|
+
var CardContent = React7.forwardRef(
|
862
|
+
({ headless, noPadding, className, ...props }, ref) => /* @__PURE__ */ React7.createElement(
|
850
863
|
"div",
|
851
864
|
{
|
852
865
|
ref,
|
@@ -859,7 +872,7 @@ var CardContent = React6.forwardRef(
|
|
859
872
|
}
|
860
873
|
)
|
861
874
|
);
|
862
|
-
var CardFooter =
|
875
|
+
var CardFooter = React7.forwardRef(({ className, noPadding, ...props }, ref) => /* @__PURE__ */ React7.createElement(
|
863
876
|
"div",
|
864
877
|
{
|
865
878
|
ref,
|
@@ -879,7 +892,7 @@ CardTitle.displayName = "CardTitle";
|
|
879
892
|
Card.displayName = "Card";
|
880
893
|
|
881
894
|
// elements/skeleton/Skeleton.tsx
|
882
|
-
import
|
895
|
+
import React8 from "react";
|
883
896
|
function Skeleton({
|
884
897
|
className,
|
885
898
|
content,
|
@@ -898,7 +911,7 @@ function Skeleton({
|
|
898
911
|
right: "hawa-mask-fade-right",
|
899
912
|
left: "hawa-mask-fade-left "
|
900
913
|
};
|
901
|
-
return /* @__PURE__ */
|
914
|
+
return /* @__PURE__ */ React8.createElement(
|
902
915
|
"div",
|
903
916
|
{
|
904
917
|
className: cn(
|
@@ -914,8 +927,8 @@ function Skeleton({
|
|
914
927
|
}
|
915
928
|
|
916
929
|
// elements/chip/Chip.tsx
|
917
|
-
import
|
918
|
-
var Chip =
|
930
|
+
import React9 from "react";
|
931
|
+
var Chip = React9.forwardRef(
|
919
932
|
({
|
920
933
|
label,
|
921
934
|
size = "normal",
|
@@ -957,7 +970,7 @@ var Chip = React8.forwardRef(
|
|
957
970
|
oceanic: "hawa-text-white dark:hawa-text-black hawa-bg-gradient-to-bl hawa-from-green-300 hawa-via-blue-500 hawa-to-purple-600"
|
958
971
|
};
|
959
972
|
if (label) {
|
960
|
-
return /* @__PURE__ */
|
973
|
+
return /* @__PURE__ */ React9.createElement(
|
961
974
|
"span",
|
962
975
|
{
|
963
976
|
...rest,
|
@@ -969,7 +982,7 @@ var Chip = React8.forwardRef(
|
|
969
982
|
color ? colorStyles[color] : "hawa-border hawa-bg-none"
|
970
983
|
)
|
971
984
|
},
|
972
|
-
dotType && /* @__PURE__ */
|
985
|
+
dotType && /* @__PURE__ */ React9.createElement(
|
973
986
|
"span",
|
974
987
|
{
|
975
988
|
className: cn(dotStyles[size], dotTypeStyles[dotType])
|
@@ -979,7 +992,7 @@ var Chip = React8.forwardRef(
|
|
979
992
|
label
|
980
993
|
);
|
981
994
|
} else {
|
982
|
-
return /* @__PURE__ */
|
995
|
+
return /* @__PURE__ */ React9.createElement(
|
983
996
|
"span",
|
984
997
|
{
|
985
998
|
...rest,
|
@@ -995,7 +1008,7 @@ var Chip = React8.forwardRef(
|
|
995
1008
|
);
|
996
1009
|
|
997
1010
|
// elements/dropdownMenu/DropdownMenu.tsx
|
998
|
-
import * as
|
1011
|
+
import * as React10 from "react";
|
999
1012
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
1000
1013
|
var DropdownMenuRoot = DropdownMenuPrimitive.Root;
|
1001
1014
|
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
@@ -1003,7 +1016,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
1003
1016
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
1004
1017
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
1005
1018
|
var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
1006
|
-
var DropdownMenuSubTrigger =
|
1019
|
+
var DropdownMenuSubTrigger = React10.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React10.createElement(
|
1007
1020
|
DropdownMenuPrimitive.SubTrigger,
|
1008
1021
|
{
|
1009
1022
|
ref,
|
@@ -1014,9 +1027,9 @@ var DropdownMenuSubTrigger = React9.forwardRef(({ className, inset, children, ..
|
|
1014
1027
|
),
|
1015
1028
|
...props
|
1016
1029
|
},
|
1017
|
-
/* @__PURE__ */
|
1030
|
+
/* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, children),
|
1018
1031
|
" ",
|
1019
|
-
/* @__PURE__ */
|
1032
|
+
/* @__PURE__ */ React10.createElement(
|
1020
1033
|
"svg",
|
1021
1034
|
{
|
1022
1035
|
"aria-label": "Chevron Right Icon",
|
@@ -1028,7 +1041,7 @@ var DropdownMenuSubTrigger = React9.forwardRef(({ className, inset, children, ..
|
|
1028
1041
|
width: "1em",
|
1029
1042
|
className: cn(props.dir === "rtl" ? "hawa-rotate-180" : "")
|
1030
1043
|
},
|
1031
|
-
/* @__PURE__ */
|
1044
|
+
/* @__PURE__ */ React10.createElement(
|
1032
1045
|
"path",
|
1033
1046
|
{
|
1034
1047
|
fillRule: "evenodd",
|
@@ -1038,7 +1051,7 @@ var DropdownMenuSubTrigger = React9.forwardRef(({ className, inset, children, ..
|
|
1038
1051
|
)
|
1039
1052
|
));
|
1040
1053
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
1041
|
-
var DropdownMenuSubContent =
|
1054
|
+
var DropdownMenuSubContent = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React10.createElement(
|
1042
1055
|
DropdownMenuPrimitive.SubContent,
|
1043
1056
|
{
|
1044
1057
|
ref,
|
@@ -1050,7 +1063,7 @@ var DropdownMenuSubContent = React9.forwardRef(({ className, ...props }, ref) =>
|
|
1050
1063
|
}
|
1051
1064
|
));
|
1052
1065
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
1053
|
-
var DropdownMenuContent =
|
1066
|
+
var DropdownMenuContent = React10.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React10.createElement(DropdownMenuPrimitive.Portal, null, /* @__PURE__ */ React10.createElement(
|
1054
1067
|
DropdownMenuPrimitive.Content,
|
1055
1068
|
{
|
1056
1069
|
ref,
|
@@ -1063,8 +1076,8 @@ var DropdownMenuContent = React9.forwardRef(({ className, sideOffset = 4, ...pro
|
|
1063
1076
|
}
|
1064
1077
|
)));
|
1065
1078
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
1066
|
-
var DropdownMenuItem =
|
1067
|
-
return /* @__PURE__ */
|
1079
|
+
var DropdownMenuItem = React10.forwardRef(({ className, inset, badged, slug, LinkComponent, ...props }, ref) => {
|
1080
|
+
return /* @__PURE__ */ React10.createElement(LinkComponent, { href: slug }, /* @__PURE__ */ React10.createElement(
|
1068
1081
|
DropdownMenuPrimitive.Item,
|
1069
1082
|
{
|
1070
1083
|
disabled: props.disabled,
|
@@ -1077,14 +1090,14 @@ var DropdownMenuItem = React9.forwardRef(({ className, inset, badged, slug, Link
|
|
1077
1090
|
),
|
1078
1091
|
...props
|
1079
1092
|
},
|
1080
|
-
/* @__PURE__ */
|
1093
|
+
/* @__PURE__ */ React10.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 " }, props.children),
|
1081
1094
|
props.end && props.end,
|
1082
|
-
!props.end && props.shortcut && /* @__PURE__ */
|
1083
|
-
!props.end && badged && /* @__PURE__ */
|
1095
|
+
!props.end && props.shortcut && /* @__PURE__ */ React10.createElement(DropdownMenuShortcut, null, props.shortcut),
|
1096
|
+
!props.end && badged && /* @__PURE__ */ React10.createElement("div", { className: "hawa-h-3 hawa-w-3 hawa-rounded-full hawa-bg-red-500" })
|
1084
1097
|
));
|
1085
1098
|
});
|
1086
1099
|
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
1087
|
-
var DropdownMenuCheckboxItem =
|
1100
|
+
var DropdownMenuCheckboxItem = React10.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React10.createElement(
|
1088
1101
|
DropdownMenuPrimitive.CheckboxItem,
|
1089
1102
|
{
|
1090
1103
|
ref,
|
@@ -1095,7 +1108,7 @@ var DropdownMenuCheckboxItem = React9.forwardRef(({ className, children, checked
|
|
1095
1108
|
checked,
|
1096
1109
|
...props
|
1097
1110
|
},
|
1098
|
-
/* @__PURE__ */
|
1111
|
+
/* @__PURE__ */ React10.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React10.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React10.createElement(
|
1099
1112
|
"svg",
|
1100
1113
|
{
|
1101
1114
|
"aria-label": "Check Mark",
|
@@ -1106,12 +1119,12 @@ var DropdownMenuCheckboxItem = React9.forwardRef(({ className, children, checked
|
|
1106
1119
|
height: "0.60em",
|
1107
1120
|
width: "0.60em"
|
1108
1121
|
},
|
1109
|
-
/* @__PURE__ */
|
1122
|
+
/* @__PURE__ */ React10.createElement("path", { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" })
|
1110
1123
|
), " ")),
|
1111
1124
|
children
|
1112
1125
|
));
|
1113
1126
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
1114
|
-
var DropdownMenuRadioItem =
|
1127
|
+
var DropdownMenuRadioItem = React10.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React10.createElement(
|
1115
1128
|
DropdownMenuPrimitive.RadioItem,
|
1116
1129
|
{
|
1117
1130
|
ref,
|
@@ -1121,7 +1134,7 @@ var DropdownMenuRadioItem = React9.forwardRef(({ className, children, ...props }
|
|
1121
1134
|
),
|
1122
1135
|
...props
|
1123
1136
|
},
|
1124
|
-
/* @__PURE__ */
|
1137
|
+
/* @__PURE__ */ React10.createElement("span", { className: "hawa-absolute hawa-left-2 hawa-flex hawa-h-3.5 hawa-w-3.5 hawa-items-center hawa-justify-center" }, /* @__PURE__ */ React10.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React10.createElement(
|
1125
1138
|
"svg",
|
1126
1139
|
{
|
1127
1140
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -1136,12 +1149,12 @@ var DropdownMenuRadioItem = React9.forwardRef(({ className, children, ...props }
|
|
1136
1149
|
strokeLinejoin: "round",
|
1137
1150
|
className: "hawa-h-2 hawa-w-2 hawa-fill-current"
|
1138
1151
|
},
|
1139
|
-
/* @__PURE__ */
|
1152
|
+
/* @__PURE__ */ React10.createElement("circle", { cx: "12", cy: "12", r: "10" })
|
1140
1153
|
))),
|
1141
1154
|
children
|
1142
1155
|
));
|
1143
1156
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
1144
|
-
var DropdownMenuLabel =
|
1157
|
+
var DropdownMenuLabel = React10.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React10.createElement(
|
1145
1158
|
DropdownMenuPrimitive.Label,
|
1146
1159
|
{
|
1147
1160
|
ref,
|
@@ -1154,7 +1167,7 @@ var DropdownMenuLabel = React9.forwardRef(({ className, inset, ...props }, ref)
|
|
1154
1167
|
}
|
1155
1168
|
));
|
1156
1169
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
1157
|
-
var DropdownMenuSeparator =
|
1170
|
+
var DropdownMenuSeparator = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React10.createElement(
|
1158
1171
|
DropdownMenuPrimitive.Separator,
|
1159
1172
|
{
|
1160
1173
|
ref,
|
@@ -1167,7 +1180,7 @@ var DropdownMenuShortcut = ({
|
|
1167
1180
|
className,
|
1168
1181
|
...props
|
1169
1182
|
}) => {
|
1170
|
-
return /* @__PURE__ */
|
1183
|
+
return /* @__PURE__ */ React10.createElement(
|
1171
1184
|
"span",
|
1172
1185
|
{
|
1173
1186
|
className: cn(
|
@@ -1207,10 +1220,10 @@ var DropdownMenu = ({
|
|
1207
1220
|
default: "hawa-px-2 hawa-py-3 ",
|
1208
1221
|
sm: "hawa-text-xs hawa-px-1.5 hawa-py-1.5 "
|
1209
1222
|
};
|
1210
|
-
let [values, setValues] =
|
1223
|
+
let [values, setValues] = React10.useState(
|
1211
1224
|
items.map((item) => item.currentOption)
|
1212
1225
|
);
|
1213
|
-
return /* @__PURE__ */
|
1226
|
+
return /* @__PURE__ */ React10.createElement(
|
1214
1227
|
DropdownMenuRoot,
|
1215
1228
|
{
|
1216
1229
|
onOpenChange,
|
@@ -1218,8 +1231,8 @@ var DropdownMenu = ({
|
|
1218
1231
|
modal: false,
|
1219
1232
|
dir: direction
|
1220
1233
|
},
|
1221
|
-
/* @__PURE__ */
|
1222
|
-
/* @__PURE__ */
|
1234
|
+
/* @__PURE__ */ React10.createElement(DropdownMenuTrigger, { asChild: true, className: triggerClassname }, trigger),
|
1235
|
+
/* @__PURE__ */ React10.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React10.createElement(
|
1223
1236
|
DropdownMenuContent,
|
1224
1237
|
{
|
1225
1238
|
side,
|
@@ -1240,12 +1253,12 @@ var DropdownMenu = ({
|
|
1240
1253
|
var _a;
|
1241
1254
|
const ItemLinkComponent = item.slug ? LinkComponent : "a";
|
1242
1255
|
if (item.itemType === "separator") {
|
1243
|
-
return /* @__PURE__ */
|
1256
|
+
return /* @__PURE__ */ React10.createElement(DropdownMenuSeparator, { key: index });
|
1244
1257
|
} else if (item.itemType === "label") {
|
1245
|
-
return /* @__PURE__ */
|
1258
|
+
return /* @__PURE__ */ React10.createElement(DropdownMenuLabel, { key: index }, item.label);
|
1246
1259
|
} else if (item.itemType === "radio") {
|
1247
1260
|
let dd = item.currentOption;
|
1248
|
-
return /* @__PURE__ */
|
1261
|
+
return /* @__PURE__ */ React10.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React10.createElement(
|
1249
1262
|
DropdownMenuSubTrigger,
|
1250
1263
|
{
|
1251
1264
|
dir: direction,
|
@@ -1253,7 +1266,7 @@ var DropdownMenu = ({
|
|
1253
1266
|
},
|
1254
1267
|
item.icon && item.icon,
|
1255
1268
|
item.label && item.label
|
1256
|
-
), /* @__PURE__ */
|
1269
|
+
), /* @__PURE__ */ React10.createElement(DropdownMenuSubContent, null, /* @__PURE__ */ React10.createElement(
|
1257
1270
|
DropdownMenuRadioGroup,
|
1258
1271
|
{
|
1259
1272
|
value: values[index],
|
@@ -1267,12 +1280,12 @@ var DropdownMenu = ({
|
|
1267
1280
|
}
|
1268
1281
|
}
|
1269
1282
|
},
|
1270
|
-
(_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */
|
1283
|
+
(_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */ React10.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
|
1271
1284
|
)));
|
1272
1285
|
} else if (item.itemType === "custom") {
|
1273
|
-
return /* @__PURE__ */
|
1286
|
+
return /* @__PURE__ */ React10.createElement("div", { key: index }, item.content);
|
1274
1287
|
} else {
|
1275
|
-
return item.subitems ? /* @__PURE__ */
|
1288
|
+
return item.subitems ? /* @__PURE__ */ React10.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React10.createElement(
|
1276
1289
|
DropdownMenuSubTrigger,
|
1277
1290
|
{
|
1278
1291
|
dir: direction,
|
@@ -1280,9 +1293,9 @@ var DropdownMenu = ({
|
|
1280
1293
|
},
|
1281
1294
|
item.icon && item.icon,
|
1282
1295
|
item.label && item.label
|
1283
|
-
), /* @__PURE__ */
|
1296
|
+
), /* @__PURE__ */ React10.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React10.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => {
|
1284
1297
|
const SubitemLinkComponent = subitem.slug ? LinkComponent : "a";
|
1285
|
-
return /* @__PURE__ */
|
1298
|
+
return /* @__PURE__ */ React10.createElement(
|
1286
1299
|
DropdownMenuItem,
|
1287
1300
|
{
|
1288
1301
|
key: subIndex,
|
@@ -1311,7 +1324,7 @@ var DropdownMenu = ({
|
|
1311
1324
|
subitem.icon && subitem.icon,
|
1312
1325
|
subitem.label && subitem.label
|
1313
1326
|
);
|
1314
|
-
})))) : /* @__PURE__ */
|
1327
|
+
})))) : /* @__PURE__ */ React10.createElement(
|
1315
1328
|
DropdownMenuItem,
|
1316
1329
|
{
|
1317
1330
|
LinkComponent: ItemLinkComponent,
|
@@ -1364,13 +1377,13 @@ var DropdownMenu = ({
|
|
1364
1377
|
);
|
1365
1378
|
};
|
1366
1379
|
var DropdownMenuRadio = (props) => {
|
1367
|
-
return /* @__PURE__ */
|
1380
|
+
return /* @__PURE__ */ React10.createElement(DropdownMenuRoot, null, /* @__PURE__ */ React10.createElement(DropdownMenuTrigger, { asChild: true }, props.trigger), /* @__PURE__ */ React10.createElement(DropdownMenuContent, { align: props.align, side: props.side }, props.label && /* @__PURE__ */ React10.createElement(React10.Fragment, null, /* @__PURE__ */ React10.createElement(DropdownMenuLabel, null, props.label), /* @__PURE__ */ React10.createElement(DropdownMenuSeparator, null)), /* @__PURE__ */ React10.createElement(
|
1368
1381
|
DropdownMenuRadioGroup,
|
1369
1382
|
{
|
1370
1383
|
value: props.value,
|
1371
1384
|
onValueChange: props.onValueChange
|
1372
1385
|
},
|
1373
|
-
props.options.map((opt, i) => /* @__PURE__ */
|
1386
|
+
props.options.map((opt, i) => /* @__PURE__ */ React10.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
|
1374
1387
|
)));
|
1375
1388
|
};
|
1376
1389
|
|