@sikka/hawa 0.35.1-next → 0.35.2-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/alert/index.js +38 -37
- package/dist/alert/index.js.map +1 -1
- package/dist/alert/index.mjs +1 -0
- package/dist/alert/index.mjs.map +1 -1
- package/dist/appLayout/index.js +63 -62
- package/dist/appLayout/index.js.map +1 -1
- package/dist/appLayout/index.mjs +5 -4
- package/dist/appLayout/index.mjs.map +1 -1
- package/dist/backToTop/index.js +34 -33
- package/dist/backToTop/index.js.map +1 -1
- package/dist/backToTop/index.mjs +1 -0
- package/dist/backToTop/index.mjs.map +1 -1
- package/dist/blocks/auth/index.js +255 -254
- package/dist/blocks/auth/index.mjs +4 -4
- package/dist/blocks/feedback/index.js +137 -136
- package/dist/blocks/feedback/index.mjs +5 -5
- package/dist/blocks/index.js +511 -510
- package/dist/blocks/index.mjs +2 -2
- package/dist/blocks/misc/index.js +115 -114
- package/dist/blocks/misc/index.mjs +5 -5
- package/dist/blocks/pricing/index.js +121 -120
- package/dist/blocks/pricing/index.mjs +4 -4
- package/dist/button/index.js +25 -24
- package/dist/button/index.js.map +1 -1
- package/dist/button/index.mjs +1 -0
- package/dist/button/index.mjs.map +1 -1
- package/dist/calendar/index.js +25 -24
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/index.mjs +1 -0
- package/dist/calendar/index.mjs.map +1 -1
- package/dist/{chunk-XJMDUR5A.mjs → chunk-7L2JUNG2.mjs} +1 -1
- package/dist/{chunk-GVZWOUGN.mjs → chunk-CD6AQVU3.mjs} +1 -1
- package/dist/{chunk-IDKXEJET.mjs → chunk-FY7BKFH7.mjs} +33 -32
- package/dist/{chunk-A376BKNX.mjs → chunk-JEZLVXSU.mjs} +1 -1
- package/dist/{chunk-YOT2GVXO.mjs → chunk-LVXG3SMD.mjs} +1 -1
- package/dist/{chunk-HHC34DXN.mjs → chunk-MVKP55SZ.mjs} +1 -1
- package/dist/{chunk-L56XQRQI.mjs → chunk-WABHQMUI.mjs} +1 -1
- package/dist/{chunk-XFRJ62W3.mjs → chunk-WVMMGOXW.mjs} +1 -1
- package/dist/{chunk-DFWFQWWT.mjs → chunk-Y6XTMPVO.mjs} +1 -1
- package/dist/{chunk-DABX3SU6.mjs → chunk-YP2CCKZG.mjs} +33 -32
- package/dist/codeBlock/index.js +45 -44
- package/dist/codeBlock/index.js.map +1 -1
- package/dist/codeBlock/index.mjs +1 -0
- package/dist/codeBlock/index.mjs.map +1 -1
- package/dist/dataTable/index.js +38 -37
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +1 -0
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/datePicker/index.js +33 -32
- package/dist/datePicker/index.js.map +1 -1
- package/dist/datePicker/index.mjs +1 -0
- package/dist/datePicker/index.mjs.map +1 -1
- package/dist/docsLayout/index.js +106 -105
- package/dist/docsLayout/index.js.map +1 -1
- package/dist/docsLayout/index.mjs +1 -0
- package/dist/docsLayout/index.mjs.map +1 -1
- package/dist/elements/index.js +432 -431
- package/dist/elements/index.mjs +3 -3
- package/dist/fileDropzone/index.js +71 -70
- package/dist/fileDropzone/index.js.map +1 -1
- package/dist/fileDropzone/index.mjs +1 -0
- package/dist/fileDropzone/index.mjs.map +1 -1
- package/dist/index.js +871 -870
- package/dist/index.mjs +204 -203
- package/dist/layout/index.js +185 -184
- package/dist/layout/index.mjs +2 -2
- package/dist/sortButton/index.js +32 -31
- package/dist/sortButton/index.js.map +1 -1
- package/dist/sortButton/index.mjs +1 -0
- package/dist/sortButton/index.mjs.map +1 -1
- package/dist/splitButton/index.js +60 -59
- package/dist/splitButton/index.js.map +1 -1
- package/dist/splitButton/index.mjs +37 -36
- package/dist/splitButton/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -46,14 +46,14 @@ function cn(...inputs) {
|
|
46
46
|
}
|
47
47
|
|
48
48
|
// elements/dropdownMenu/DropdownMenu.tsx
|
49
|
-
var
|
49
|
+
var React = __toESM(require("react"));
|
50
50
|
var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"));
|
51
51
|
var DropdownMenuRoot = DropdownMenuPrimitive.Root;
|
52
52
|
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
53
53
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
54
54
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
55
55
|
var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
56
|
-
var DropdownMenuSubTrigger =
|
56
|
+
var DropdownMenuSubTrigger = React.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React.createElement(
|
57
57
|
DropdownMenuPrimitive.SubTrigger,
|
58
58
|
{
|
59
59
|
ref,
|
@@ -64,9 +64,9 @@ var DropdownMenuSubTrigger = React2.forwardRef(({ className, inset, children, ..
|
|
64
64
|
),
|
65
65
|
...props
|
66
66
|
},
|
67
|
-
/* @__PURE__ */
|
67
|
+
/* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2" }, children),
|
68
68
|
" ",
|
69
|
-
/* @__PURE__ */
|
69
|
+
/* @__PURE__ */ React.createElement(
|
70
70
|
"svg",
|
71
71
|
{
|
72
72
|
"aria-label": "Chevron Right Icon",
|
@@ -78,7 +78,7 @@ var DropdownMenuSubTrigger = React2.forwardRef(({ className, inset, children, ..
|
|
78
78
|
width: "1em",
|
79
79
|
className: cn(props.dir === "rtl" ? "hawa-rotate-180" : "")
|
80
80
|
},
|
81
|
-
/* @__PURE__ */
|
81
|
+
/* @__PURE__ */ React.createElement(
|
82
82
|
"path",
|
83
83
|
{
|
84
84
|
fillRule: "evenodd",
|
@@ -88,7 +88,7 @@ var DropdownMenuSubTrigger = React2.forwardRef(({ className, inset, children, ..
|
|
88
88
|
)
|
89
89
|
));
|
90
90
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
91
|
-
var DropdownMenuSubContent =
|
91
|
+
var DropdownMenuSubContent = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
|
92
92
|
DropdownMenuPrimitive.SubContent,
|
93
93
|
{
|
94
94
|
ref,
|
@@ -100,7 +100,7 @@ var DropdownMenuSubContent = React2.forwardRef(({ className, ...props }, ref) =>
|
|
100
100
|
}
|
101
101
|
));
|
102
102
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
103
|
-
var DropdownMenuContent =
|
103
|
+
var DropdownMenuContent = React.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React.createElement(DropdownMenuPrimitive.Portal, null, /* @__PURE__ */ React.createElement(
|
104
104
|
DropdownMenuPrimitive.Content,
|
105
105
|
{
|
106
106
|
ref,
|
@@ -113,8 +113,8 @@ var DropdownMenuContent = React2.forwardRef(({ className, sideOffset = 4, ...pro
|
|
113
113
|
}
|
114
114
|
)));
|
115
115
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
116
|
-
var DropdownMenuItem =
|
117
|
-
return /* @__PURE__ */
|
116
|
+
var DropdownMenuItem = React.forwardRef(({ className, inset, badged, slug, LinkComponent, ...props }, ref) => {
|
117
|
+
return /* @__PURE__ */ React.createElement(LinkComponent, { href: slug }, /* @__PURE__ */ React.createElement(
|
118
118
|
DropdownMenuPrimitive.Item,
|
119
119
|
{
|
120
120
|
disabled: props.disabled,
|
@@ -127,14 +127,14 @@ var DropdownMenuItem = React2.forwardRef(({ className, inset, badged, slug, Link
|
|
127
127
|
),
|
128
128
|
...props
|
129
129
|
},
|
130
|
-
/* @__PURE__ */
|
130
|
+
/* @__PURE__ */ React.createElement("div", { className: "hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 " }, props.children),
|
131
131
|
props.end && props.end,
|
132
|
-
!props.end && props.shortcut && /* @__PURE__ */
|
133
|
-
!props.end && badged && /* @__PURE__ */
|
132
|
+
!props.end && props.shortcut && /* @__PURE__ */ React.createElement(DropdownMenuShortcut, null, props.shortcut),
|
133
|
+
!props.end && badged && /* @__PURE__ */ React.createElement("div", { className: "hawa-h-3 hawa-w-3 hawa-rounded-full hawa-bg-red-500" })
|
134
134
|
));
|
135
135
|
});
|
136
136
|
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
137
|
-
var DropdownMenuCheckboxItem =
|
137
|
+
var DropdownMenuCheckboxItem = React.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React.createElement(
|
138
138
|
DropdownMenuPrimitive.CheckboxItem,
|
139
139
|
{
|
140
140
|
ref,
|
@@ -145,7 +145,7 @@ var DropdownMenuCheckboxItem = React2.forwardRef(({ className, children, checked
|
|
145
145
|
checked,
|
146
146
|
...props
|
147
147
|
},
|
148
|
-
/* @__PURE__ */
|
148
|
+
/* @__PURE__ */ React.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__ */ React.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React.createElement(
|
149
149
|
"svg",
|
150
150
|
{
|
151
151
|
"aria-label": "Check Mark",
|
@@ -156,12 +156,12 @@ var DropdownMenuCheckboxItem = React2.forwardRef(({ className, children, checked
|
|
156
156
|
height: "0.60em",
|
157
157
|
width: "0.60em"
|
158
158
|
},
|
159
|
-
/* @__PURE__ */
|
159
|
+
/* @__PURE__ */ React.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" })
|
160
160
|
), " ")),
|
161
161
|
children
|
162
162
|
));
|
163
163
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
164
|
-
var DropdownMenuRadioItem =
|
164
|
+
var DropdownMenuRadioItem = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React.createElement(
|
165
165
|
DropdownMenuPrimitive.RadioItem,
|
166
166
|
{
|
167
167
|
ref,
|
@@ -171,7 +171,7 @@ var DropdownMenuRadioItem = React2.forwardRef(({ className, children, ...props }
|
|
171
171
|
),
|
172
172
|
...props
|
173
173
|
},
|
174
|
-
/* @__PURE__ */
|
174
|
+
/* @__PURE__ */ React.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__ */ React.createElement(DropdownMenuPrimitive.ItemIndicator, null, /* @__PURE__ */ React.createElement(
|
175
175
|
"svg",
|
176
176
|
{
|
177
177
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -186,12 +186,12 @@ var DropdownMenuRadioItem = React2.forwardRef(({ className, children, ...props }
|
|
186
186
|
strokeLinejoin: "round",
|
187
187
|
className: "hawa-h-2 hawa-w-2 hawa-fill-current"
|
188
188
|
},
|
189
|
-
/* @__PURE__ */
|
189
|
+
/* @__PURE__ */ React.createElement("circle", { cx: "12", cy: "12", r: "10" })
|
190
190
|
))),
|
191
191
|
children
|
192
192
|
));
|
193
193
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
194
|
-
var DropdownMenuLabel =
|
194
|
+
var DropdownMenuLabel = React.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React.createElement(
|
195
195
|
DropdownMenuPrimitive.Label,
|
196
196
|
{
|
197
197
|
ref,
|
@@ -204,7 +204,7 @@ var DropdownMenuLabel = React2.forwardRef(({ className, inset, ...props }, ref)
|
|
204
204
|
}
|
205
205
|
));
|
206
206
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
207
|
-
var DropdownMenuSeparator =
|
207
|
+
var DropdownMenuSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React.createElement(
|
208
208
|
DropdownMenuPrimitive.Separator,
|
209
209
|
{
|
210
210
|
ref,
|
@@ -217,7 +217,7 @@ var DropdownMenuShortcut = ({
|
|
217
217
|
className,
|
218
218
|
...props
|
219
219
|
}) => {
|
220
|
-
return /* @__PURE__ */
|
220
|
+
return /* @__PURE__ */ React.createElement(
|
221
221
|
"span",
|
222
222
|
{
|
223
223
|
className: cn(
|
@@ -257,10 +257,10 @@ var DropdownMenu = ({
|
|
257
257
|
default: "hawa-px-2 hawa-py-3 ",
|
258
258
|
sm: "hawa-text-xs hawa-px-1.5 hawa-py-1.5 "
|
259
259
|
};
|
260
|
-
let [values, setValues] =
|
260
|
+
let [values, setValues] = React.useState(
|
261
261
|
items.map((item) => item.currentOption)
|
262
262
|
);
|
263
|
-
return /* @__PURE__ */
|
263
|
+
return /* @__PURE__ */ React.createElement(
|
264
264
|
DropdownMenuRoot,
|
265
265
|
{
|
266
266
|
onOpenChange,
|
@@ -268,8 +268,8 @@ var DropdownMenu = ({
|
|
268
268
|
modal: false,
|
269
269
|
dir: direction
|
270
270
|
},
|
271
|
-
/* @__PURE__ */
|
272
|
-
/* @__PURE__ */
|
271
|
+
/* @__PURE__ */ React.createElement(DropdownMenuTrigger, { asChild: true, className: triggerClassname }, trigger),
|
272
|
+
/* @__PURE__ */ React.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React.createElement(
|
273
273
|
DropdownMenuContent,
|
274
274
|
{
|
275
275
|
side,
|
@@ -290,12 +290,12 @@ var DropdownMenu = ({
|
|
290
290
|
var _a;
|
291
291
|
const ItemLinkComponent = item.slug ? LinkComponent : "a";
|
292
292
|
if (item.itemType === "separator") {
|
293
|
-
return /* @__PURE__ */
|
293
|
+
return /* @__PURE__ */ React.createElement(DropdownMenuSeparator, { key: index });
|
294
294
|
} else if (item.itemType === "label") {
|
295
|
-
return /* @__PURE__ */
|
295
|
+
return /* @__PURE__ */ React.createElement(DropdownMenuLabel, { key: index }, item.label);
|
296
296
|
} else if (item.itemType === "radio") {
|
297
297
|
let dd = item.currentOption;
|
298
|
-
return /* @__PURE__ */
|
298
|
+
return /* @__PURE__ */ React.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React.createElement(
|
299
299
|
DropdownMenuSubTrigger,
|
300
300
|
{
|
301
301
|
dir: direction,
|
@@ -303,7 +303,7 @@ var DropdownMenu = ({
|
|
303
303
|
},
|
304
304
|
item.icon && item.icon,
|
305
305
|
item.label && item.label
|
306
|
-
), /* @__PURE__ */
|
306
|
+
), /* @__PURE__ */ React.createElement(DropdownMenuSubContent, null, /* @__PURE__ */ React.createElement(
|
307
307
|
DropdownMenuRadioGroup,
|
308
308
|
{
|
309
309
|
value: values[index],
|
@@ -317,12 +317,12 @@ var DropdownMenu = ({
|
|
317
317
|
}
|
318
318
|
}
|
319
319
|
},
|
320
|
-
(_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */
|
320
|
+
(_a = item.options) == null ? void 0 : _a.map((opt, i) => /* @__PURE__ */ React.createElement(DropdownMenuRadioItem, { key: i, value: opt.value }, opt.label))
|
321
321
|
)));
|
322
322
|
} else if (item.itemType === "custom") {
|
323
|
-
return /* @__PURE__ */
|
323
|
+
return /* @__PURE__ */ React.createElement("div", { key: index }, item.content);
|
324
324
|
} else {
|
325
|
-
return item.subitems ? /* @__PURE__ */
|
325
|
+
return item.subitems ? /* @__PURE__ */ React.createElement(DropdownMenuSub, { key: index }, /* @__PURE__ */ React.createElement(
|
326
326
|
DropdownMenuSubTrigger,
|
327
327
|
{
|
328
328
|
dir: direction,
|
@@ -330,9 +330,9 @@ var DropdownMenu = ({
|
|
330
330
|
},
|
331
331
|
item.icon && item.icon,
|
332
332
|
item.label && item.label
|
333
|
-
), /* @__PURE__ */
|
333
|
+
), /* @__PURE__ */ React.createElement(DropdownMenuPortal, null, /* @__PURE__ */ React.createElement(DropdownMenuSubContent, null, item.subitems.map((subitem, subIndex) => {
|
334
334
|
const SubitemLinkComponent = subitem.slug ? LinkComponent : "a";
|
335
|
-
return /* @__PURE__ */
|
335
|
+
return /* @__PURE__ */ React.createElement(
|
336
336
|
DropdownMenuItem,
|
337
337
|
{
|
338
338
|
key: subIndex,
|
@@ -361,7 +361,7 @@ var DropdownMenu = ({
|
|
361
361
|
subitem.icon && subitem.icon,
|
362
362
|
subitem.label && subitem.label
|
363
363
|
);
|
364
|
-
})))) : /* @__PURE__ */
|
364
|
+
})))) : /* @__PURE__ */ React.createElement(
|
365
365
|
DropdownMenuItem,
|
366
366
|
{
|
367
367
|
LinkComponent: ItemLinkComponent,
|
@@ -419,7 +419,8 @@ var React6 = __toESM(require("react"));
|
|
419
419
|
var import_class_variance_authority = require("class-variance-authority");
|
420
420
|
|
421
421
|
// elements/helperText/HelperText.tsx
|
422
|
-
var
|
422
|
+
var import_react = __toESM(require("react"));
|
423
|
+
var HelperText = ({ helperText }) => /* @__PURE__ */ import_react.default.createElement(
|
423
424
|
"p",
|
424
425
|
{
|
425
426
|
className: cn(
|
@@ -434,9 +435,9 @@ var HelperText = ({ helperText }) => /* @__PURE__ */ React.createElement(
|
|
434
435
|
var React4 = __toESM(require("react"));
|
435
436
|
|
436
437
|
// elements/tooltip/Tooltip.tsx
|
437
|
-
var
|
438
|
+
var import_react2 = __toESM(require("react"));
|
438
439
|
var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
|
439
|
-
var TooltipContent =
|
440
|
+
var TooltipContent = import_react2.default.forwardRef(({ className, sideOffset = 4, size = "default", ...props }, ref) => /* @__PURE__ */ import_react2.default.createElement(
|
440
441
|
TooltipPrimitive.Content,
|
441
442
|
{
|
442
443
|
ref,
|
@@ -453,7 +454,7 @@ var TooltipContent = import_react.default.forwardRef(({ className, sideOffset =
|
|
453
454
|
}
|
454
455
|
));
|
455
456
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
456
|
-
var TooltipArrow =
|
457
|
+
var TooltipArrow = import_react2.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react2.default.createElement(TooltipPrimitive.Arrow, { ref, className: cn(className), ...props }));
|
457
458
|
TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
|
458
459
|
var Tooltip = ({
|
459
460
|
side,
|
@@ -470,13 +471,13 @@ var Tooltip = ({
|
|
470
471
|
delayDuration = 300,
|
471
472
|
...props
|
472
473
|
}) => {
|
473
|
-
return /* @__PURE__ */
|
474
|
+
return /* @__PURE__ */ import_react2.default.createElement(
|
474
475
|
TooltipPrimitive.TooltipProvider,
|
475
476
|
{
|
476
477
|
delayDuration,
|
477
478
|
...providerProps
|
478
479
|
},
|
479
|
-
/* @__PURE__ */
|
480
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
480
481
|
TooltipPrimitive.Root,
|
481
482
|
{
|
482
483
|
open: !disabled && open,
|
@@ -484,8 +485,8 @@ var Tooltip = ({
|
|
484
485
|
onOpenChange,
|
485
486
|
...props
|
486
487
|
},
|
487
|
-
/* @__PURE__ */
|
488
|
-
/* @__PURE__ */
|
488
|
+
/* @__PURE__ */ import_react2.default.createElement(TooltipPrimitive.Trigger, { ...triggerProps }, children),
|
489
|
+
/* @__PURE__ */ import_react2.default.createElement(
|
489
490
|
TooltipContent,
|
490
491
|
{
|
491
492
|
size,
|
@@ -547,7 +548,7 @@ var Label2 = React4.forwardRef(({ className, hint, hintSide, required, children,
|
|
547
548
|
Label2.displayName = "Label";
|
548
549
|
|
549
550
|
// elements/loading/Loading.tsx
|
550
|
-
var
|
551
|
+
var import_react3 = __toESM(require("react"));
|
551
552
|
var Loading = ({
|
552
553
|
design = "spinner",
|
553
554
|
size = "normal",
|
@@ -578,7 +579,7 @@ var Loading = ({
|
|
578
579
|
};
|
579
580
|
switch (design.split("-")[0]) {
|
580
581
|
case "dots":
|
581
|
-
return /* @__PURE__ */
|
582
|
+
return /* @__PURE__ */ import_react3.default.createElement(
|
582
583
|
"div",
|
583
584
|
{
|
584
585
|
className: cn(
|
@@ -586,7 +587,7 @@ var Loading = ({
|
|
586
587
|
classNames == null ? void 0 : classNames.container
|
587
588
|
)
|
588
589
|
},
|
589
|
-
/* @__PURE__ */
|
590
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
590
591
|
"div",
|
591
592
|
{
|
592
593
|
className: cn(
|
@@ -597,7 +598,7 @@ var Loading = ({
|
|
597
598
|
)
|
598
599
|
}
|
599
600
|
),
|
600
|
-
/* @__PURE__ */
|
601
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
601
602
|
"div",
|
602
603
|
{
|
603
604
|
className: cn(
|
@@ -608,7 +609,7 @@ var Loading = ({
|
|
608
609
|
)
|
609
610
|
}
|
610
611
|
),
|
611
|
-
/* @__PURE__ */
|
612
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
612
613
|
"div",
|
613
614
|
{
|
614
615
|
className: cn(
|
@@ -621,7 +622,7 @@ var Loading = ({
|
|
621
622
|
)
|
622
623
|
);
|
623
624
|
case "square":
|
624
|
-
return /* @__PURE__ */
|
625
|
+
return /* @__PURE__ */ import_react3.default.createElement(
|
625
626
|
"svg",
|
626
627
|
{
|
627
628
|
className: cn(
|
@@ -633,7 +634,7 @@ var Loading = ({
|
|
633
634
|
height: "35",
|
634
635
|
width: "35"
|
635
636
|
},
|
636
|
-
/* @__PURE__ */
|
637
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
637
638
|
"rect",
|
638
639
|
{
|
639
640
|
className: "squircle-track",
|
@@ -645,7 +646,7 @@ var Loading = ({
|
|
645
646
|
height: "32.5"
|
646
647
|
}
|
647
648
|
),
|
648
|
-
/* @__PURE__ */
|
649
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
649
650
|
"rect",
|
650
651
|
{
|
651
652
|
className: "square-car",
|
@@ -660,7 +661,7 @@ var Loading = ({
|
|
660
661
|
)
|
661
662
|
);
|
662
663
|
case "squircle":
|
663
|
-
return /* @__PURE__ */
|
664
|
+
return /* @__PURE__ */ import_react3.default.createElement(
|
664
665
|
"svg",
|
665
666
|
{
|
666
667
|
x: "0px",
|
@@ -675,7 +676,7 @@ var Loading = ({
|
|
675
676
|
classNames == null ? void 0 : classNames.container
|
676
677
|
)
|
677
678
|
},
|
678
|
-
/* @__PURE__ */
|
679
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
679
680
|
"path",
|
680
681
|
{
|
681
682
|
className: cn("squircle-track", classNames == null ? void 0 : classNames.track),
|
@@ -685,7 +686,7 @@ var Loading = ({
|
|
685
686
|
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"
|
686
687
|
}
|
687
688
|
),
|
688
|
-
/* @__PURE__ */
|
689
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
689
690
|
"path",
|
690
691
|
{
|
691
692
|
className: cn("squircle-car", classNames == null ? void 0 : classNames.car),
|
@@ -697,7 +698,7 @@ var Loading = ({
|
|
697
698
|
)
|
698
699
|
);
|
699
700
|
case "progress":
|
700
|
-
return /* @__PURE__ */
|
701
|
+
return /* @__PURE__ */ import_react3.default.createElement(
|
701
702
|
"div",
|
702
703
|
{
|
703
704
|
className: cn(
|
@@ -708,9 +709,9 @@ var Loading = ({
|
|
708
709
|
}
|
709
710
|
);
|
710
711
|
case "orbit":
|
711
|
-
return /* @__PURE__ */
|
712
|
+
return /* @__PURE__ */ import_react3.default.createElement("div", { className: cn("orbit-container", classNames == null ? void 0 : classNames.container) });
|
712
713
|
default:
|
713
|
-
return /* @__PURE__ */
|
714
|
+
return /* @__PURE__ */ import_react3.default.createElement(
|
714
715
|
"svg",
|
715
716
|
{
|
716
717
|
viewBox: "0 0 40 40",
|
@@ -722,7 +723,7 @@ var Loading = ({
|
|
722
723
|
classNames == null ? void 0 : classNames.container
|
723
724
|
)
|
724
725
|
},
|
725
|
-
/* @__PURE__ */
|
726
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
726
727
|
"circle",
|
727
728
|
{
|
728
729
|
className: cn(
|
@@ -741,7 +742,7 @@ var Loading = ({
|
|
741
742
|
pathLength: "100"
|
742
743
|
}
|
743
744
|
),
|
744
|
-
/* @__PURE__ */
|
745
|
+
/* @__PURE__ */ import_react3.default.createElement(
|
745
746
|
"circle",
|
746
747
|
{
|
747
748
|
className: cn(
|