mainstack-design-system 0.1.3 → 0.1.5

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.
@@ -9,5 +9,5 @@ export interface IconButtonProps extends ButtonProps {
9
9
  variant: "primary" | "secondary" | "tertiary" | "outline" | "link";
10
10
  disabled?: boolean;
11
11
  }
12
- declare const IconButton: ({ children, size, bgColor, variant, disabled, textColor, onClick, }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
12
+ declare const IconButton: ({ children, size, bgColor, variant, disabled, textColor, onClick, ...props }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
13
13
  export default IconButton;
@@ -16,5 +16,5 @@ export interface IInput extends InputProps {
16
16
  hint?: string;
17
17
  width?: string;
18
18
  }
19
- declare const Input: ({ label, name, id, value, onChange, defaultValue, placeholder, error, errorMessage, success, successMessage, hint, type, width, }: IInput) => import("react/jsx-runtime").JSX.Element;
19
+ declare const Input: ({ label, name, id, value, onChange, defaultValue, placeholder, error, errorMessage, success, successMessage, hint, type, width, ...props }: IInput) => import("react/jsx-runtime").JSX.Element;
20
20
  export default Input;
@@ -12,5 +12,5 @@ type MarkdownEditorWithExclusiveValues = (IMarkdownEditor & {
12
12
  defaultValue?: string;
13
13
  value?: never;
14
14
  });
15
- declare const MarkdownEditor: ({ defaultValue, onChange, border, placeholder, value, onHandleFile, label, }: MarkdownEditorWithExclusiveValues) => import("react/jsx-runtime").JSX.Element;
15
+ declare const MarkdownEditor: ({ defaultValue, onChange, border, placeholder, value, onHandleFile, label, ...props }: MarkdownEditorWithExclusiveValues) => import("react/jsx-runtime").JSX.Element;
16
16
  export default MarkdownEditor;
@@ -14,5 +14,5 @@ export interface ISearchInput extends InputProps {
14
14
  hint?: string;
15
15
  onClear?: any;
16
16
  }
17
- declare const SearchInput: ({ name, id, value, onChange, defaultValue, placeholder, onClear, }: ISearchInput) => import("react/jsx-runtime").JSX.Element;
17
+ declare const SearchInput: ({ name, id, value, onChange, defaultValue, placeholder, onClear, ...props }: ISearchInput) => import("react/jsx-runtime").JSX.Element;
18
18
  export default SearchInput;
@@ -15,5 +15,5 @@ interface ITextArea extends TextareaProps {
15
15
  height?: string;
16
16
  width?: string;
17
17
  }
18
- declare const TextArea: ({ label, name, id, value, onChange, defaultValue, placeholder, error, errorMessage, textLimit, height, width, }: ITextArea) => import("react/jsx-runtime").JSX.Element;
18
+ declare const TextArea: ({ label, name, id, value, onChange, defaultValue, placeholder, error, errorMessage, textLimit, height, width, ...props }: ITextArea) => import("react/jsx-runtime").JSX.Element;
19
19
  export default TextArea;
@@ -9,5 +9,5 @@ export interface TileProps {
9
9
  hasRadioButton?: boolean;
10
10
  onClick?: () => void;
11
11
  }
12
- declare const Tile: ({ icon, iconPosition, hasRadioButton, isSelected, title, subText, onClick, }: TileProps) => import("react/jsx-runtime").JSX.Element;
12
+ declare const Tile: ({ icon, iconPosition, hasRadioButton, isSelected, title, subText, onClick, ...props }: TileProps) => import("react/jsx-runtime").JSX.Element;
13
13
  export default Tile;
@@ -10,5 +10,5 @@ export interface IFileUpload {
10
10
  headerText?: string;
11
11
  subtitleText?: string;
12
12
  }
13
- declare const FileUploader: ({ file, onHandleChange, sizeLimit, fileActionPopover, accept, fileTypeIcon, headerText, subtitleText, }: IFileUpload) => import("react/jsx-runtime").JSX.Element;
13
+ declare const FileUploader: ({ file, onHandleChange, sizeLimit, fileActionPopover, accept, fileTypeIcon, headerText, subtitleText, ...props }: IFileUpload) => import("react/jsx-runtime").JSX.Element;
14
14
  export default FileUploader;
@@ -7,5 +7,5 @@ export interface PaginationProps {
7
7
  total?: number;
8
8
  options?: any;
9
9
  }
10
- declare const Pagination: ({ limit, setLimit, page, setPage, total, options, }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
10
+ declare const Pagination: ({ limit, setLimit, page, setPage, total, options, ...props }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
11
11
  export default Pagination;
@@ -7,5 +7,5 @@ interface Props {
7
7
  hasProceedButton?: boolean;
8
8
  hasCloseButton?: boolean;
9
9
  }
10
- declare const Banner: ({ variant, onProceed, message, buttonText, hasProceedButton, hasCloseButton, }: Props) => import("react/jsx-runtime").JSX.Element;
10
+ declare const Banner: ({ variant, onProceed, message, buttonText, hasProceedButton, hasCloseButton, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
11
11
  export default Banner;
@@ -6,5 +6,5 @@ export interface ICustomTooltip {
6
6
  label: string;
7
7
  hasSpecialArrow?: boolean;
8
8
  }
9
- declare const CickTooltip: ({ label, body, hasSpecialArrow, triggerComponent, }: ICustomTooltip) => import("react/jsx-runtime").JSX.Element;
9
+ declare const CickTooltip: ({ label, body, hasSpecialArrow, triggerComponent, ...props }: ICustomTooltip) => import("react/jsx-runtime").JSX.Element;
10
10
  export default CickTooltip;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mainstack-design-system",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "main": "build/mainstack-design-system.js",
6
6
  "types": "build/src/index.d.ts",
@@ -14,9 +14,9 @@
14
14
  "format": "prettier src -c --write && pretty-quick --staged",
15
15
  "lint": "eslint src --ext .js,.jsx,.ts,.tsx --quiet --fix",
16
16
  "ts-error": "tsc",
17
- "install:husky":"run-script-os",
17
+ "install:husky": "run-script-os",
18
18
  "install:husky:default": "[ ! -d \"/node_modules/husky/\" ] || husky install",
19
- "install:husky:win32": "if (Test-Path -Path \"node_modules\\husky\\\") {husky install}",
19
+ "install:husky:win32": "husky install",
20
20
  "postinstall": "yarn install:husky",
21
21
  "prepare": "yarn install:husky",
22
22
  "scriptname": "cmd",