@symply.io/basic-components 1.5.8 → 1.6.0-alpha.1

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.
Files changed (51) hide show
  1. package/AlertDialog/index.d.ts +1 -1
  2. package/Autocomplete/index.d.ts +1 -1
  3. package/AutocompleteWithFilter/index.d.ts +1 -1
  4. package/BasicModal/index.d.ts +1 -1
  5. package/BreadCrumbs/index.d.ts +1 -1
  6. package/CheckBox/index.d.ts +1 -1
  7. package/CheckBoxGroup/index.d.ts +1 -1
  8. package/ClickableFabButton/index.d.ts +1 -1
  9. package/ConfirmPasswordInput/index.d.ts +1 -1
  10. package/Copyright/index.d.ts +1 -1
  11. package/DataTable/TableBody.d.ts +1 -1
  12. package/DataTable/TableBodyRow.d.ts +1 -1
  13. package/DataTable/TableFooter.d.ts +1 -1
  14. package/DataTable/TableHeader.d.ts +1 -1
  15. package/DataTable/index.d.ts +1 -1
  16. package/DateInput/FullDateInput/index.d.ts +1 -1
  17. package/DateInput/MonthDayInput/index.d.ts +1 -1
  18. package/DateInput/MonthYearInput/index.d.ts +1 -1
  19. package/DigitInput/index.d.ts +1 -1
  20. package/DynamicHeaderBar/HeaderBar.d.ts +1 -1
  21. package/DynamicHeaderBar/HeaderButtons.d.ts +1 -1
  22. package/DynamicHeaderBar/HeaderLine.d.ts +1 -1
  23. package/DynamicHeaderBar/index.d.ts +1 -1
  24. package/FeinInput/index.d.ts +1 -1
  25. package/FileUploader/index.d.ts +1 -1
  26. package/FormRadioGroup/index.d.ts +1 -1
  27. package/FormSelector/MultipleSelector.d.ts +1 -1
  28. package/FormSelector/SimpleSelector.d.ts +1 -1
  29. package/HelpCaption/index.d.ts +1 -1
  30. package/LoadingModal/Modal.d.ts +1 -1
  31. package/LoadingModal/useLoadingModal.d.ts +1 -1
  32. package/MenuButtonGroup/MenuItem.d.ts +1 -1
  33. package/MenuButtonGroup/index.d.ts +1 -1
  34. package/NumberInput/index.d.ts +1 -1
  35. package/PasswordInput/index.d.ts +1 -1
  36. package/PhoneNumberInput/index.d.ts +1 -1
  37. package/Sidebar/SidebarItem.d.ts +1 -1
  38. package/Sidebar/SidebarItemsGroup.d.ts +1 -1
  39. package/Sidebar/SidebarLink.d.ts +1 -1
  40. package/Sidebar/SidebarLink.js +5 -5
  41. package/Sidebar/index.d.ts +1 -1
  42. package/SocialInput/index.d.ts +1 -1
  43. package/TabGroup/index.d.ts +1 -1
  44. package/TabGroup/types.d.ts +2 -2
  45. package/TablePagination/Actions.d.ts +1 -1
  46. package/TablePagination/index.d.ts +1 -1
  47. package/TextInput/index.d.ts +1 -1
  48. package/TextInput/index.js +2 -2
  49. package/ToastPrompt/index.d.ts +1 -1
  50. package/VideoPlayerModal/index.d.ts +1 -1
  51. package/package.json +8 -9
@@ -1,4 +1,4 @@
1
1
  import type { AlertDialogProps } from "./types";
