react-frontend-common-components 0.0.96 → 0.0.98
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/README.md +13 -0
- package/dist/components/app-phone-input/app-phone-input.d.ts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/app-input/app-input.tsx +10 -2
- package/src/components/app-phone-input/app-phone-input.tsx +18 -13
package/README.md
ADDED
@@ -1,11 +1,12 @@
|
|
1
1
|
import "react-phone-input-2/lib/style.css";
|
2
2
|
import "./app-phone-input.css";
|
3
3
|
interface AppPhoneInputProps {
|
4
|
+
countryIsoCode?: string;
|
4
5
|
countryCode?: string;
|
5
6
|
phone: string;
|
6
|
-
handleChange: (phone: string, countryCode: string, uniCode: string) => void;
|
7
|
+
handleChange: (phone: string, countryCode: string, countryIsoCode: string, uniCode: string) => void;
|
7
8
|
className: string;
|
8
9
|
id: string;
|
9
10
|
}
|
10
|
-
declare const AppPhoneInput: ({ handleChange,
|
11
|
+
declare const AppPhoneInput: ({ handleChange, countryIsoCode, phone, className, id, }: AppPhoneInputProps) => import("react/jsx-runtime").JSX.Element;
|
11
12
|
export default AppPhoneInput;
|
package/dist/index.d.ts
CHANGED
@@ -439,12 +439,13 @@ interface AppFloatButtonProps extends FloatButtonProps {
|
|
439
439
|
declare const AppFloatButton: ({ className, onClick, onMouseEnter, ...props }: AppFloatButtonProps) => react_jsx_runtime.JSX.Element;
|
440
440
|
|
441
441
|
interface AppPhoneInputProps {
|
442
|
+
countryIsoCode?: string;
|
442
443
|
countryCode?: string;
|
443
444
|
phone: string;
|
444
|
-
handleChange: (phone: string, countryCode: string, uniCode: string) => void;
|
445
|
+
handleChange: (phone: string, countryCode: string, countryIsoCode: string, uniCode: string) => void;
|
445
446
|
className: string;
|
446
447
|
id: string;
|
447
448
|
}
|
448
|
-
declare const AppPhoneInput: ({ handleChange,
|
449
|
+
declare const AppPhoneInput: ({ handleChange, countryIsoCode, phone, className, id, }: AppPhoneInputProps) => react_jsx_runtime.JSX.Element;
|
449
450
|
|
450
451
|
export { AppAvatar, AppBackArrow, AppBadge, AppBreadcrumb, AppButton, AppCard, AppCarousel, AppChart, AppCheckboxText, AppCollapse, AppCustomLoader, AppDivider, AppFloatButton, AppImageBox, AppInput, AppLabel, AppList, AppLoader, AppLocationMap, AppModal, AppOtpField, AppPagination, AppPasswordInput, AppPhoneInput, AppPopover, AppProgress, AppRadioGroup, AppSelect, AppSelectAdd, Sidebar as AppSidebar, AppTab, AppTable, AppTag, AppTextarea, AppTitle, AppToggleButton, AppUploadImage, OverViewCard };
|