kdpa-components 1.5.0 → 1.5.2

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.
@@ -3,6 +3,7 @@ export interface KdpaFormFieldProps {
3
3
  name: string;
4
4
  rules: any;
5
5
  Component: React.ElementType;
6
+ autoComplete?: boolean;
6
7
  onChange?: (e: unknown) => void;
7
8
  }
8
9
  declare function KdpaFormField({ name, rules, Component, ...props }: KdpaFormFieldProps): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"KdpaFormField.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/KdpaFormField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,GAAG,CAAC;IACX,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC;IAE7B,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACjC;AAED,iBAAS,aAAa,CAAC,EACrB,IAAS,EACT,KAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,kBAAkB,2CA4BpB;AAED,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"KdpaFormField.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/KdpaFormField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,GAAG,CAAC;IACX,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACjC;AAED,iBAAS,aAAa,CAAC,EACrB,IAAS,EACT,KAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,kBAAkB,2CA6BpB;AAED,eAAe,aAAa,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type KdpaRtlProviderProps = {
3
2
  children: JSX.Element;
4
3
  };
@@ -1 +1 @@
1
- {"version":3,"file":"KdpaRtlProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/ThemeProvider/KdpaRtlProvider.tsx"],"names":[],"mappings":";AAWA,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC;CACvB,CAAC;AAEF,iBAAS,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAEnD;AAED,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"KdpaRtlProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/ThemeProvider/KdpaRtlProvider.tsx"],"names":[],"mappings":"AAWA,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC;CACvB,CAAC;AAEF,iBAAS,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAEnD;AAED,eAAe,eAAe,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface KdpaThemeProviderProps {
3
2
  theme?: object;
4
3
  children: JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"KdpaThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/ThemeProvider/KdpaThemeProvider.tsx"],"names":[],"mappings":";AAGA,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC;CACvB;AAED,iBAAS,iBAAiB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,sBAAsB,2CAGrE;AAED,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"KdpaThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/ThemeProvider/KdpaThemeProvider.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC;CACvB;AAED,iBAAS,iBAAiB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,sBAAsB,2CAGrE;AAED,eAAe,iBAAiB,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type ThemProps = {
3
2
  children: JSX.Element;
4
3
  [x: string]: any;
@@ -1 +1 @@
1
- {"version":3,"file":"Theme.d.ts","sourceRoot":"","sources":["../../../src/config/Theme.tsx"],"names":[],"mappings":";AAOA,KAAK,SAAS,GAAG;IACf,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC;IACtB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCvB,CAAC;AAEF,iBAAS,KAAK,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAM/C;AAED,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Theme.d.ts","sourceRoot":"","sources":["../../../src/config/Theme.tsx"],"names":[],"mappings":"AAOA,KAAK,SAAS,GAAG;IACf,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC;IACtB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCvB,CAAC;AAEF,iBAAS,KAAK,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAM/C;AAED,eAAe,KAAK,CAAC"}
package/package.json CHANGED
@@ -1,108 +1,108 @@
1
- {
2
- "name": "kdpa-components",
3
- "version": "1.5.0",
4
- "private": false,
5
- "type": "module",
6
- "main": "./dist/index.js",
7
- "types": "./dist/types/components/index.d.ts",
8
- "style": "./dist/style.css",
9
- "exports": {
10
- ".": "./dist/index.js"
11
- },
12
- "files": [
13
- "dist/*"
14
- ],
15
- "scripts": {
16
- "dev": "vite",
17
- "build": "tsc && vite build",
18
- "build:pro": "rollup -c",
19
- "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
20
- "preview": "vite preview",
21
- "storybook": "storybook dev -p 6006",
22
- "build-storybook": "storybook build"
23
- },
24
- "dependencies": {
25
- "@date-io/date-fns-jalali": "^2.16.0",
26
- "@emotion/react": "^11.10.6",
27
- "@emotion/styled": "^11.10.6",
28
- "@fontsource/material-icons": "^4.5.4",
29
- "@fontsource/roboto": "^4.5.8",
30
- "@monaco-editor/react": "^4.5.1",
31
- "@mui/icons-material": "^5.11.16",
32
- "@mui/material": "^5.12.2",
33
- "@mui/x-data-grid": "^6.7.0",
34
- "@mui/x-data-grid-pro": "^6.7.0",
35
- "@mui/x-date-pickers": "^6.6.0",
36
- "cssjanus": "^2.1.0",
37
- "date-fns-jalali": "^2.13.0-0",
38
- "dompurify": "^3.0.3",
39
- "moment": "^2.29.4",
40
- "rc-tree-select": "^5.8.0",
41
- "react": "^18.2.0",
42
- "react-checkbox-tree": "^1.8.0",
43
- "react-copy-to-clipboard": "^5.1.0",
44
- "react-data-table-component": "^7.5.3",
45
- "react-dom": "^18.2.0",
46
- "react-dropzone": "^14.2.3",
47
- "react-hook-form": "^7.46.1",
48
- "react-icons": "^4.8.0",
49
- "react-modal-image": "^2.6.0",
50
- "react-perfect-scrollbar": "^1.5.8",
51
- "react-toastify": "^9.1.2",
52
- "reactstrap": "^9.1.9",
53
- "rollup-plugin-dts": "^5.3.0",
54
- "stylis": "^4.2.0",
55
- "stylis-plugin-rtl": "^2.1.1",
56
- "sweetalert2": "^11.7.5",
57
- "sweetalert2-react-content": "^5.0.7",
58
- "vite-plugin-dts": "^2.3.0",
59
- "vite-tsconfig-paths": "^4.2.0"
60
- },
61
- "peerDependencies": {
62
- "react": "^18.2.0",
63
- "react-dom": "^18.2.0"
64
- },
65
- "devDependencies": {
66
- "@rollup/plugin-commonjs": "^25.0.0",
67
- "@rollup/plugin-node-resolve": "^15.1.0",
68
- "@rollup/plugin-typescript": "^11.1.1",
69
- "@storybook/addon-essentials": "7.0.18",
70
- "@storybook/addon-interactions": "7.0.18",
71
- "@storybook/addon-links": "7.0.18",
72
- "@storybook/addon-styling": "^1.0.8",
73
- "@storybook/blocks": "7.0.18",
74
- "@storybook/builder-vite": "^7.0.18",
75
- "@storybook/manager-api": "^7.0.18",
76
- "@storybook/react": "7.0.18",
77
- "@storybook/react-vite": "7.0.18",
78
- "@storybook/testing-library": "0.1.0",
79
- "@storybook/theming": "^7.0.18",
80
- "@types/babel__traverse": "^7.18.5",
81
- "@types/dompurify": "^3.0.2",
82
- "@types/react": "^18.2.7",
83
- "@types/react-copy-to-clipboard": "^5.0.4",
84
- "@types/react-dom": "^18.2.4",
85
- "@types/react-modal-image": "^2.6.0",
86
- "@types/stylis": "^4.0.2",
87
- "@typescript-eslint/eslint-plugin": "^5.57.1",
88
- "@typescript-eslint/parser": "^5.57.1",
89
- "@vitejs/plugin-react": "^4.0.0",
90
- "autoprefixer": "^10.4.14",
91
- "cssnano": "^6.0.1",
92
- "eslint": "^8.38.0",
93
- "eslint-plugin-react-hooks": "^4.6.0",
94
- "eslint-plugin-react-refresh": "^0.3.4",
95
- "eslint-plugin-storybook": "^0.6.12",
96
- "prop-types": "15.8.1",
97
- "rollup": "^2.79.1",
98
- "rollup-plugin-peer-deps-external": "^2.2.4",
99
- "rollup-plugin-postcss": "^4.0.2",
100
- "rollup-plugin-scss": "^4.0.0",
101
- "rollup-plugin-terser": "^7.0.2",
102
- "sass": "^1.62.1",
103
- "storybook": "7.0.18",
104
- "storybook-addon-rtl": "^0.5.0",
105
- "typescript": "^5.0.2",
106
- "vite": "^4.3.2"
107
- }
108
- }
1
+ {
2
+ "name": "kdpa-components",
3
+ "version": "1.5.2",
4
+ "private": false,
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/types/components/index.d.ts",
8
+ "style": "./dist/style.css",
9
+ "exports": {
10
+ ".": "./dist/index.js"
11
+ },
12
+ "files": [
13
+ "dist/*"
14
+ ],
15
+ "scripts": {
16
+ "dev": "vite",
17
+ "build": "tsc && vite build",
18
+ "build:pro": "rollup -c",
19
+ "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
20
+ "preview": "vite preview",
21
+ "storybook": "storybook dev -p 6006",
22
+ "build-storybook": "storybook build"
23
+ },
24
+ "dependencies": {
25
+ "@date-io/date-fns-jalali": "^2.16.0",
26
+ "@emotion/react": "^11.10.6",
27
+ "@emotion/styled": "^11.10.6",
28
+ "@fontsource/material-icons": "^4.5.4",
29
+ "@fontsource/roboto": "^4.5.8",
30
+ "@monaco-editor/react": "^4.5.1",
31
+ "@mui/icons-material": "^5.11.16",
32
+ "@mui/material": "^5.12.2",
33
+ "@mui/x-data-grid": "^6.7.0",
34
+ "@mui/x-data-grid-pro": "^6.7.0",
35
+ "@mui/x-date-pickers": "^6.6.0",
36
+ "cssjanus": "^2.1.0",
37
+ "date-fns-jalali": "^2.13.0-0",
38
+ "dompurify": "^3.0.3",
39
+ "moment": "^2.29.4",
40
+ "rc-tree-select": "^5.8.0",
41
+ "react": "^18.2.0",
42
+ "react-checkbox-tree": "^1.8.0",
43
+ "react-copy-to-clipboard": "^5.1.0",
44
+ "react-data-table-component": "^7.5.3",
45
+ "react-dom": "^18.2.0",
46
+ "react-dropzone": "^14.2.3",
47
+ "react-hook-form": "^7.46.1",
48
+ "react-icons": "^4.8.0",
49
+ "react-modal-image": "^2.6.0",
50
+ "react-perfect-scrollbar": "^1.5.8",
51
+ "react-toastify": "^9.1.2",
52
+ "reactstrap": "^9.1.9",
53
+ "rollup-plugin-dts": "^5.3.0",
54
+ "stylis": "^4.2.0",
55
+ "stylis-plugin-rtl": "^2.1.1",
56
+ "sweetalert2": "^11.7.5",
57
+ "sweetalert2-react-content": "^5.0.7",
58
+ "vite-plugin-dts": "^2.3.0",
59
+ "vite-tsconfig-paths": "^4.2.0"
60
+ },
61
+ "peerDependencies": {
62
+ "react": "^18.2.0",
63
+ "react-dom": "^18.2.0"
64
+ },
65
+ "devDependencies": {
66
+ "@rollup/plugin-commonjs": "^25.0.0",
67
+ "@rollup/plugin-node-resolve": "^15.1.0",
68
+ "@rollup/plugin-typescript": "^11.1.1",
69
+ "@storybook/addon-essentials": "7.0.18",
70
+ "@storybook/addon-interactions": "7.0.18",
71
+ "@storybook/addon-links": "7.0.18",
72
+ "@storybook/addon-styling": "^1.0.8",
73
+ "@storybook/blocks": "7.0.18",
74
+ "@storybook/builder-vite": "^7.0.18",
75
+ "@storybook/manager-api": "^7.0.18",
76
+ "@storybook/react": "7.0.18",
77
+ "@storybook/react-vite": "7.0.18",
78
+ "@storybook/testing-library": "0.1.0",
79
+ "@storybook/theming": "^7.0.18",
80
+ "@types/babel__traverse": "^7.18.5",
81
+ "@types/dompurify": "^3.0.2",
82
+ "@types/react": "^18.2.7",
83
+ "@types/react-copy-to-clipboard": "^5.0.4",
84
+ "@types/react-dom": "^18.2.4",
85
+ "@types/react-modal-image": "^2.6.0",
86
+ "@types/stylis": "^4.0.2",
87
+ "@typescript-eslint/eslint-plugin": "^5.57.1",
88
+ "@typescript-eslint/parser": "^5.57.1",
89
+ "@vitejs/plugin-react": "^4.0.0",
90
+ "autoprefixer": "^10.4.14",
91
+ "cssnano": "^6.0.1",
92
+ "eslint": "^8.38.0",
93
+ "eslint-plugin-react-hooks": "^4.6.0",
94
+ "eslint-plugin-react-refresh": "^0.3.4",
95
+ "eslint-plugin-storybook": "^0.6.12",
96
+ "prop-types": "15.8.1",
97
+ "rollup": "^2.79.1",
98
+ "rollup-plugin-peer-deps-external": "^2.2.4",
99
+ "rollup-plugin-postcss": "^4.0.2",
100
+ "rollup-plugin-scss": "^4.0.0",
101
+ "rollup-plugin-terser": "^7.0.2",
102
+ "sass": "^1.62.1",
103
+ "storybook": "7.0.18",
104
+ "storybook-addon-rtl": "^0.5.0",
105
+ "typescript": "^5.0.2",
106
+ "vite": "^4.3.2"
107
+ }
108
+ }