@sikka/hawa 0.10.14-next → 0.10.15-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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4961,7 +4961,7 @@ var Input = function(_param) {
|
|
|
4961
4961
|
auto: ""
|
|
4962
4962
|
};
|
|
4963
4963
|
var defaultStyle = "hawa-flex hawa-max-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-gap-0";
|
|
4964
|
-
var defaultInputStyle = "hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-
|
|
4964
|
+
var defaultInputStyle = "hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-3 hawa-text-sm ";
|
|
4965
4965
|
return /* @__PURE__ */ import_react24.default.createElement("div", {
|
|
4966
4966
|
className: cn(defaultStyle, marginStyles[margin], widthStyles[width], props.containerClassName, "hawa-w-full hawa-gap-2")
|
|
4967
4967
|
}, props.label && /* @__PURE__ */ import_react24.default.createElement(Label2, {
|
|
@@ -6046,7 +6046,7 @@ var Combobox = function(_param) {
|
|
|
6046
6046
|
}), /* @__PURE__ */ React47.createElement("button", {
|
|
6047
6047
|
role: "combobox",
|
|
6048
6048
|
"aria-expanded": open,
|
|
6049
|
-
className: cn("hawa-text-primary hawa-border hawa-h-10 hawa-py-2 hawa-justify-between hawa-w-full hawa-font-normal hawa-inline-flex hawa-items-center hawa-transition-all hawa-select-none hawa-rounded-md hawa-text-sm hawa-ring-offset-background 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", props.preview ? "hawa-px-0 hawa-rounded-none hawa-border-transparent hawa-cursor-default" : "hawa-px-
|
|
6049
|
+
className: cn("hawa-text-primary hawa-border hawa-h-10 hawa-py-2 hawa-justify-between hawa-w-full hawa-font-normal hawa-inline-flex hawa-items-center hawa-transition-all hawa-select-none hawa-rounded-md hawa-text-sm hawa-ring-offset-background 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", props.preview ? "hawa-px-0 hawa-rounded-none hawa-border-transparent hawa-cursor-default" : "hawa-px-3 hawa-bg-background ")
|
|
6050
6050
|
}, value ? getProperty(data.find(function(item) {
|
|
6051
6051
|
return item[valueKey] === value;
|
|
6052
6052
|
}) || {}, labelKey) : props.placeholder || "...", !props.preview && /* @__PURE__ */ React47.createElement("svg", {
|
package/dist/index.mjs
CHANGED
|
@@ -4573,7 +4573,7 @@ var Input = ({
|
|
|
4573
4573
|
auto: ""
|
|
4574
4574
|
};
|
|
4575
4575
|
let defaultStyle = "hawa-flex hawa-max-h-fit hawa-relative hawa-flex-col hawa-justify-center hawa-gap-0";
|
|
4576
|
-
let defaultInputStyle = "hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-
|
|
4576
|
+
let defaultInputStyle = "hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-3 hawa-text-sm ";
|
|
4577
4577
|
return /* @__PURE__ */ React36.createElement(
|
|
4578
4578
|
"div",
|
|
4579
4579
|
{
|
|
@@ -5729,7 +5729,7 @@ var Combobox = ({
|
|
|
5729
5729
|
"aria-expanded": open,
|
|
5730
5730
|
className: cn(
|
|
5731
5731
|
"hawa-text-primary hawa-border hawa-h-10 hawa-py-2 hawa-justify-between hawa-w-full hawa-font-normal hawa-inline-flex hawa-items-center hawa-transition-all hawa-select-none hawa-rounded-md hawa-text-sm hawa-ring-offset-background 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",
|
|
5732
|
-
props.preview ? "hawa-px-0 hawa-rounded-none hawa-border-transparent hawa-cursor-default" : "hawa-px-
|
|
5732
|
+
props.preview ? "hawa-px-0 hawa-rounded-none hawa-border-transparent hawa-cursor-default" : "hawa-px-3 hawa-bg-background "
|
|
5733
5733
|
)
|
|
5734
5734
|
},
|
|
5735
5735
|
value ? getProperty(
|