react-frontend-common-components 0.0.96 → 0.0.97

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 ADDED
@@ -0,0 +1,13 @@
1
+ ## After making any changes,
2
+
3
+ Update version number in package.json
4
+
5
+
6
+ ```bash
7
+ npm run rollup
8
+ ```
9
+
10
+ ```bash
11
+ npm publish
12
+ ```
13
+
@@ -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, countryCode, phone, className, id, }: AppPhoneInputProps) => import("react/jsx-runtime").JSX.Element;
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, countryCode, phone, className, id, }: AppPhoneInputProps) => react_jsx_runtime.JSX.Element;
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 };