@symply.io/basic-components 1.0.0-beta.14 → 1.0.0-beta.16

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AlertDialogProps } from "./types";
3
2
  declare const AlertDialog: (props: AlertDialogProps) => JSX.Element;
4
3
  export default AlertDialog;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AutocompleteProps } from "./types";
3
2
  declare function CustomAutocomplete<T, multiple extends boolean | undefined = false>(props: AutocompleteProps<T, multiple>): JSX.Element;
4
3
  export default CustomAutocomplete;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AutocompleteWithFilterProps } from "./types";
3
2
  declare function AutocompleteWithFilter<T, multiple extends boolean | undefined = false>(props: AutocompleteWithFilterProps<T, multiple>): JSX.Element;
4
3
  export default AutocompleteWithFilter;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BasicModalContentProps } from "./types";
3
2
  declare function Content(props: BasicModalContentProps): JSX.Element;
4
3
  export default Content;
@@ -23,7 +23,7 @@ import Grid from "@mui/material/Grid";
23
23
  function Content(props) {
24
24
  var children = props.children, title = props.title, desc = props.desc, _a = props.color, color = _a === void 0 ? "primary" : _a, loading = props.loading, disabled = props.disabled, buttons = props.buttons, _b = props.submitText, submitText = _b === void 0 ? "Save" : _b, _c = props.cancelText, cancelText = _c === void 0 ? "Cancel" : _c, _d = props.showTopRightCloseButton, showTopRightCloseButton = _d === void 0 ? false : _d, _e = props.hideBottomButtons, hideBottomButtons = _e === void 0 ? false : _e, _f = props.noForm, noForm = _f === void 0 ? false : _f, onClose = props.onClose, onSubmit = props.onSubmit;
25
25
  var theme = useTheme();
26
- return (_jsxs(_Fragment, { children: [_jsxs(DialogTitle, __assign({ id: "form-dialog-title", sx: {
26
+ return (_jsxs(_Fragment, { children: [_jsxs(DialogTitle, __assign({ sx: {
27
27
  "& > span": {
28
28
  fontWeight: "700!important"
29
29
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BasicModalProps } from "./types";
3
2
  declare function BasicModal(props: BasicModalProps): JSX.Element;
4
3
  export default BasicModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BasicTableBodyRowProps } from "./types";
3
2
  declare function BasicTableBodyRow(props: BasicTableBodyRowProps): JSX.Element;
4
3
  export default BasicTableBodyRow;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BasicTableFooterProps } from "./types";
3
2
  declare function BasicTableFooter(props: BasicTableFooterProps): JSX.Element;
4
3
  export default BasicTableFooter;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BasicTableHeaderProps } from "./types";
3
2
  declare function BasicTableHeader(props: BasicTableHeaderProps): JSX.Element;
4
3
  export default BasicTableHeader;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BasicTableProps } from "./types";
3
2
  declare function BasicTable(props: BasicTableProps): JSX.Element;
4
3
  export default BasicTable;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BreadCrumbsProps } from "./types";
3
2
  declare function Crumbs(props: BreadCrumbsProps): JSX.Element;
4
3
  export default Crumbs;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CheckBoxProps } from "./types";
3
2
  export declare function CheckBox(props: CheckBoxProps): JSX.Element;
4
3
  export default CheckBox;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CheckBoxGroupProps } from "./types";
3
2
  export declare function CheckBoxGroup(props: CheckBoxGroupProps): JSX.Element;
4
3
  export default CheckBoxGroup;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CopyrightProps } from "./types";
3
2
  declare function Copyright(props: CopyrightProps): JSX.Element;
4
3
  export default Copyright;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DateInputprops } from "./types";
3
2
  export declare function MonthDayYearFormat(str: string): string;
4
3
  export declare function onValidateDate(dateString: string): boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DateInputprops } from "./types";
3
2
  export declare function MonthDayFormat(str: string): string;
4
3
  export declare function onValidateMonthDay(monthDayString: string): boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DateInputprops } from "./types";
3
2
  export declare function MonthYearFormat(str: string): string;
4
3
  export declare function onValidateMonthYear(monthYearString: string): boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DigitInputProps } from "./types";
3
2
  declare function DigitInput(props: DigitInputProps): JSX.Element;
4
3
  export default DigitInput;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { HeaderButtonProps } from "./types";
3
2
  export interface HeaderButtonsProps {
4
3
  buttons: Array<HeaderButtonProps>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FeinInputProps } from "./types";
3
2
  export declare function FeinInputFormat(str: string): string;
4
3
  export declare function onValidateFein(feinString: string): boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormRadioGroupProps } from "./types";
3
2
  declare function FormRadioGroup(props: FormRadioGroupProps): JSX.Element;
4
3
  export default FormRadioGroup;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MultipleSelectorProps } from "./types";
3
2
  declare function MultipleSelector(props: MultipleSelectorProps): JSX.Element;
4
3
  export default MultipleSelector;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SimpleSelectorProps } from "./types";
3
2
  declare function SimpleSelector(props: SimpleSelectorProps): JSX.Element;
4
3
  export default SimpleSelector;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { LoadingModalProps } from "./types";
3
2
  declare function LoadingModal(props: LoadingModalProps): JSX.Element;
4
3
  export default LoadingModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MenuItemProps } from "@mui/material/MenuItem";
3
2
  import { ListItemIconProps } from "@mui/material/ListItemIcon";
4
3
  export interface ButtonItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SidebarItemProps } from "./types";
