@sikka/hawa 0.10.7-next → 0.10.9-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/index.css +26 -0
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +53 -17
- package/dist/index.mjs +32 -11
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1072,6 +1072,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1072
1072
|
.hawa-h-\[130px\] {
|
|
1073
1073
|
height: 130px;
|
|
1074
1074
|
}
|
|
1075
|
+
.hawa-h-\[14px\] {
|
|
1076
|
+
height: 14px;
|
|
1077
|
+
}
|
|
1075
1078
|
.hawa-h-\[15px\] {
|
|
1076
1079
|
height: 15px;
|
|
1077
1080
|
}
|
|
@@ -1224,6 +1227,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1224
1227
|
.hawa-w-\[100px\] {
|
|
1225
1228
|
width: 100px;
|
|
1226
1229
|
}
|
|
1230
|
+
.hawa-w-\[14px\] {
|
|
1231
|
+
width: 14px;
|
|
1232
|
+
}
|
|
1227
1233
|
.hawa-w-\[16px\] {
|
|
1228
1234
|
width: 16px;
|
|
1229
1235
|
}
|
|
@@ -1438,6 +1444,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1438
1444
|
.hawa-cursor-default {
|
|
1439
1445
|
cursor: default;
|
|
1440
1446
|
}
|
|
1447
|
+
.hawa-cursor-help {
|
|
1448
|
+
cursor: help;
|
|
1449
|
+
}
|
|
1441
1450
|
.hawa-cursor-not-allowed {
|
|
1442
1451
|
cursor: not-allowed;
|
|
1443
1452
|
}
|
|
@@ -3444,9 +3453,26 @@ body {
|
|
|
3444
3453
|
max-width: 100%;
|
|
3445
3454
|
}
|
|
3446
3455
|
|
|
3456
|
+
.xs\:hawa-flex-row {
|
|
3457
|
+
flex-direction: row;
|
|
3458
|
+
}
|
|
3459
|
+
|
|
3447
3460
|
.xs\:hawa-flex-nowrap {
|
|
3448
3461
|
flex-wrap: nowrap;
|
|
3449
3462
|
}
|
|
3463
|
+
|
|
3464
|
+
.xs\:hawa-p-6 {
|
|
3465
|
+
padding: 1.5rem;
|
|
3466
|
+
}
|
|
3467
|
+
|
|
3468
|
+
.xs\:hawa-px-2 {
|
|
3469
|
+
padding-left: 0.5rem;
|
|
3470
|
+
padding-right: 0.5rem;
|
|
3471
|
+
}
|
|
3472
|
+
|
|
3473
|
+
.xs\:hawa-pb-2 {
|
|
3474
|
+
padding-bottom: 0.5rem;
|
|
3475
|
+
}
|
|
3450
3476
|
}
|
|
3451
3477
|
@media (min-width: 640px) {
|
|
3452
3478
|
|
package/dist/index.d.mts
CHANGED
|
@@ -320,7 +320,9 @@ type TChipTypes = {
|
|
|
320
320
|
};
|
|
321
321
|
declare const Chip: FC<TChipTypes>;
|
|
322
322
|
|
|
323
|
-
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> &
|
|
323
|
+
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & {
|
|
324
|
+
hint?: React$1.ReactNode;
|
|
325
|
+
} & React$1.RefAttributes<HTMLLabelElement>>;
|
|
324
326
|
|
|
325
327
|
type AlertTypes = {
|
|
326
328
|
severity?: "info" | "warning" | "error" | "success" | "none";
|
|
@@ -555,6 +557,7 @@ type TextFieldTypes = React__default.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
555
557
|
multiline?: boolean;
|
|
556
558
|
/** The small red text under the input field to show validation or a hint. */
|
|
557
559
|
helperText?: any;
|
|
560
|
+
hint?: string;
|
|
558
561
|
inputProps?: any;
|
|
559
562
|
/** The icon inside the input field */
|
|
560
563
|
icon?: any;
|
package/dist/index.d.ts
CHANGED
|
@@ -320,7 +320,9 @@ type TChipTypes = {
|
|
|
320
320
|
};
|
|
321
321
|
declare const Chip: FC<TChipTypes>;
|
|
322
322
|
|
|
323
|
-
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> &
|
|
323
|
+
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & {
|
|
324
|
+
hint?: React$1.ReactNode;
|
|
325
|
+
} & React$1.RefAttributes<HTMLLabelElement>>;
|
|
324
326
|
|
|
325
327
|
type AlertTypes = {
|
|
326
328
|
severity?: "info" | "warning" | "error" | "success" | "none";
|
|
@@ -555,6 +557,7 @@ type TextFieldTypes = React__default.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
555
557
|
multiline?: boolean;
|
|
556
558
|
/** The small red text under the input field to show validation or a hint. */
|
|
557
559
|
helperText?: any;
|
|
560
|
+
hint?: string;
|
|
558
561
|
inputProps?: any;
|
|
559
562
|
/** The icon inside the input field */
|
|
560
563
|
icon?: any;
|
package/dist/index.js
CHANGED
|
@@ -1396,7 +1396,7 @@ var ItemCard = function(_param) {
|
|
|
1396
1396
|
"cardImage",
|
|
1397
1397
|
"orientation"
|
|
1398
1398
|
]);
|
|
1399
|
-
var defaultStyle = "hawa-block hawa-rounded hawa-border hawa-
|
|
1399
|
+
var defaultStyle = "hawa-block hawa-rounded hawa-border hawa-bg-card hawa-text-card-foreground hawa-shadow-sm hawa-transition-all";
|
|
1400
1400
|
var orientationStyles = {
|
|
1401
1401
|
vertical: "hawa-max-w-sm",
|
|
1402
1402
|
horizontal: "hawa-flex hawa-flex-row hawa-w-full"
|
|
@@ -1422,7 +1422,7 @@ var ItemCard = function(_param) {
|
|
|
1422
1422
|
openActionHeader
|
|
1423
1423
|
]);
|
|
1424
1424
|
return /* @__PURE__ */ import_react6.default.createElement("div", _object_spread({
|
|
1425
|
-
className: (0, import_clsx5.default)(defaultStyle, orientationStyles[orientation]),
|
|
1425
|
+
className: (0, import_clsx5.default)(defaultStyle, props.onCardClick && " hover:hawa-shadow-lg hawa-cursor-pointer", orientationStyles[orientation]),
|
|
1426
1426
|
onClick: function(e) {
|
|
1427
1427
|
e.stopPropagation();
|
|
1428
1428
|
if (props.onCardClick) {
|
|
@@ -1441,30 +1441,33 @@ var ItemCard = function(_param) {
|
|
|
1441
1441
|
onClick: clickableImageAction,
|
|
1442
1442
|
className: "hawa-flex hawa-flex-row hawa-gap-2"
|
|
1443
1443
|
}, clickableImageActionIcon, clickableImageActionText))), /* @__PURE__ */ import_react6.default.createElement("div", {
|
|
1444
|
-
className: "hawa-relative hawa-w-full hawa-p-6"
|
|
1444
|
+
className: "hawa-relative hawa-w-full hawa-p-4 xs:hawa-p-6 xs:hawa-pb-2 xs:hawa-px-2"
|
|
1445
1445
|
}, headerActions && /* @__PURE__ */ import_react6.default.createElement("div", {
|
|
1446
|
-
className: "hawa-
|
|
1446
|
+
className: "hawa-absolute hawa-right-0 hawa-top-0 hawa-flex hawa-justify-end hawa-pr-3 hawa-pt-3"
|
|
1447
1447
|
}, /* @__PURE__ */ import_react6.default.createElement(DropdownMenu, {
|
|
1448
1448
|
items: headerActions,
|
|
1449
|
-
trigger: /* @__PURE__ */ import_react6.default.createElement(
|
|
1450
|
-
|
|
1449
|
+
trigger: /* @__PURE__ */ import_react6.default.createElement(Button, {
|
|
1450
|
+
variant: "ghost",
|
|
1451
|
+
size: "smallIcon",
|
|
1451
1452
|
onClick: handleOpenActionHeader
|
|
1452
1453
|
}, /* @__PURE__ */ import_react6.default.createElement("span", {
|
|
1453
1454
|
className: "hawa-sr-only"
|
|
1454
1455
|
}, "Open dropdown"), /* @__PURE__ */ import_react6.default.createElement("svg", {
|
|
1455
|
-
className: "hawa-h-
|
|
1456
|
+
className: "hawa-h-5 hawa-w-5",
|
|
1456
1457
|
"aria-hidden": "true",
|
|
1457
1458
|
fill: "currentColor",
|
|
1458
1459
|
viewBox: "0 0 20 20"
|
|
1459
1460
|
}, /* @__PURE__ */ import_react6.default.createElement("path", {
|
|
1460
1461
|
d: "M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z"
|
|
1461
1462
|
})))
|
|
1462
|
-
})),
|
|
1463
|
-
className: "hawa-
|
|
1463
|
+
})), /* @__PURE__ */ import_react6.default.createElement("div", {
|
|
1464
|
+
className: " hawa-mx-2"
|
|
1465
|
+
}, header && /* @__PURE__ */ import_react6.default.createElement("h5", {
|
|
1466
|
+
className: "hawa-mb-2 hawa-text-2xl hawa-font-bold hawa-tracking-tight "
|
|
1464
1467
|
}, header), content && /* @__PURE__ */ import_react6.default.createElement("span", {
|
|
1465
|
-
className: "hawa-w-full hawa-font-normal
|
|
1466
|
-
}, content), actions || counts ? /* @__PURE__ */ import_react6.default.createElement("div", {
|
|
1467
|
-
className: (0, import_clsx5.default)("hawa-mt-3 hawa-flex hawa-items-center hawa-rounded-b-lg dark:hawa-text-white ", actions && counts ? "hawa-justify-between" : "hawa-justify-end")
|
|
1468
|
+
className: "hawa-w-full hawa-font-normal "
|
|
1469
|
+
}, content)), actions || counts ? /* @__PURE__ */ import_react6.default.createElement("div", {
|
|
1470
|
+
className: (0, import_clsx5.default)("hawa-mt-3 hawa-flex hawa-flex-col xs:hawa-flex-row hawa-items-center hawa-rounded-b-lg dark:hawa-text-white ", actions && counts ? "hawa-justify-between" : "hawa-justify-end")
|
|
1468
1471
|
}, counts, /* @__PURE__ */ import_react6.default.createElement(StopPropagationWrapper, null, actions)) : null));
|
|
1469
1472
|
};
|
|
1470
1473
|
// components/elements/cards/LandingCard.tsx
|
|
@@ -2329,13 +2332,42 @@ var LabelPrimitive = __toESM(require("@radix-ui/react-label"));
|
|
|
2329
2332
|
var import_class_variance_authority3 = require("class-variance-authority");
|
|
2330
2333
|
var labelVariants = (0, import_class_variance_authority3.cva)("hawa-text-sm hawa-font-medium hawa-leading-none peer-disabled:hawa-cursor-not-allowed peer-disabled:hawa-opacity-70");
|
|
2331
2334
|
var Label2 = React23.forwardRef(function(_param, ref) /* @__PURE__ */ {
|
|
2332
|
-
var className = _param.className, props = _object_without_properties(_param, [
|
|
2333
|
-
"className"
|
|
2335
|
+
var className = _param.className, hint = _param.hint, props = _object_without_properties(_param, [
|
|
2336
|
+
"className",
|
|
2337
|
+
"hint"
|
|
2334
2338
|
]);
|
|
2335
|
-
return React23.createElement(
|
|
2339
|
+
return React23.createElement("div", {
|
|
2340
|
+
className: "hawa-flex hawa-flex-row hawa-gap-2 hawa-items-center "
|
|
2341
|
+
}, /* @__PURE__ */ React23.createElement(LabelPrimitive.Root, _object_spread({
|
|
2336
2342
|
ref: ref,
|
|
2337
2343
|
className: cn(labelVariants(), className)
|
|
2338
|
-
}, props))
|
|
2344
|
+
}, props)), hint && /* @__PURE__ */ React23.createElement(Tooltip, {
|
|
2345
|
+
content: hint,
|
|
2346
|
+
side: "right"
|
|
2347
|
+
}, /* @__PURE__ */ React23.createElement("svg", {
|
|
2348
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2349
|
+
className: "hawa-w-[14px] hawa-h-[14px] hawa-cursor-help",
|
|
2350
|
+
viewBox: "0 0 24 24",
|
|
2351
|
+
fill: "none",
|
|
2352
|
+
stroke: "currentColor",
|
|
2353
|
+
strokeWidth: "2",
|
|
2354
|
+
strokeLinecap: "round",
|
|
2355
|
+
strokeLinejoin: "round"
|
|
2356
|
+
}, /* @__PURE__ */ React23.createElement("circle", {
|
|
2357
|
+
cx: "12",
|
|
2358
|
+
cy: "12",
|
|
2359
|
+
r: "10"
|
|
2360
|
+
}), /* @__PURE__ */ React23.createElement("line", {
|
|
2361
|
+
x1: "12",
|
|
2362
|
+
x2: "12",
|
|
2363
|
+
y1: "8",
|
|
2364
|
+
y2: "12"
|
|
2365
|
+
}), /* @__PURE__ */ React23.createElement("line", {
|
|
2366
|
+
x1: "12",
|
|
2367
|
+
x2: "12.01",
|
|
2368
|
+
y1: "16",
|
|
2369
|
+
y2: "16"
|
|
2370
|
+
}))));
|
|
2339
2371
|
});
|
|
2340
2372
|
Label2.displayName = LabelPrimitive.Root.displayName;
|
|
2341
2373
|
// components/elements/Alert.tsx
|
|
@@ -4931,7 +4963,10 @@ var Input = function(_param) {
|
|
|
4931
4963
|
var defaultInputStyle = "hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-2 hawa-text-sm ";
|
|
4932
4964
|
return /* @__PURE__ */ import_react24.default.createElement("div", {
|
|
4933
4965
|
className: cn(defaultStyle, marginStyles[margin], widthStyles[width], props.containerClassName, "hawa-w-full hawa-gap-2")
|
|
4934
|
-
}, props.label && /* @__PURE__ */ import_react24.default.createElement(Label2,
|
|
4966
|
+
}, props.label && /* @__PURE__ */ import_react24.default.createElement(Label2, {
|
|
4967
|
+
htmlFor: props.id,
|
|
4968
|
+
hint: props.hint
|
|
4969
|
+
}, props.label), props.isLoading ? /* @__PURE__ */ import_react24.default.createElement(Skeleton, {
|
|
4935
4970
|
className: "hawa-h-[40px] hawa-w-full"
|
|
4936
4971
|
}) : /* @__PURE__ */ import_react24.default.createElement(import_react24.default.Fragment, null, /* @__PURE__ */ import_react24.default.createElement("div", {
|
|
4937
4972
|
className: cn("hawa-absolute hawa-top-[22px] hawa-h-[0.8px] hawa-w-full hawa-bg-gray-200 hawa-transition-all dark:hawa-bg-gray-800", preview ? "hawa-opacity-100" : "hawa-opacity-0")
|
|
@@ -7216,6 +7251,7 @@ var RegisterForm = function(props) {
|
|
|
7216
7251
|
var _formState_errors_username;
|
|
7217
7252
|
var _field_value;
|
|
7218
7253
|
return import_react38.default.createElement(Input, {
|
|
7254
|
+
hint: "something something",
|
|
7219
7255
|
width: "full",
|
|
7220
7256
|
type: "text",
|
|
7221
7257
|
autoComplete: "username",
|
package/dist/index.mjs
CHANGED
|
@@ -742,7 +742,7 @@ var ItemCard = ({
|
|
|
742
742
|
orientation = "vertical",
|
|
743
743
|
...props
|
|
744
744
|
}) => {
|
|
745
|
-
let defaultStyle = "hawa-block hawa-rounded hawa-border hawa-
|
|
745
|
+
let defaultStyle = "hawa-block hawa-rounded hawa-border hawa-bg-card hawa-text-card-foreground hawa-shadow-sm hawa-transition-all";
|
|
746
746
|
let orientationStyles = {
|
|
747
747
|
vertical: "hawa-max-w-sm",
|
|
748
748
|
horizontal: "hawa-flex hawa-flex-row hawa-w-full"
|
|
@@ -772,7 +772,11 @@ var ItemCard = ({
|
|
|
772
772
|
return /* @__PURE__ */ React9.createElement(
|
|
773
773
|
"div",
|
|
774
774
|
{
|
|
775
|
-
className: clsx5(
|
|
775
|
+
className: clsx5(
|
|
776
|
+
defaultStyle,
|
|
777
|
+
props.onCardClick && " hover:hawa-shadow-lg hawa-cursor-pointer",
|
|
778
|
+
orientationStyles[orientation]
|
|
779
|
+
),
|
|
776
780
|
onClick: (e) => {
|
|
777
781
|
e.stopPropagation();
|
|
778
782
|
if (props.onCardClick) {
|
|
@@ -800,21 +804,22 @@ var ItemCard = ({
|
|
|
800
804
|
clickableImageActionIcon,
|
|
801
805
|
clickableImageActionText
|
|
802
806
|
))),
|
|
803
|
-
/* @__PURE__ */ React9.createElement("div", { className: "hawa-relative hawa-w-full hawa-p-6" }, headerActions && /* @__PURE__ */ React9.createElement("div", { className: "hawa-
|
|
807
|
+
/* @__PURE__ */ React9.createElement("div", { className: "hawa-relative hawa-w-full hawa-p-4 xs:hawa-p-6 xs:hawa-pb-2 xs:hawa-px-2" }, headerActions && /* @__PURE__ */ React9.createElement("div", { className: "hawa-absolute hawa-right-0 hawa-top-0 hawa-flex hawa-justify-end hawa-pr-3 hawa-pt-3" }, /* @__PURE__ */ React9.createElement(
|
|
804
808
|
DropdownMenu,
|
|
805
809
|
{
|
|
806
810
|
items: headerActions,
|
|
807
811
|
trigger: /* @__PURE__ */ React9.createElement(
|
|
808
|
-
|
|
812
|
+
Button,
|
|
809
813
|
{
|
|
810
|
-
|
|
814
|
+
variant: "ghost",
|
|
815
|
+
size: "smallIcon",
|
|
811
816
|
onClick: handleOpenActionHeader
|
|
812
817
|
},
|
|
813
818
|
/* @__PURE__ */ React9.createElement("span", { className: "hawa-sr-only" }, "Open dropdown"),
|
|
814
819
|
/* @__PURE__ */ React9.createElement(
|
|
815
820
|
"svg",
|
|
816
821
|
{
|
|
817
|
-
className: "hawa-h-
|
|
822
|
+
className: "hawa-h-5 hawa-w-5",
|
|
818
823
|
"aria-hidden": "true",
|
|
819
824
|
fill: "currentColor",
|
|
820
825
|
viewBox: "0 0 20 20"
|
|
@@ -823,11 +828,11 @@ var ItemCard = ({
|
|
|
823
828
|
)
|
|
824
829
|
)
|
|
825
830
|
}
|
|
826
|
-
)), header && /* @__PURE__ */ React9.createElement("h5", { className: "hawa-mb-2 hawa-text-2xl hawa-font-bold hawa-tracking-tight
|
|
831
|
+
)), /* @__PURE__ */ React9.createElement("div", { className: " hawa-mx-2" }, header && /* @__PURE__ */ React9.createElement("h5", { className: "hawa-mb-2 hawa-text-2xl hawa-font-bold hawa-tracking-tight " }, header), content && /* @__PURE__ */ React9.createElement("span", { className: "hawa-w-full hawa-font-normal " }, content)), actions || counts ? /* @__PURE__ */ React9.createElement(
|
|
827
832
|
"div",
|
|
828
833
|
{
|
|
829
834
|
className: clsx5(
|
|
830
|
-
"hawa-mt-3 hawa-flex hawa-items-center hawa-rounded-b-lg dark:hawa-text-white ",
|
|
835
|
+
"hawa-mt-3 hawa-flex hawa-flex-col xs:hawa-flex-row hawa-items-center hawa-rounded-b-lg dark:hawa-text-white ",
|
|
831
836
|
actions && counts ? "hawa-justify-between" : "hawa-justify-end"
|
|
832
837
|
)
|
|
833
838
|
},
|
|
@@ -1858,14 +1863,29 @@ import { cva as cva3 } from "class-variance-authority";
|
|
|
1858
1863
|
var labelVariants = cva3(
|
|
1859
1864
|
"hawa-text-sm hawa-font-medium hawa-leading-none peer-disabled:hawa-cursor-not-allowed peer-disabled:hawa-opacity-70"
|
|
1860
1865
|
);
|
|
1861
|
-
var Label2 = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23.createElement(
|
|
1866
|
+
var Label2 = React23.forwardRef(({ className, hint, ...props }, ref) => /* @__PURE__ */ React23.createElement("div", { className: "hawa-flex hawa-flex-row hawa-gap-2 hawa-items-center " }, /* @__PURE__ */ React23.createElement(
|
|
1862
1867
|
LabelPrimitive.Root,
|
|
1863
1868
|
{
|
|
1864
1869
|
ref,
|
|
1865
1870
|
className: cn(labelVariants(), className),
|
|
1866
1871
|
...props
|
|
1867
1872
|
}
|
|
1868
|
-
)
|
|
1873
|
+
), hint && /* @__PURE__ */ React23.createElement(Tooltip, { content: hint, side: "right" }, /* @__PURE__ */ React23.createElement(
|
|
1874
|
+
"svg",
|
|
1875
|
+
{
|
|
1876
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1877
|
+
className: "hawa-w-[14px] hawa-h-[14px] hawa-cursor-help",
|
|
1878
|
+
viewBox: "0 0 24 24",
|
|
1879
|
+
fill: "none",
|
|
1880
|
+
stroke: "currentColor",
|
|
1881
|
+
strokeWidth: "2",
|
|
1882
|
+
strokeLinecap: "round",
|
|
1883
|
+
strokeLinejoin: "round"
|
|
1884
|
+
},
|
|
1885
|
+
/* @__PURE__ */ React23.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
1886
|
+
/* @__PURE__ */ React23.createElement("line", { x1: "12", x2: "12", y1: "8", y2: "12" }),
|
|
1887
|
+
/* @__PURE__ */ React23.createElement("line", { x1: "12", x2: "12.01", y1: "16", y2: "16" })
|
|
1888
|
+
))));
|
|
1869
1889
|
Label2.displayName = LabelPrimitive.Root.displayName;
|
|
1870
1890
|
|
|
1871
1891
|
// components/elements/Alert.tsx
|
|
@@ -4565,7 +4585,7 @@ var Input = ({
|
|
|
4565
4585
|
"hawa-w-full hawa-gap-2"
|
|
4566
4586
|
)
|
|
4567
4587
|
},
|
|
4568
|
-
props.label && /* @__PURE__ */ React36.createElement(Label2,
|
|
4588
|
+
props.label && /* @__PURE__ */ React36.createElement(Label2, { htmlFor: props.id, hint: props.hint }, props.label),
|
|
4569
4589
|
props.isLoading ? /* @__PURE__ */ React36.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" }) : /* @__PURE__ */ React36.createElement(React36.Fragment, null, /* @__PURE__ */ React36.createElement(
|
|
4570
4590
|
"div",
|
|
4571
4591
|
{
|
|
@@ -7065,6 +7085,7 @@ var RegisterForm = (props) => {
|
|
|
7065
7085
|
render: ({ field }) => /* @__PURE__ */ React58.createElement(
|
|
7066
7086
|
Input,
|
|
7067
7087
|
{
|
|
7088
|
+
hint: "something something",
|
|
7068
7089
|
width: "full",
|
|
7069
7090
|
type: "text",
|
|
7070
7091
|
autoComplete: "username",
|