sixseconds-modules 1.3.7 → 1.3.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.
- package/README.md +4 -4
- package/dist/components/header/type.d.ts +46 -0
- package/dist/constants/apis.d.ts +0 -3
- package/dist/index.cjs.js +10 -37
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +10 -37
- package/dist/index.es.js.map +1 -1
- package/dist/types/custom.d.ts +14 -14
- package/dist/types/index.d.ts +3 -3
- package/package.json +21 -16
package/dist/types/custom.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
export type ToolsRoles = "Master" | "Distributor" | "Coach" | "Referent"
|
|
2
|
+
export type ToolsRoles = "Master" | "Distributor" | "Coach" | "Referent"
|
|
3
3
|
|
|
4
4
|
// interfaces definition
|
|
5
5
|
export interface IChildrenProps {
|
|
6
|
-
children: ReactNode
|
|
6
|
+
children: ReactNode
|
|
7
7
|
}
|
|
8
8
|
export interface ISelectWithSearch {
|
|
9
|
-
id: number
|
|
10
|
-
value: string
|
|
11
|
-
label: string
|
|
9
|
+
id: number
|
|
10
|
+
value: string
|
|
11
|
+
label: string
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export type t = (e: string) => string
|
|
14
|
+
export type t = (e: string) => string
|
|
15
15
|
|
|
16
16
|
export type Filters = {
|
|
17
|
-
type?: string
|
|
18
|
-
page?: number
|
|
19
|
-
search?: string
|
|
20
|
-
pagePerItm?: number
|
|
21
|
-
to?: string
|
|
22
|
-
from?: string
|
|
23
|
-
limit?: number
|
|
24
|
-
}
|
|
17
|
+
type?: string
|
|
18
|
+
page?: number
|
|
19
|
+
search?: string
|
|
20
|
+
pagePerItm?: number
|
|
21
|
+
to?: string
|
|
22
|
+
from?: string
|
|
23
|
+
limit?: number
|
|
24
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// export types
|
|
2
|
-
export * from './custom'
|
|
3
|
-
export * from './htmlElements'
|
|
4
|
-
export * from './reactTypes'
|
|
2
|
+
export * from './custom'
|
|
3
|
+
export * from './htmlElements'
|
|
4
|
+
export * from './reactTypes'
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sixseconds-modules",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.8",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"type": "module",
|
|
8
9
|
"exports": {
|
|
9
10
|
".": {
|
|
10
11
|
"types": "./dist/index.d.ts",
|
|
@@ -23,11 +24,17 @@
|
|
|
23
24
|
"access": "public"
|
|
24
25
|
},
|
|
25
26
|
"scripts": {
|
|
27
|
+
"preview": "vite preview",
|
|
26
28
|
"dev": "vite --port 3000",
|
|
27
|
-
"build": "
|
|
28
|
-
"build:
|
|
29
|
+
"build": "vite build",
|
|
30
|
+
"build:clean": "rimraf dist && tsc --p ./tsconfig.build.json && vite build",
|
|
29
31
|
"lint": "eslint .",
|
|
30
|
-
"
|
|
32
|
+
"format": "prettier --write .",
|
|
33
|
+
"prepare": "husky install",
|
|
34
|
+
"publish": "npm version patch -m 'chore(release): v%s'",
|
|
35
|
+
"dev:stop": "npx kill-port 3000 -y",
|
|
36
|
+
"type:check": "tsc --noEmit -p ./tsconfig.json",
|
|
37
|
+
"deps:check": "yarn knip --config ./knip.json"
|
|
31
38
|
},
|
|
32
39
|
"peerDependencies": {
|
|
33
40
|
"@emotion/react": "^11.0.0",
|
|
@@ -46,43 +53,41 @@
|
|
|
46
53
|
}
|
|
47
54
|
},
|
|
48
55
|
"dependencies": {
|
|
49
|
-
"@reduxjs/toolkit": "^2.8.1",
|
|
50
56
|
"@t3-oss/env-core": "^0.13.4",
|
|
51
|
-
"@t3-oss/env-nextjs": "^0.13.4",
|
|
52
|
-
"@tailwindcss/postcss": "^4.1.6",
|
|
53
57
|
"axios": "^1.8.1",
|
|
54
|
-
"
|
|
58
|
+
"kill-port": "^2.0.1",
|
|
55
59
|
"moment": "^2.30.1",
|
|
56
|
-
"postcss": "^8.5.3",
|
|
57
60
|
"react-hot-toast": "^2.5.2",
|
|
58
61
|
"react-infinite-scroll-component": "^6.1.0",
|
|
59
|
-
"react-redux": "^9.2.0",
|
|
60
|
-
"tailwindcss": "^4.1.6",
|
|
61
62
|
"urlcat": "2",
|
|
62
63
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
63
64
|
"zod": "^3.24.4"
|
|
64
65
|
},
|
|
65
66
|
"devDependencies": {
|
|
67
|
+
"@commitlint/cli": "^19.8.1",
|
|
68
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
66
69
|
"@emotion/react": "^11.14.0",
|
|
67
70
|
"@emotion/styled": "^11.14.0",
|
|
68
71
|
"@eslint/js": "^9.21.0",
|
|
69
72
|
"@mui/icons-material": "^6.4.5",
|
|
70
73
|
"@mui/material": "^6.4.5",
|
|
71
|
-
"@types/
|
|
72
|
-
"@types/node": "^22.15.3",
|
|
74
|
+
"@types/node": "^24.0.3",
|
|
73
75
|
"@types/react": "^19.0.10",
|
|
74
76
|
"@types/react-dom": "^19.0.4",
|
|
75
77
|
"@vitejs/plugin-react": "^4.3.4",
|
|
76
|
-
"autoprefixer": "^10.4.21",
|
|
77
|
-
"dpdm": "^3.14.0",
|
|
78
78
|
"eslint": "^9.21.0",
|
|
79
|
+
"eslint-config-prettier": "^10.1.5",
|
|
80
|
+
"eslint-plugin-prettier": "^5.4.1",
|
|
79
81
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
80
82
|
"eslint-plugin-react-refresh": "^0.4.19",
|
|
81
83
|
"globals": "^15.15.0",
|
|
84
|
+
"husky": "^9.1.7",
|
|
85
|
+
"knip": "^5.61.0",
|
|
86
|
+
"prettier": "^3.5.3",
|
|
82
87
|
"react": "^19.0.0",
|
|
83
88
|
"react-dom": "^19.0.0",
|
|
84
89
|
"rimraf": "^5.0.1",
|
|
85
|
-
"typescript": "
|
|
90
|
+
"typescript": "^5.8.3",
|
|
86
91
|
"typescript-eslint": "^8.24.1",
|
|
87
92
|
"vite": "^6.2.0",
|
|
88
93
|
"vite-plugin-dts": "^4.5.3",
|