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 +13 -0
- package/dist/components/app-modal/app-modal.d.ts +2 -1
- package/dist/components/app-phone-input/app-phone-input.d.ts +3 -2
- package/dist/index.d.ts +5 -3
- 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-bread-crumb/app-bread-crumb.tsx +0 -1
- package/src/components/app-chart/app-chart.tsx +0 -1
- package/src/components/app-checkbox-text/app-checkbox-text.tsx +0 -1
- package/src/components/app-divider/app-divider.tsx +0 -1
- package/src/components/app-image-box/app-image-box.tsx +1 -1
- package/src/components/app-modal/app-modal.tsx +3 -0
- package/src/components/app-pagination/app-pagination.tsx +0 -1
- package/src/components/app-password-input/app-password-input.tsx +1 -1
- package/src/components/app-phone-input/app-phone-input.tsx +19 -14
- package/src/components/app-progress/app-progress.tsx +0 -1
- package/src/components/app-radio-group/app-radio-group.tsx +0 -1
- package/src/components/app-select/app-select.tsx +1 -1
- package/src/components/app-select-add/app-select-add.tsx +0 -1
- package/src/components/app-tab/app-tab.tsx +0 -1
- package/src/components/app-toggle-button/app-toggle-button.tsx +1 -1
- package/src/components/over-view-card/over-view-card.tsx +0 -4
package/README.md
ADDED
@@ -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,
|
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,
|
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 };
|