react-frontend-common-components 0.0.95 → 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
+
@@ -11,6 +11,7 @@ interface AppModalProps {
11
11
  className?: string;
12
12
  closeIcon?: React.ReactNode;
13
13
  width?: number;
14
+ centered?: boolean;
14
15
  }
15
- declare const AppModal: ({ visible, onClose, title, description, children, footerButtons, alignTitleLeft, className, closeIcon, width, }: AppModalProps) => import("react/jsx-runtime").JSX.Element;
16
+ declare const AppModal: ({ visible, onClose, title, description, children, footerButtons, alignTitleLeft, className, closeIcon, width, centered }: AppModalProps) => import("react/jsx-runtime").JSX.Element;
16
17
  export default AppModal;
@@ -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
@@ -203,8 +203,9 @@ interface AppModalProps {
203
203
  className?: string;
204
204
  closeIcon?: React$1.ReactNode;
205
205
  width?: number;
206
+ centered?: boolean;
206
207
  }
207
- declare const AppModal: ({ visible, onClose, title, description, children, footerButtons, alignTitleLeft, className, closeIcon, width, }: AppModalProps) => react_jsx_runtime.JSX.Element;
208
+ declare const AppModal: ({ visible, onClose, title, description, children, footerButtons, alignTitleLeft, className, closeIcon, width, centered }: AppModalProps) => react_jsx_runtime.JSX.Element;
208
209
 
209
210
  interface AppOtpFieldProps {
210
211
  otp: string;
@@ -438,12 +439,13 @@ interface AppFloatButtonProps extends FloatButtonProps {
438
439
  declare const AppFloatButton: ({ className, onClick, onMouseEnter, ...props }: AppFloatButtonProps) => react_jsx_runtime.JSX.Element;
439
440
 
440
441
  interface AppPhoneInputProps {
442
+ countryIsoCode?: string;
441
443
  countryCode?: string;
442
444
  phone: string;
443
- handleChange: (phone: string, countryCode: string, uniCode: string) => void;
445
+ handleChange: (phone: string, countryCode: string, countryIsoCode: string, uniCode: string) => void;
444
446
  className: string;
445
447
  id: string;
446
448
  }
447
- 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;
448
450
 
449
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 };