mainstack-design-system 0.1.6 → 0.1.8

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.
@@ -5,7 +5,7 @@ export interface IInput extends InputProps {
5
5
  name: string;
6
6
  value?: any;
7
7
  id: string;
8
- onChange?: () => void;
8
+ onChange?: (e?: any) => void;
9
9
  defaultValue?: any;
10
10
  placeholder?: string;
11
11
  type: "text" | "number" | "password";
@@ -5,7 +5,7 @@ interface ITextArea extends TextareaProps {
5
5
  name: string;
6
6
  value?: any;
7
7
  id: string;
8
- onChange?: () => void;
8
+ onChange?: (e?: any) => void;
9
9
  defaultValue?: any;
10
10
  placeholder?: any;
11
11
  error?: boolean;
@@ -5,7 +5,7 @@ interface IInput extends InputProps {
5
5
  name: string;
6
6
  value?: any;
7
7
  id: string;
8
- onChange?: () => void;
8
+ onChange?: (e?: any) => void;
9
9
  defaultValue?: any;
10
10
  placeholder?: any;
11
11
  type?: "text";
@@ -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, ...props }: ICustomTooltip) => import("react/jsx-runtime").JSX.Element;
10
- export default CickTooltip;
9
+ declare const ClickTooltip: ({ label, body, hasSpecialArrow, triggerComponent, ...props }: ICustomTooltip) => import("react/jsx-runtime").JSX.Element;
10
+ export default ClickTooltip;
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "mainstack-design-system",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "main": "build/mainstack-design-system.js",
6
6
  "types": "build/src/index.d.ts",
7
7
  "files": [
8
- "build"
8
+ "build",
9
+ "!/storybook-static",
10
+ "!/stories"
9
11
  ],
10
12
  "scripts": {
11
13
  "dev": "vite",
@@ -16,7 +18,7 @@
16
18
  "ts-error": "tsc",
17
19
  "install:husky": "run-script-os",
18
20
  "install:husky:default": "[ ! -d \"/node_modules/husky/\" ] || husky install",
19
- "install:husky:win32": "",
21
+ "install:husky:win32": "echo \"husky skipped\"",
20
22
  "postinstall": "yarn install:husky",
21
23
  "prepare": "yarn install:husky",
22
24
  "scriptname": "cmd",