react-frontend-common-components 0.0.57 → 0.0.59

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.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { InputProps, SelectProps, TabsProps, BadgeProps, AvatarProps, ListProps, DividerProps, BreadcrumbProps, CarouselProps, TableProps, FloatButtonProps } from 'antd';
2
+ import { InputProps, TabsProps, BadgeProps, AvatarProps, SelectProps, ListProps, DividerProps, BreadcrumbProps, CarouselProps, TableProps, FloatButtonProps } from 'antd';
3
3
  import React$1, { ChangeEventHandler, MouseEventHandler, KeyboardEventHandler } from 'react';
4
4
  import { ChartData, ChartOptions } from 'chart.js';
5
5
  import { CheckboxChangeEvent } from 'antd/es/checkbox';
@@ -44,7 +44,7 @@ interface AppButtonProps {
44
44
  }
45
45
  declare const AppButton: ({ type, size, className, handleClick, icon, text, disabled, iconPosition, isLoading, }: AppButtonProps) => react_jsx_runtime.JSX.Element;
46
46
 
47
- interface SidebarProps extends SelectProps {
47
+ interface SidebarProps {
48
48
  links: {
49
49
  onClick?: () => void;
50
50
  label: string;
@@ -292,7 +292,7 @@ interface AppRadioGroupProps {
292
292
  }
293
293
  declare const AppRadioGroup: ({ options, selectedValue, onChange, className, }: AppRadioGroupProps) => react_jsx_runtime.JSX.Element;
294
294
 
295
- interface AppSelectProps {
295
+ interface AppSelectProps extends SelectProps {
296
296
  className?: string;
297
297
  value?: string | null;
298
298
  dataTestId?: string;
@@ -433,7 +433,8 @@ interface AppPhoneInputProps {
433
433
  countryCode?: string;
434
434
  handleChange: (phone: string, countryCode: string, uniCode: string) => void;
435
435
  className: string;
436
+ id: string;
436
437
  }
437
- declare const AppPhoneInput: ({ value, handleChange, countryCode, className, }: AppPhoneInputProps) => react_jsx_runtime.JSX.Element;
438
+ declare const AppPhoneInput: ({ value, handleChange, countryCode, className, id, }: AppPhoneInputProps) => react_jsx_runtime.JSX.Element;
438
439
 
439
440
  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 };