3
2
  declare function SidebarItem(props: SidebarItemProps): JSX.Element;
4
3
  export default SidebarItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SidebarLinkProps } from "./types";
3
2
  declare function SidebarLink(props: SidebarLinkProps): JSX.Element;
4
3
  export default SidebarLink;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import SidebarItem from "./SidebarItem";
3
2
  import SidebarItemsGroup from "./SidebarItemsGroup";
4
3
  import { SidebarProps } from "./types";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SocialInputProps } from "./types";
3
2
  export declare function SocialInputFormat(str: string): string;
4
3
  export declare function onValidateSocial(socialString: string): boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TablePaginationActionsProps } from "./types";
3
2
  declare function TablePaginationActions(props: TablePaginationActionsProps): JSX.Element;
4
3
  export default TablePaginationActions;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TablePaginationProps } from "./types";
3
2
  declare function Pagination(props: TablePaginationProps): JSX.Element;
4
3
  export default Pagination;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { VideoPlayerModalProps } from "./types";
3
2
  declare function VideoPlayerModal(props: VideoPlayerModalProps): JSX.Element;
4
3
  export default VideoPlayerModal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symply.io/basic-components",
3
- "version": "1.0.0-beta.14",
3
+ "version": "1.0.0-beta.16",
4
4
  "description": "Basic and reusable components for all frontend of Symply apps",
5
5
  "keywords": [
6
6
  "react",
@@ -45,8 +45,8 @@
45
45
  "devDependencies": {
46
46
  "@types/body-parser": "^1.19.2",
47
47
  "@types/reach__router": "^1.3.10",
48
- "@types/react": "17.0.27",
49
- "@types/react-dom": "17.0.9",
48
+ "@types/react": "^17.0.27",
49
+ "@types/react-dom": "^17.0.9",
50
50
  "babel-loader": "^8.2.2",
51
51
  "typescript": "~4.6.3"
52
52
  },
@@ -58,8 +58,6 @@
58
58
  "@mui/system": "~5.4.2",
59
59
  "@reach/router": "^1.3.4",
60
60
  "color-alpha": "^1.1.3",
61
- "react": "17.0.2",
62
- "react-dom": "17.0.2",
63
61
  "react-player": "^2.9.0",
64
62
  "rifm": "^0.12.1"
65
63
  },