@sikka/hawa 0.19.0-next → 0.19.1-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 +4 -0
- package/dist/index.js +4 -3
- package/dist/index.mjs +4 -3
- package/package.json +1 -1
package/dist/index.css
CHANGED
package/dist/index.js
CHANGED
|
@@ -3897,10 +3897,11 @@ var Input = (0, import_react16.forwardRef)(
|
|
|
3897
3897
|
labelProps,
|
|
3898
3898
|
placeholder,
|
|
3899
3899
|
showCount,
|
|
3900
|
+
inputProps,
|
|
3900
3901
|
countPosition = "bottom",
|
|
3901
3902
|
...props
|
|
3902
3903
|
}, ref) => {
|
|
3903
|
-
var _a
|
|
3904
|
+
var _a;
|
|
3904
3905
|
let marginStyles = {
|
|
3905
3906
|
none: "hawa-mb-0",
|
|
3906
3907
|
normal: "hawa-mb-3",
|
|
@@ -3946,7 +3947,6 @@ var Input = (0, import_react16.forwardRef)(
|
|
|
3946
3947
|
), /* @__PURE__ */ import_react16.default.createElement(
|
|
3947
3948
|
"input",
|
|
3948
3949
|
{
|
|
3949
|
-
...props,
|
|
3950
3950
|
required: true,
|
|
3951
3951
|
dir: props.dir,
|
|
3952
3952
|
type: props.type,
|
|
@@ -3957,6 +3957,7 @@ var Input = (0, import_react16.forwardRef)(
|
|
|
3957
3957
|
placeholder,
|
|
3958
3958
|
disabled: props.disabled || preview,
|
|
3959
3959
|
style: { height: 40 },
|
|
3960
|
+
...inputProps,
|
|
3960
3961
|
className: cn(
|
|
3961
3962
|
defaultInputStyle,
|
|
3962
3963
|
" dark:hawa-text-white focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-0",
|
|
@@ -3966,7 +3967,7 @@ var Input = (0, import_react16.forwardRef)(
|
|
|
3966
3967
|
"hawa-pe-[60px]": countPosition === "center"
|
|
3967
3968
|
},
|
|
3968
3969
|
preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0",
|
|
3969
|
-
|
|
3970
|
+
inputProps == null ? void 0 : inputProps.className
|
|
3970
3971
|
)
|
|
3971
3972
|
}
|
|
3972
3973
|
)), !forceHideHelperText && /* @__PURE__ */ import_react16.default.createElement(
|
package/dist/index.mjs
CHANGED
|
@@ -3667,10 +3667,11 @@ var Input = forwardRef9(
|
|
|
3667
3667
|
labelProps,
|
|
3668
3668
|
placeholder,
|
|
3669
3669
|
showCount,
|
|
3670
|
+
inputProps,
|
|
3670
3671
|
countPosition = "bottom",
|
|
3671
3672
|
...props
|
|
3672
3673
|
}, ref) => {
|
|
3673
|
-
var _a
|
|
3674
|
+
var _a;
|
|
3674
3675
|
let marginStyles = {
|
|
3675
3676
|
none: "hawa-mb-0",
|
|
3676
3677
|
normal: "hawa-mb-3",
|
|
@@ -3716,7 +3717,6 @@ var Input = forwardRef9(
|
|
|
3716
3717
|
), /* @__PURE__ */ React25.createElement(
|
|
3717
3718
|
"input",
|
|
3718
3719
|
{
|
|
3719
|
-
...props,
|
|
3720
3720
|
required: true,
|
|
3721
3721
|
dir: props.dir,
|
|
3722
3722
|
type: props.type,
|
|
@@ -3727,6 +3727,7 @@ var Input = forwardRef9(
|
|
|
3727
3727
|
placeholder,
|
|
3728
3728
|
disabled: props.disabled || preview,
|
|
3729
3729
|
style: { height: 40 },
|
|
3730
|
+
...inputProps,
|
|
3730
3731
|
className: cn(
|
|
3731
3732
|
defaultInputStyle,
|
|
3732
3733
|
" dark:hawa-text-white focus-visible:hawa-outline-none focus-visible:hawa-ring-2 focus-visible:hawa-ring-ring focus-visible:hawa-ring-offset-0",
|
|
@@ -3736,7 +3737,7 @@ var Input = forwardRef9(
|
|
|
3736
3737
|
"hawa-pe-[60px]": countPosition === "center"
|
|
3737
3738
|
},
|
|
3738
3739
|
preview && "hawa-border-transparent hawa-bg-transparent hawa-px-0",
|
|
3739
|
-
|
|
3740
|
+
inputProps == null ? void 0 : inputProps.className
|
|
3740
3741
|
)
|
|
3741
3742
|
}
|
|
3742
3743
|
)), !forceHideHelperText && /* @__PURE__ */ React25.createElement(
|