@sikka/hawa 0.10.10-next → 0.10.12-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.js +5 -5
- package/dist/index.mjs +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6035,14 +6035,15 @@ var Combobox = function(_param) {
|
|
|
6035
6035
|
var _React47_useState1 = _sliced_to_array(React47.useState(defaultValue), 2), value = _React47_useState1[0], setValue = _React47_useState1[1];
|
|
6036
6036
|
return /* @__PURE__ */ React47.createElement("div", {
|
|
6037
6037
|
className: cn("hawa-flex hawa-flex-col hawa-gap-2", props.width === "fit" ? "hawa-w-fit" : "hawa-w-full")
|
|
6038
|
-
}, props.label && /* @__PURE__ */ React47.createElement(Label2, null, props.label),
|
|
6039
|
-
className: "hawa-h-[40px] hawa-w-full"
|
|
6040
|
-
}) : /* @__PURE__ */ React47.createElement(PopoverPrimitive2.Root, {
|
|
6038
|
+
}, props.label && /* @__PURE__ */ React47.createElement(Label2, null, props.label), /* @__PURE__ */ React47.createElement(PopoverPrimitive2.Root, {
|
|
6041
6039
|
open: open,
|
|
6042
6040
|
onOpenChange: setOpen
|
|
6043
6041
|
}, /* @__PURE__ */ React47.createElement(PopoverTrigger, {
|
|
6042
|
+
disabled: props.isLoading,
|
|
6044
6043
|
asChild: true
|
|
6045
|
-
}, /* @__PURE__ */ React47.createElement(
|
|
6044
|
+
}, props.isLoading ? /* @__PURE__ */ React47.createElement(Skeleton, {
|
|
6045
|
+
className: "hawa-h-[40px] hawa-w-full"
|
|
6046
|
+
}) : /* @__PURE__ */ React47.createElement(Button, {
|
|
6046
6047
|
variant: "combobox",
|
|
6047
6048
|
role: "combobox",
|
|
6048
6049
|
"aria-expanded": open,
|
|
@@ -7253,7 +7254,6 @@ var RegisterForm = function(props) {
|
|
|
7253
7254
|
var _formState_errors_username;
|
|
7254
7255
|
var _field_value;
|
|
7255
7256
|
return import_react38.default.createElement(Input, {
|
|
7256
|
-
hint: "something something",
|
|
7257
7257
|
width: "full",
|
|
7258
7258
|
type: "text",
|
|
7259
7259
|
autoComplete: "username",
|
package/dist/index.mjs
CHANGED
|
@@ -5706,7 +5706,7 @@ var Combobox = ({
|
|
|
5706
5706
|
)
|
|
5707
5707
|
},
|
|
5708
5708
|
props.label && /* @__PURE__ */ React47.createElement(Label2, null, props.label),
|
|
5709
|
-
|
|
5709
|
+
/* @__PURE__ */ React47.createElement(PopoverPrimitive2.Root, { open, onOpenChange: setOpen }, /* @__PURE__ */ React47.createElement(PopoverTrigger, { disabled: props.isLoading, asChild: true }, props.isLoading ? /* @__PURE__ */ React47.createElement(Skeleton, { className: "hawa-h-[40px] hawa-w-full" }) : /* @__PURE__ */ React47.createElement(
|
|
5710
5710
|
Button,
|
|
5711
5711
|
{
|
|
5712
5712
|
variant: "combobox",
|
|
@@ -7085,7 +7085,6 @@ var RegisterForm = (props) => {
|
|
|
7085
7085
|
render: ({ field }) => /* @__PURE__ */ React58.createElement(
|
|
7086
7086
|
Input,
|
|
7087
7087
|
{
|
|
7088
|
-
hint: "something something",
|
|
7089
7088
|
width: "full",
|
|
7090
7089
|
type: "text",
|
|
7091
7090
|
autoComplete: "username",
|