@chekinapp/ui 0.0.142 → 0.0.143
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.cjs +15 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +15 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -14575,6 +14575,9 @@ var PhoneInput = React50.forwardRef(
|
|
|
14575
14575
|
onChange,
|
|
14576
14576
|
onFocus,
|
|
14577
14577
|
onBlur,
|
|
14578
|
+
onKeyDown,
|
|
14579
|
+
onFieldFocus,
|
|
14580
|
+
onFieldBlur,
|
|
14578
14581
|
name,
|
|
14579
14582
|
codeName,
|
|
14580
14583
|
numberName,
|
|
@@ -14744,7 +14747,9 @@ var PhoneInput = React50.forwardRef(
|
|
|
14744
14747
|
className: "max-w-none w-auto",
|
|
14745
14748
|
dropdownClassName: "right-auto w-[280px]",
|
|
14746
14749
|
inputValue: searchable ? codeSearchValue : void 0,
|
|
14747
|
-
onInputChange: setCodeSearchValue
|
|
14750
|
+
onInputChange: setCodeSearchValue,
|
|
14751
|
+
onFocus: () => onFieldFocus?.("code"),
|
|
14752
|
+
onBlur: () => onFieldBlur?.("code")
|
|
14748
14753
|
}
|
|
14749
14754
|
),
|
|
14750
14755
|
/* @__PURE__ */ (0, import_jsx_runtime158.jsx)(
|
|
@@ -14765,8 +14770,15 @@ var PhoneInput = React50.forwardRef(
|
|
|
14765
14770
|
"aria-label": resolvedLabel || name,
|
|
14766
14771
|
"aria-describedby": errorMessage ? errorMsgId : void 0,
|
|
14767
14772
|
onChange: handleNumberChange,
|
|
14768
|
-
|
|
14769
|
-
|
|
14773
|
+
onKeyDown,
|
|
14774
|
+
onFocus: (event) => {
|
|
14775
|
+
onFocus?.(event);
|
|
14776
|
+
onFieldFocus?.("number");
|
|
14777
|
+
},
|
|
14778
|
+
onBlur: (event) => {
|
|
14779
|
+
onBlur?.(event);
|
|
14780
|
+
onFieldBlur?.("number");
|
|
14781
|
+
},
|
|
14770
14782
|
renderErrorMessage: false,
|
|
14771
14783
|
wrapperClassName: "max-w-none w-auto",
|
|
14772
14784
|
contentClassName: readOnly ? "!cursor-default" : void 0,
|