2
- declare const AlertDialog: (props: AlertDialogProps) => JSX.Element;
2
+ declare const AlertDialog: (props: AlertDialogProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default AlertDialog;
4
4
  export type { AlertDialogProps };
@@ -1,4 +1,4 @@
1
1
  import type { AutocompleteProps, AutocompleteValueType, AutocompleteOptionType } from "./types";
2
- declare function CustomAutocomplete<T, multiple extends boolean | undefined = false>(props: AutocompleteProps<T, multiple>): JSX.Element;
2
+ declare function CustomAutocomplete<T, multiple extends boolean | undefined = false>(props: AutocompleteProps<T, multiple>): import("react/jsx-runtime").JSX.Element;
3
3
  export default CustomAutocomplete;
4
4
  export type { AutocompleteProps, AutocompleteValueType, AutocompleteOptionType };
@@ -1,4 +1,4 @@
1
1
  import type { AutocompleteWithFilterProps, AutocompleteWithFilterValueType, AutocompleteWithFilterOptionType } from "./types";
2
- declare function AutocompleteWithFilter<T, multiple extends boolean | undefined = false>(props: AutocompleteWithFilterProps<T, multiple>): JSX.Element;
2
+ declare function AutocompleteWithFilter<T, multiple extends boolean | undefined = false>(props: AutocompleteWithFilterProps<T, multiple>): import("react/jsx-runtime").JSX.Element;
3
3
  export default AutocompleteWithFilter;
4
4
  export type { AutocompleteWithFilterProps, AutocompleteWithFilterValueType, AutocompleteWithFilterOptionType };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import type { BasicModalProps, BasicModalRefProps } from "./types";
3
- declare const BasicModalWithRefForward: import("react").ForwardRefExoticComponent<Pick<BasicModalProps, "maxWidth" | "classes" | "slot" | "style" | "title" | "desc" | "className" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "open" | "sx" | "transitionDuration" | "components" | "componentsProps" | "key" | "nonce" | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "container" | "disableAutoFocus" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disablePortal" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "keepMounted" | "onBackdropClick" | "onClose" | "primaryColor" | "secondaryColor" | "disabled" | "fullWidth" | "fullScreen" | "TransitionComponent" | "loading" | "buttons" | "noForm" | "submitText" | "cancelText" | "hideBottomButtons" | "showTopRightCloseButton" | "PaperComponent" | "PaperProps" | "scroll" | "TransitionProps"> & import("react").RefAttributes<BasicModalRefProps>>;
3
+ declare const BasicModalWithRefForward: import("react").ForwardRefExoticComponent<Omit<BasicModalProps, "ref"> & import("react").RefAttributes<BasicModalRefProps>>;
4
4
  export default BasicModalWithRefForward;
5
5
  export type { BasicModalProps, BasicModalRefProps };
@@ -1,4 +1,4 @@
1
1
  import type { BreadCrumbsProps } from "./types";
2
- declare function Crumbs(props: BreadCrumbsProps): JSX.Element;
2
+ declare function Crumbs(props: BreadCrumbsProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default Crumbs;
4
4
  export type { BreadCrumbsProps };
@@ -1,4 +1,4 @@
1
1
  import { CheckBoxProps } from "./types";
2
- declare function CheckBox(props: CheckBoxProps): JSX.Element;
2
+ declare function CheckBox(props: CheckBoxProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default CheckBox;
4
4
  export type { CheckBoxProps };
@@ -1,4 +1,4 @@
1
1
  import type { CheckBoxGroupProps } from "./types";
2
- declare function CheckBoxGroup(props: CheckBoxGroupProps): JSX.Element;
2
+ declare function CheckBoxGroup(props: CheckBoxGroupProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default CheckBoxGroup;
4
4
  export type { CheckBoxGroupProps };
@@ -1,3 +1,3 @@
1
1
  import type { ClickableFabButtonProps } from "./types";
2
- declare function ClickableFabButton(props: ClickableFabButtonProps): JSX.Element;
2
+ declare function ClickableFabButton(props: ClickableFabButtonProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default ClickableFabButton;
@@ -1,4 +1,4 @@
1
1
  import type { ConfirmPasswordInputProps } from "./types";
2
- declare function ConfirmPasswordInput(props: ConfirmPasswordInputProps): JSX.Element;
2
+ declare function ConfirmPasswordInput(props: ConfirmPasswordInputProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default ConfirmPasswordInput;
4
4
  export type { ConfirmPasswordInputProps };
@@ -1,4 +1,4 @@
1
1
  import type { CopyrightProps } from "./types";
2
- declare function Copyright(props: CopyrightProps): JSX.Element;
2
+ declare function Copyright(props: CopyrightProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default Copyright;
4
4
  export type { CopyrightProps };
@@ -1,3 +1,3 @@
1
1
  import { TableBodyProps, KvProps } from "./types";
2
- declare function TBody<RowProps extends KvProps, ExtendedProps extends KvProps>(props: TableBodyProps<RowProps, ExtendedProps>): JSX.Element;
2
+ declare function TBody<RowProps extends KvProps, ExtendedProps extends KvProps>(props: TableBodyProps<RowProps, ExtendedProps>): import("react/jsx-runtime").JSX.Element;
3
3
  export default TBody;
@@ -1,3 +1,3 @@
1
1
  import { TableBodyRowProps, KvProps } from "./types";
2
- declare function TableBodyRow<RowProps extends KvProps, ExtendedProps extends KvProps>(props: TableBodyRowProps<RowProps, ExtendedProps>): JSX.Element;
2
+ declare function TableBodyRow<RowProps extends KvProps, ExtendedProps extends KvProps>(props: TableBodyRowProps<RowProps, ExtendedProps>): import("react/jsx-runtime").JSX.Element;
3
3
  export default TableBodyRow;
@@ -1,3 +1,3 @@
1
1
  import { TableFooterProps, KvProps } from "./types";
2
- declare function TableFooter<RowProps extends KvProps, ExtendedProps extends KvProps>(props: TableFooterProps<RowProps, ExtendedProps>): JSX.Element;
2
+ declare function TableFooter<RowProps extends KvProps, ExtendedProps extends KvProps>(props: TableFooterProps<RowProps, ExtendedProps>): import("react/jsx-runtime").JSX.Element;
3
3
  export default TableFooter;
@@ -1,3 +1,3 @@
1
1
  import { TableHeaderProps, KvProps } from "./types";
2
- declare function TableHeader<RowProps extends KvProps, ExtendedProps extends KvProps>(props: TableHeaderProps<RowProps, ExtendedProps>): JSX.Element;
2
+ declare function TableHeader<RowProps extends KvProps, ExtendedProps extends KvProps>(props: TableHeaderProps<RowProps, ExtendedProps>): import("react/jsx-runtime").JSX.Element;
3
3
  export default TableHeader;
@@ -1,6 +1,6 @@
1
1
  import useDataTable from "./useTable";
2
2
  import { DataTableProps, KvProps } from "./types";
3
- declare function DataTable<RowProps extends KvProps, ExtendedProps extends KvProps>(props: DataTableProps<RowProps, ExtendedProps>): JSX.Element;
3
+ declare function DataTable<RowProps extends KvProps, ExtendedProps extends KvProps>(props: DataTableProps<RowProps, ExtendedProps>): import("react/jsx-runtime").JSX.Element;
4
4
  export default DataTable;
5
5
  export * from "./types";
6
6
  export { useDataTable };
@@ -1,5 +1,5 @@
1
1
  import { DateInputprops } from "./types";
2
2
  export declare function MonthDayYearFormat(str: string): string;
3
3
  export declare function onValidateDate(dateString: string): boolean;
4
- declare function FullDateInput(props: DateInputprops): JSX.Element;
4
+ declare function FullDateInput(props: DateInputprops): import("react/jsx-runtime").JSX.Element;
5
5
  export default FullDateInput;
@@ -1,5 +1,5 @@
1
1
  import { DateInputprops } from "./types";
2
2
  export declare function MonthDayFormat(str: string): string;
3
3
  export declare function onValidateMonthDay(monthDayString: string): boolean;
4
- declare function MonthDayInput(props: DateInputprops): JSX.Element;
4
+ declare function MonthDayInput(props: DateInputprops): import("react/jsx-runtime").JSX.Element;
5
5
  export default MonthDayInput;
@@ -1,5 +1,5 @@
1
1
  import { DateInputprops } from "./types";
2
2
  export declare function MonthYearFormat(str: string): string;
3
3
  export declare function onValidateMonthYear(monthYearString: string): boolean;
4
- declare function MonthYearInput(props: DateInputprops): JSX.Element;
4
+ declare function MonthYearInput(props: DateInputprops): import("react/jsx-runtime").JSX.Element;
5
5
  export default MonthYearInput;
@@ -1,4 +1,4 @@
1
1
  import type { DigitInputProps } from "./types";
2
- declare function DigitInput(props: DigitInputProps): JSX.Element;
2
+ declare function DigitInput(props: DigitInputProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default DigitInput;
4
4
  export type { DigitInputProps };
@@ -1,3 +1,3 @@
1
1
  import type { HeaderBarProps } from "./types";
2
- declare function HeaderBar(props: HeaderBarProps): JSX.Element;
2
+ declare function HeaderBar(props: HeaderBarProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default HeaderBar;
@@ -5,5 +5,5 @@ interface HeaderButtonsProps {
5
5
  primaryColor?: CSSProperties["color"];
6
6
  secondaryColor?: CSSProperties["color"];
7
7
  }
8
- declare function HeaderButtons(props: HeaderButtonsProps): JSX.Element;
8
+ declare function HeaderButtons(props: HeaderButtonsProps): import("react/jsx-runtime").JSX.Element;
9
9
  export default HeaderButtons;
@@ -1,3 +1,3 @@
1
1
  import type { HeaderLineProps } from "./types";
2
- declare function HeaderLine(props: HeaderLineProps): JSX.Element;
2
+ declare function HeaderLine(props: HeaderLineProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default HeaderLine;
@@ -1,5 +1,5 @@
1
1
  import type { HeaderContextProps, HeaderProviderProps } from "./types";
2
- export declare function HeaderProvider(props: HeaderProviderProps): JSX.Element;
2
+ export declare function HeaderProvider(props: HeaderProviderProps): import("react/jsx-runtime").JSX.Element;
3
3
  export declare function useHeaderBar(): HeaderContextProps;
4
4
  export { default } from "./HeaderBar";
5
5
  export { default as HeaderButtons } from "./HeaderButtons";
@@ -1,6 +1,6 @@
1
1
  import type { FeinInputProps } from "./types";
2
2
  export declare function FeinInputFormat(str: string): string;
3
3
  export declare function onValidateFein(feinString: string): boolean;
4
- declare function FeinInput(props: FeinInputProps): JSX.Element;
4
+ declare function FeinInput(props: FeinInputProps): import("react/jsx-runtime").JSX.Element;
5
5
  export default FeinInput;
6
6
  export type { FeinInputProps };
@@ -1,4 +1,4 @@
1
1
  import type { FileUploaderProps } from "./types";
2
- declare function FileUploader(props: FileUploaderProps): JSX.Element;
2
+ declare function FileUploader(props: FileUploaderProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default FileUploader;
4
4
  export type { FileUploaderProps };
@@ -1,4 +1,4 @@
1
1
  import type { RadioOption, FormRadioGroupProps } from "./types";
2
- declare function FormRadioGroup(props: FormRadioGroupProps): JSX.Element;
2
+ declare function FormRadioGroup(props: FormRadioGroupProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default FormRadioGroup;
4
4
  export type { RadioOption, FormRadioGroupProps };
@@ -1,3 +1,3 @@
1
1
  import { MultipleSelectorProps } from "./types";
2
- declare function MultipleSelector(props: MultipleSelectorProps): JSX.Element;
2
+ declare function MultipleSelector(props: MultipleSelectorProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default MultipleSelector;
@@ -1,3 +1,3 @@
1
1
  import { SimpleSelectorProps } from "./types";
2
- declare function SimpleSelector(props: SimpleSelectorProps): JSX.Element;
2
+ declare function SimpleSelector(props: SimpleSelectorProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default SimpleSelector;
@@ -8,5 +8,5 @@ export declare type HelpCaptionProps = {
8
8
  primaryColor?: CSSProperties["color"];
9
9
  secondaryColor?: CSSProperties["color"];
10
10
  };
11
- declare function HelpCaption(props: HelpCaptionProps): JSX.Element;
11
+ declare function HelpCaption(props: HelpCaptionProps): import("react/jsx-runtime").JSX.Element;
12
12
  export default HelpCaption;
@@ -1,3 +1,3 @@
1
1
  import { LoadingModalProps } from "./types";
2
- declare function LoadingModal(props: LoadingModalProps): JSX.Element;
2
+ declare function LoadingModal(props: LoadingModalProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default LoadingModal;
@@ -1,3 +1,3 @@
1
1
  import { LoadingModalContextProps, LoadingModalProviderProps } from "./types";
2
- export declare function LoadingModalProvider(props: LoadingModalProviderProps): JSX.Element;
2
+ export declare function LoadingModalProvider(props: LoadingModalProviderProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default function useLoadingModal(): LoadingModalContextProps;
@@ -6,5 +6,5 @@ export interface ButtonItemProps {
6
6
  disabled?: boolean;
7
7
  onClick: MenuItemProps["onClick"];
8
8
  }
9
- declare function ButtonMenuItem(props: ButtonItemProps): JSX.Element;
9
+ declare function ButtonMenuItem(props: ButtonItemProps): import("react/jsx-runtime").JSX.Element;
10
10
  export default ButtonMenuItem;
@@ -11,5 +11,5 @@ export interface MenuButtonGroupProps {
11
11
  primaryColor?: CSSProperties["color"];
12
12
  secondaryColor?: CSSProperties["color"];
13
13
  }
14
- declare function MenuButtonGroup(props: MenuButtonGroupProps): JSX.Element;
14
+ declare function MenuButtonGroup(props: MenuButtonGroupProps): import("react/jsx-runtime").JSX.Element;
15
15
  export default MenuButtonGroup;
@@ -1,4 +1,4 @@
1
1
  import type { NumberInputProps } from "./types";
2
- declare function NumberInput(props: NumberInputProps): JSX.Element;
2
+ declare function NumberInput(props: NumberInputProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default NumberInput;
4
4
  export type { NumberInputProps };
@@ -1,6 +1,6 @@
1
1
  import type { PasswordInputProps, PasswordStrategyProps } from "./types";
2
2
  declare function onValidatePassword(password: string): boolean;
3
- declare function PasswordInput(props: PasswordInputProps): JSX.Element;
3
+ declare function PasswordInput(props: PasswordInputProps): import("react/jsx-runtime").JSX.Element;
4
4
  export default PasswordInput;
5
5
  export { onValidatePassword };
6
6
  export type { PasswordInputProps, PasswordStrategyProps };
@@ -11,5 +11,5 @@ export interface PhoneInputProps extends Omit<TextFieldProps, "onChange"> {
11
11
  }
12
12
  export declare function onValidatePhone(str: string): boolean;
13
13
  export declare function phoneFormat(str: string): string;
14
- declare function PhoneInput(props: PhoneInputProps): JSX.Element;
14
+ declare function PhoneInput(props: PhoneInputProps): import("react/jsx-runtime").JSX.Element;
15
15
  export default PhoneInput;
@@ -1,3 +1,3 @@
1
1
  import { SidebarItemProps } from "./types";
2
- declare function SidebarItem(props: SidebarItemProps): JSX.Element;
2
+ declare function SidebarItem(props: SidebarItemProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default SidebarItem;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { SidebarItemsGroupProps } from "./types";
3
- declare function SidebarItemsGroup(props: SidebarItemsGroupProps): JSX.Element;
3
+ declare function SidebarItemsGroup(props: SidebarItemsGroupProps): import("react/jsx-runtime").JSX.Element;
4
4
  declare const _default: import("react").MemoExoticComponent<typeof SidebarItemsGroup>;
5
5
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import { SidebarLinkProps } from "./types";
2
- declare function SidebarLink(props: SidebarLinkProps): JSX.Element;
2
+ declare function SidebarLink(props: SidebarLinkProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default SidebarLink;
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx } from "react/jsx-runtime";
23
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
24
24
  import { Link, useLocation } from "@reach/router";
25
25
  import useTheme from "@mui/material/styles/useTheme";
26
26
  import SidebarItem from "./SidebarItem";
@@ -28,9 +28,9 @@ function SidebarLink(props) {
28
28
  var pathname = useLocation().pathname;
29
29
  var id = props.id, name = props.name, path = props.path, icon = props.icon, lock = props.lock, beta = props.beta, active = props.active, titleForLock = props.titleForLock, betaTagColor = props.betaTagColor, rest = __rest(props, ["id", "name", "path", "icon", "lock", "beta", "active", "titleForLock", "betaTagColor"]);
30
30
  var theme = useTheme();
31
- return (_jsx(Link, __assign({ id: id, to: lock ? pathname : path, title: lock ? titleForLock || "Feature is unavailable on Free plan" : name, style: {
32
- color: theme.palette.primary.main,
33
- textDecoration: "none"
34
- } }, { children: _jsx(SidebarItem, __assign({ name: name, icon: icon, lock: lock, beta: beta, active: active, betaTagColor: betaTagColor }, rest), name) })));
31
+ return (_jsx(_Fragment, { children: _jsx(Link, __assign({ id: id, to: lock ? pathname : path, title: lock ? titleForLock || "Feature is unavailable on Free plan" : name, style: {
32
+ color: theme.palette.primary.main,
33
+ textDecoration: "none"
34
+ } }, { children: _jsx(SidebarItem, __assign({ name: name, icon: icon, lock: lock, beta: beta, active: active, betaTagColor: betaTagColor }, rest), name) })) }));
35
35
  }
36
36
  export default SidebarLink;
@@ -1,7 +1,7 @@
1
1
  import SidebarItem from "./SidebarItem";
2
2
  import SidebarItemsGroup from "./SidebarItemsGroup";
3
3
  import { SidebarProps } from "./types";
4
- declare function Sidebar(props: SidebarProps): JSX.Element;
4
+ declare function Sidebar(props: SidebarProps): import("react/jsx-runtime").JSX.Element;
5
5
  export default Sidebar;
6
6
  export { SidebarItem, SidebarItemsGroup };
7
7
  export * from "./types";
@@ -1,6 +1,6 @@
1
1
  import type { SocialInputProps } from "./types";
2
2
  export declare function SocialInputFormat(str: string): string;
3
3
  export declare function onValidateSocial(socialString: string): boolean;
4
- declare function SocialInput(props: SocialInputProps): JSX.Element;
4
+ declare function SocialInput(props: SocialInputProps): import("react/jsx-runtime").JSX.Element;
5
5
  export default SocialInput;
6
6
  export type { SocialInputProps };
@@ -1,4 +1,4 @@
1
1
  import type { TabGroupProps } from "./types";
2
- declare function TabGroup(props: TabGroupProps): JSX.Element;
2
+ declare function TabGroup(props: TabGroupProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default TabGroup;
4
4
  export type { TabGroupProps };
@@ -1,5 +1,5 @@
1
- import { CSSProperties } from "react";
2
- import { TabsProps } from "@mui/material/Tabs";
1
+ import type { CSSProperties } from "react";
2
+ import type { TabsProps } from "@mui/material/Tabs";
3
3
  export interface TabGroupProps extends Omit<TabsProps, "onChange"> {
4
4
  tabs: Array<{
5
5
  key: string;
@@ -1,3 +1,3 @@
1
1
  import { TablePaginationActionsProps } from "./types";
2
- declare function TablePaginationActions(props: TablePaginationActionsProps): JSX.Element;
2
+ declare function TablePaginationActions(props: TablePaginationActionsProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default TablePaginationActions;
@@ -1,4 +1,4 @@
1
1
  import type { TablePaginationProps } from "./types";
2
- declare function Pagination(props: TablePaginationProps): JSX.Element;
2
+ declare function Pagination(props: TablePaginationProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default Pagination;
4
4
  export type { TablePaginationProps };
@@ -9,5 +9,5 @@ export interface TextInputProps extends Omit<TextFieldProps, "onChange"> {
9
9
  primaryColor?: CSSProperties["color"];
10
10
  secondaryColor?: CSSProperties["color"];
11
11
  }
12
- declare function TextInput(props: TextInputProps): JSX.Element;
12
+ declare function TextInput(props: TextInputProps): import("react/jsx-runtime").JSX.Element;
13
13
  export default TextInput;
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import { jsx as _jsx } from "react/jsx-runtime";
23
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
24
24
  import Tooltip from "@mui/material/Tooltip";
25
25
  import Field from "@mui/material/TextField";
26
26
  import ThemeProvider from "@mui/material/styles/ThemeProvider";
@@ -30,7 +30,7 @@ function TextInput(props) {
30
30
  var _a = props.type, type = _a === void 0 ? "text" : _a, onChange = props.onChange, value = props.value, _b = props.size, size = _b === void 0 ? "small" : _b, tooltip = props.tooltip, _c = props.maxLength, maxLength = _c === void 0 ? 999 : _c, _d = props.minLength, minLength = _d === void 0 ? 0 : _d, primaryColor = props.primaryColor, secondaryColor = props.secondaryColor, onBlur = props.onBlur, onFocus = props.onFocus, rest = __rest(props, ["type", "onChange", "value", "size", "tooltip", "maxLength", "minLength", "primaryColor", "secondaryColor", "onBlur", "onFocus"]);
31
31
  var theme = useCustomTheme({ primaryColor: primaryColor, secondaryColor: secondaryColor });
32
32
  var _e = useInteractions(), tooltipOpen = _e.tooltipOpen, onOpenTooltip = _e.onOpenTooltip, onCloseTooltip = _e.onCloseTooltip;
33
- return (_jsx(ThemeProvider, __assign({ theme: theme }, { children: _jsx(Tooltip, __assign({ arrow: true, placement: "top", title: tooltip !== null && tooltip !== void 0 ? tooltip : "", open: !!tooltip && tooltipOpen }, { children: _jsx(Field, __assign({ size: size, margin: "dense", type: type, value: value, onMouseEnter: onOpenTooltip, onMouseLeave: onCloseTooltip, onFocus: function (event) {
33
+ return (_jsx(ThemeProvider, __assign({ theme: theme }, { children: _jsx(Tooltip, __assign({ arrow: true, placement: "top", title: _jsx(_Fragment, { children: tooltip !== null && tooltip !== void 0 ? tooltip : "" }), open: !!tooltip && tooltipOpen }, { children: _jsx(Field, __assign({ size: size, margin: "dense", type: type, value: value, onMouseEnter: onOpenTooltip, onMouseLeave: onCloseTooltip, onFocus: function (event) {
34
34
  if (onFocus) {
35
35
  onFocus(event);
36
36
  }
@@ -1,3 +1,3 @@
1
1
  import type { PromptProviderProps, PromptContextProps } from "./types";
2
- export declare function PromptProvider(props: PromptProviderProps): JSX.Element;
2
+ export declare function PromptProvider(props: PromptProviderProps): import("react/jsx-runtime").JSX.Element;
3
3
  export declare function usePrompt(): PromptContextProps;
@@ -1,4 +1,4 @@
1
1
  import type { VideoPlayerModalProps } from "./types";
2
- declare function VideoPlayerModal(props: VideoPlayerModalProps): JSX.Element;
2
+ declare function VideoPlayerModal(props: VideoPlayerModalProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default VideoPlayerModal;
4
4
  export type { VideoPlayerModalProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symply.io/basic-components",
3
- "version": "1.5.8",
3
+ "version": "1.6.0-alpha.1",
4
4
  "description": "Basic and reusable components for all frontend of Symply apps",
5
5
  "keywords": [
6
6
  "react",
@@ -43,18 +43,18 @@
43
43
  ],
44
44
  "devDependencies": {
45
45
  "@types/body-parser": "^1.19.2",
46
- "@types/reach__router": "^1.3.10",
47
- "@types/react": "^17.0.27",
48
- "@types/react-dom": "^17.0.9",
46
+ "@types/reach__router": "^1.3.11",
47
+ "@types/react": "^18.2.16",
48
+ "@types/react-dom": "^18.2.7",
49
49
  "babel-loader": "^8.2.2",
50
50
  "typescript": "~4.6.3"
51
51
  },
52
52
  "dependencies": {
53
53
  "@emotion/react": "^11.7.1",
54
54
  "@emotion/styled": "^11.6.0",
55
- "@mui/icons-material": "~5.4.2",
56
- "@mui/material": "~5.4.2",
57
- "@mui/system": "~5.4.2",
55
+ "@mui/icons-material": "5.14.18",
56
+ "@mui/material": "5.11.0",
57
+ "@mui/system": "5.11.0",
58
58
  "@reach/router": "^1.3.4",
59
59
  "color-alpha": "^1.1.3",
60
60
  "react-dropzone": "~14.2.3",
@@ -63,8 +63,7 @@
63
63
  },
64
64
  "resolutions": {
65
65
  "react-player": "2.11.0",
66
- "@types/react": "17.0.27",
67
- "@types/react-dom": "17.0.9"
66
+ "@types/reach__router": "1.3.11"
68
67
  },
69
68
  "scripts": {
70
69
  "build": "./node_modules/.bin/tsc"