1mpacto-react-ui 0.0.121 → 0.0.123

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,4 @@
1
1
  import { ITabs } from '../../interfaces/components/Tabs';
2
2
 
3
- declare const Tabs: ({ id, value, keyValueTab, tabsList, className, classNameContainer, classNameButton, variant, size, borderRadius, disabled, animation, mountedExecuteChange, onChange, }: ITabs) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Tabs: ({ id, value, keyValueTab, tabsList, className, classNameContainer, classNameButton, variant, size, borderRadius, disabled, animation, mountedExecuteChange, typeButton, onChange, }: ITabs) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Tabs;
@@ -24,6 +24,7 @@ export interface ITabs {
24
24
  animation?: boolean;
25
25
  mountedExecuteChange?: boolean;
26
26
  onChange?: (v: ITabsList) => void;
27
+ typeButton?: 'button' | 'submit';
27
28
  }
28
29
  export interface IStyleTabs {
29
30
  width: number;
@@ -1,12 +1,12 @@
1
- /* eslint-disable @typescript-eslint/no-unused-vars */
2
- import '@tanstack/react-table';
3
-
4
- declare module '@tanstack/react-table' {
5
- interface ColumnMeta<TData extends RowData, TValue> {
6
- styleTd?: (original: RowData, row: Row<unknown>) => React.CSSProperties;
7
- classNameTd?: (original: RowData, row: Row<unknown>) => string;
8
- styleTh?: (header: Header<unknown, unknown>) => React.CSSProperties;
9
- colSpan?: (header: Header<unknown, unknown>) => number;
10
- rowSpan?: (header: Header<unknown, unknown>) => number;
11
- }
12
- }
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
2
+ import '@tanstack/react-table';
3
+
4
+ declare module '@tanstack/react-table' {
5
+ interface ColumnMeta<TData extends RowData, TValue> {
6
+ styleTd?: (original: RowData, row: Row<unknown>) => React.CSSProperties;
7
+ classNameTd?: (original: RowData, row: Row<unknown>) => string;
8
+ styleTh?: (header: Header<unknown, unknown>) => React.CSSProperties;
9
+ colSpan?: (header: Header<unknown, unknown>) => number;
10
+ rowSpan?: (header: Header<unknown, unknown>) => number;
11
+ }
12
+ }
package/package.json CHANGED
@@ -1,108 +1,108 @@
1
- {
2
- "name": "1mpacto-react-ui",
3
- "private": false,
4
- "version": "0.0.121",
5
- "type": "module",
6
- "scripts": {
7
- "copy:toastify-css": "cp ./node_modules/react-toastify/dist/ReactToastify.css ./dist/assets/toast.css",
8
- "dev": "vite",
9
- "build": "tsc -b && vite build && npm run build:css",
10
- "build:css": "tailwindcss -i ./src/styles/index.scss -o ./dist/assets/core.css --minify && npm run copy:toastify-css",
11
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
12
- "preview": "vite preview",
13
- "prepare": "husky && npm run build",
14
- "watch:build": "npx watch \"npm run build\" ./src",
15
- "storybook": "storybook dev -p 6006",
16
- "build-storybook": "storybook build",
17
- "postbuild": "copyfiles -f src/types/* dist/types-external/",
18
- "install": "copyfiles -f dist/types-external/* ../../src/types/"
19
- },
20
- "devDependencies": {
21
- "@chromatic-com/storybook": "^3.2.2",
22
- "@storybook/addon-essentials": "^8.4.7",
23
- "@storybook/addon-interactions": "^8.4.7",
24
- "@storybook/addon-onboarding": "^8.4.7",
25
- "@storybook/blocks": "^8.4.7",
26
- "@storybook/react": "^8.4.7",
27
- "@storybook/react-vite": "^8.4.7",
28
- "@storybook/test": "^8.4.7",
29
- "@types/js-cookie": "^3.0.6",
30
- "@types/node": "^20.14.10",
31
- "@types/react": "^18.3.3",
32
- "@types/react-dom": "^18.3.0",
33
- "@typescript-eslint/eslint-plugin": "^7.13.1",
34
- "@typescript-eslint/parser": "^7.13.1",
35
- "@vitejs/plugin-react-swc": "^3.5.0",
36
- "autoprefixer": "^10.4.19",
37
- "eslint": "^8.57.0",
38
- "eslint-config-prettier": "^9.1.0",
39
- "eslint-plugin-prettier": "^5.1.3",
40
- "eslint-plugin-react": "^7.34.3",
41
- "eslint-plugin-react-hooks": "^4.6.2",
42
- "eslint-plugin-react-refresh": "^0.4.7",
43
- "eslint-plugin-storybook": "^0.11.1",
44
- "husky": "^9.0.11",
45
- "lint-staged": "^15.2.7",
46
- "postcss": "^8.4.39",
47
- "prettier": "^3.3.2",
48
- "react": "^18.3.1",
49
- "react-dom": "^18.3.1",
50
- "sass": "^1.77.6",
51
- "storybook": "^8.4.7",
52
- "tailwindcss": "^3.4.4",
53
- "typescript": "^5.2.2",
54
- "vite": "^5.3.1",
55
- "vite-plugin-dts": "^3.9.1"
56
- },
57
- "peerDependencies": {
58
- "react": ">=17.0.0 <19.0.0",
59
- "react-dom": ">=17.0.0 <19.0.0",
60
- "yup": ">=1.4.0"
61
- },
62
- "main": "./dist/index.cjs",
63
- "module": "dist/index.mjs",
64
- "types": "./dist/index.d.ts",
65
- "exports": {
66
- ".": {
67
- "import": "./dist/index.mjs",
68
- "require": "./dist/index.cjs",
69
- "types": "./dist/index.d.ts"
70
- },
71
- "./dist/assets/toast.css": "./dist/assets/toast.css",
72
- "./dist/assets/core.css": "./dist/assets/core.css",
73
- "./dist/assets/style.css": "./dist/assets/style.css"
74
- },
75
- "files": [
76
- "/dist"
77
- ],
78
- "publishConfig": {
79
- "access": "public"
80
- },
81
- "lint-staged": {
82
- "*.{js,jsx,ts,tsx}": [
83
- "eslint --quiet --fix"
84
- ],
85
- "*.{json,js,ts,jsx,tsx,html}": [
86
- "prettier --write --ignore-unknown"
87
- ]
88
- },
89
- "dependencies": {
90
- "@floating-ui/react": "^0.26.19",
91
- "@internationalized/date": "^3.5.4",
92
- "@tanstack/react-table": "^8.19.2",
93
- "bignumber.js": "^9.1.2",
94
- "chart.js": "^4.4.3",
95
- "copyfiles": "^2.4.1",
96
- "date-fns": "^3.6.0",
97
- "js-cookie": "^3.0.5",
98
- "lossless-json": "^4.0.2",
99
- "react-aria": "^3.33.1",
100
- "react-chartjs-2": "^5.2.0",
101
- "react-number-format": "^5.4.0",
102
- "react-select": "^5.8.0",
103
- "react-select-async-paginate": "^0.7.4",
104
- "react-stately": "^3.31.1",
105
- "react-toastify": "^10.0.5",
106
- "react-virtuoso": "^4.7.11"
107
- }
108
- }
1
+ {
2
+ "name": "1mpacto-react-ui",
3
+ "private": false,
4
+ "version": "0.0.123",
5
+ "type": "module",
6
+ "scripts": {
7
+ "copy:toastify-css": "cp ./node_modules/react-toastify/dist/ReactToastify.css ./dist/assets/toast.css",
8
+ "dev": "vite",
9
+ "build": "tsc -b && vite build && npm run build:css",
10
+ "build:css": "tailwindcss -i ./src/styles/index.scss -o ./dist/assets/core.css --minify && npm run copy:toastify-css",
11
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
12
+ "preview": "vite preview",
13
+ "prepare": "husky && npm run build",
14
+ "watch:build": "npx watch \"npm run build\" ./src",
15
+ "storybook": "storybook dev -p 6006",
16
+ "build-storybook": "storybook build",
17
+ "postbuild": "copyfiles -f src/types/* dist/types-external/",
18
+ "install": "copyfiles -f dist/types-external/* ../../src/types/"
19
+ },
20
+ "devDependencies": {
21
+ "@chromatic-com/storybook": "^3.2.2",
22
+ "@storybook/addon-essentials": "^8.4.7",
23
+ "@storybook/addon-interactions": "^8.4.7",
24
+ "@storybook/addon-onboarding": "^8.4.7",
25
+ "@storybook/blocks": "^8.4.7",
26
+ "@storybook/react": "^8.4.7",
27
+ "@storybook/react-vite": "^8.4.7",
28
+ "@storybook/test": "^8.4.7",
29
+ "@types/js-cookie": "^3.0.6",
30
+ "@types/node": "^20.14.10",
31
+ "@types/react": "^18.3.3",
32
+ "@types/react-dom": "^18.3.0",
33
+ "@typescript-eslint/eslint-plugin": "^7.13.1",
34
+ "@typescript-eslint/parser": "^7.13.1",
35
+ "@vitejs/plugin-react-swc": "^3.5.0",
36
+ "autoprefixer": "^10.4.19",
37
+ "eslint": "^8.57.0",
38
+ "eslint-config-prettier": "^9.1.0",
39
+ "eslint-plugin-prettier": "^5.1.3",
40
+ "eslint-plugin-react": "^7.34.3",
41
+ "eslint-plugin-react-hooks": "^4.6.2",
42
+ "eslint-plugin-react-refresh": "^0.4.7",
43
+ "eslint-plugin-storybook": "^0.11.1",
44
+ "husky": "^9.0.11",
45
+ "lint-staged": "^15.2.7",
46
+ "postcss": "^8.4.39",
47
+ "prettier": "^3.3.2",
48
+ "react": "^18.3.1",
49
+ "react-dom": "^18.3.1",
50
+ "sass": "^1.77.6",
51
+ "storybook": "^8.4.7",
52
+ "tailwindcss": "^3.4.4",
53
+ "typescript": "^5.2.2",
54
+ "vite": "^5.3.1",
55
+ "vite-plugin-dts": "^3.9.1"
56
+ },
57
+ "peerDependencies": {
58
+ "react": ">=17.0.0 <19.0.0",
59
+ "react-dom": ">=17.0.0 <19.0.0",
60
+ "yup": ">=1.4.0"
61
+ },
62
+ "main": "./dist/index.cjs",
63
+ "module": "dist/index.mjs",
64
+ "types": "./dist/index.d.ts",
65
+ "exports": {
66
+ ".": {
67
+ "import": "./dist/index.mjs",
68
+ "require": "./dist/index.cjs",
69
+ "types": "./dist/index.d.ts"
70
+ },
71
+ "./dist/assets/toast.css": "./dist/assets/toast.css",
72
+ "./dist/assets/core.css": "./dist/assets/core.css",
73
+ "./dist/assets/style.css": "./dist/assets/style.css"
74
+ },
75
+ "files": [
76
+ "/dist"
77
+ ],
78
+ "publishConfig": {
79
+ "access": "public"
80
+ },
81
+ "lint-staged": {
82
+ "*.{js,jsx,ts,tsx}": [
83
+ "eslint --quiet --fix"
84
+ ],
85
+ "*.{json,js,ts,jsx,tsx,html}": [
86
+ "prettier --write --ignore-unknown"
87
+ ]
88
+ },
89
+ "dependencies": {
90
+ "@floating-ui/react": "^0.26.19",
91
+ "@internationalized/date": "^3.5.4",
92
+ "@tanstack/react-table": "^8.19.2",
93
+ "bignumber.js": "^9.1.2",
94
+ "chart.js": "^4.4.3",
95
+ "copyfiles": "^2.4.1",
96
+ "date-fns": "^3.6.0",
97
+ "js-cookie": "^3.0.5",
98
+ "lossless-json": "^4.0.2",
99
+ "react-aria": "^3.33.1",
100
+ "react-chartjs-2": "^5.2.0",
101
+ "react-number-format": "^5.4.0",
102
+ "react-select": "^5.8.0",
103
+ "react-select-async-paginate": "^0.7.4",
104
+ "react-stately": "^3.31.1",
105
+ "react-toastify": "^10.0.5",
106
+ "react-virtuoso": "^4.7.11"
107
+ }
108
+ }