sixseconds-modules 1.3.2 → 1.3.3

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,26 +1,24 @@
1
1
  import { ReactNode } from 'react';
2
-
3
-
4
- export type ToolsRoles = "Master" | "Distributor" | "Coach" | "Referent";
5
-
6
- // interfaces definition
7
- export interface IChildrenProps {
8
- children: ReactNode;
9
- }
10
- export interface ISelectWithSearch {
11
- id: number;
12
- value: string;
13
- label: string;
14
- }
15
-
16
- export type t = (e: string) => string;
17
-
18
- export type Filters = {
19
- type?: string;
20
- page?: number;
21
- search?: string;
22
- pagePerItm?: number;
23
- to?: string;
24
- from?: string;
25
- limit?: number;
26
- };
2
+ export type ToolsRoles = "Master" | "Distributor" | "Coach" | "Referent";
3
+
4
+ // interfaces definition
5
+ export interface IChildrenProps {
6
+ children: ReactNode;
7
+ }
8
+ export interface ISelectWithSearch {
9
+ id: number;
10
+ value: string;
11
+ label: string;
12
+ }
13
+
14
+ export type t = (e: string) => string;
15
+
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
+ };
@@ -1,8 +1,6 @@
1
1
  import { default as React, ChangeEvent } from 'react';
2
-
3
-
4
- export type OnClick = MouseEvent<HTMLInputElement>
5
-
6
- export type OnChange = ChangeEvent<HTMLInputElement>
7
-
8
- export type onChangeWithSynthetic = React.SyntheticEvent
2
+ export type OnClick = MouseEvent<HTMLInputElement>
3
+
4
+ export type OnChange = ChangeEvent<HTMLInputElement>
5
+
6
+ export type onChangeWithSynthetic = React.SyntheticEvent
@@ -1,4 +1,4 @@
1
- // export types
2
- export * from './custom';
3
- export * from './htmlElements';
4
- export * from './reactTypes';
1
+ // export types
2
+ export * from './custom';
3
+ export * from './htmlElements';
4
+ export * from './reactTypes';
@@ -1,6 +1,4 @@
1
1
  import { Dispatch as ReactDispatch, SetStateAction as ReactSetStateAction } from 'react';
2
-
3
-
4
- export type Dispatch<A> = (action: A) => void
5
- export type SetStateAction<T> = ReactDispatch<ReactSetStateAction<T>>
6
- export type UpdateStateFunction<T> = (data: any, prev?: any, setState?: SetStateAction<any>) => T
2
+ export type Dispatch<A> = (action: A) => void
3
+ export type SetStateAction<T> = ReactDispatch<ReactSetStateAction<T>>
4
+ export type UpdateStateFunction<T> = (data: any, prev?: any, setState?: SetStateAction<any>) => T
@@ -1,2 +1,2 @@
1
- /// <reference types="vite/client" />
2
- /// <reference types="vite-plugin-svgr/client" />
1
+ /// <reference types="vite/client" />
2
+ /// <reference types="vite-plugin-svgr/client" />
package/package.json CHANGED
@@ -1,90 +1,90 @@
1
- {
2
- "name": "sixseconds-modules",
3
- "private": false,
4
- "version": "1.3.2",
5
- "main": "dist/index.cjs.js",
6
- "module": "dist/index.es.js",
7
- "types": "dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.es.js",
12
- "require": "./dist/index.cjs.js"
13
- },
14
- "./styles": "./dist/index.css"
15
- },
16
- "files": [
17
- "dist"
18
- ],
19
- "sideEffects": [
20
- "./dist/index.css"
21
- ],
22
- "publishConfig": {
23
- "access": "public"
24
- },
25
- "scripts": {
26
- "dev": "vite --port 3000",
27
- "build": "tsc -b && vite build",
28
- "build:libs": "rimraf dist && tsc --p ./tsconfig.build.json && vite build",
29
- "lint": "eslint .",
30
- "preview": "vite preview"
31
- },
32
- "peerDependencies": {
33
- "@emotion/react": "^11.0.0",
34
- "@emotion/styled": "^11.0.0",
35
- "@mui/icons-material": "^5.0.0 || ^6.0.0",
36
- "@mui/material": "^5.0.0 || ^6.0.0",
37
- "react": "^18.0.0 || ^19.0.0",
38
- "react-dom": "^18.0.0 || ^19.0.0"
39
- },
40
- "peerDependenciesMeta": {
41
- "react": {
42
- "optional": false
43
- },
44
- "react-dom": {
45
- "optional": false
46
- }
47
- },
48
- "dependencies": {
49
- "@reduxjs/toolkit": "^2.8.1",
50
- "@t3-oss/env-core": "^0.13.4",
51
- "@t3-oss/env-nextjs": "^0.13.4",
52
- "@tailwindcss/postcss": "^4.1.6",
53
- "axios": "^1.8.1",
54
- "js-cookie": "^3.0.5",
55
- "moment": "^2.30.1",
56
- "postcss": "^8.5.3",
57
- "react-hot-toast": "^2.5.2",
58
- "react-infinite-scroll-component": "^6.1.0",
59
- "react-redux": "^9.2.0",
60
- "tailwindcss": "^4.1.6",
61
- "urlcat": "2",
62
- "zod": "^3.24.4"
63
- },
64
- "devDependencies": {
65
- "@emotion/react": "^11.14.0",
66
- "@emotion/styled": "^11.14.0",
67
- "@eslint/js": "^9.21.0",
68
- "@mui/icons-material": "^6.4.5",
69
- "@mui/material": "^6.4.5",
70
- "@types/js-cookie": "^3.0.6",
71
- "@types/node": "^22.15.3",
72
- "@types/react": "^19.0.10",
73
- "@types/react-dom": "^19.0.4",
74
- "@vitejs/plugin-react": "^4.3.4",
75
- "autoprefixer": "^10.4.21",
76
- "dpdm": "^3.14.0",
77
- "eslint": "^9.21.0",
78
- "eslint-plugin-react-hooks": "^5.0.0",
79
- "eslint-plugin-react-refresh": "^0.4.19",
80
- "globals": "^15.15.0",
81
- "react": "^19.0.0",
82
- "react-dom": "^19.0.0",
83
- "rimraf": "^5.0.1",
84
- "typescript": "~5.7.2",
85
- "typescript-eslint": "^8.24.1",
86
- "vite": "^6.2.0",
87
- "vite-plugin-dts": "^4.5.3",
88
- "vite-plugin-svgr": "^4.3.0"
89
- }
90
- }
1
+ {
2
+ "name": "sixseconds-modules",
3
+ "private": false,
4
+ "version": "1.3.3",
5
+ "main": "dist/index.cjs.js",
6
+ "module": "dist/index.es.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.es.js",
12
+ "require": "./dist/index.cjs.js"
13
+ },
14
+ "./styles": "./dist/styles.css"
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "sideEffects": [
20
+ "./dist/styles.css"
21
+ ],
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
25
+ "scripts": {
26
+ "dev": "vite --port 3000",
27
+ "build": "tsc -b && vite build",
28
+ "build:libs": "rimraf dist && tsc --p ./tsconfig.build.json && vite build",
29
+ "lint": "eslint .",
30
+ "preview": "vite preview"
31
+ },
32
+ "peerDependencies": {
33
+ "@emotion/react": "^11.0.0",
34
+ "@emotion/styled": "^11.0.0",
35
+ "@mui/icons-material": "^5.0.0 || ^6.0.0",
36
+ "@mui/material": "^5.0.0 || ^6.0.0",
37
+ "react": "^18.0.0 || ^19.0.0",
38
+ "react-dom": "^18.0.0 || ^19.0.0"
39
+ },
40
+ "peerDependenciesMeta": {
41
+ "react": {
42
+ "optional": false
43
+ },
44
+ "react-dom": {
45
+ "optional": false
46
+ }
47
+ },
48
+ "dependencies": {
49
+ "@reduxjs/toolkit": "^2.8.1",
50
+ "@t3-oss/env-core": "^0.13.4",
51
+ "@t3-oss/env-nextjs": "^0.13.4",
52
+ "@tailwindcss/postcss": "^4.1.6",
53
+ "axios": "^1.8.1",
54
+ "js-cookie": "^3.0.5",
55
+ "moment": "^2.30.1",
56
+ "postcss": "^8.5.3",
57
+ "react-hot-toast": "^2.5.2",
58
+ "react-infinite-scroll-component": "^6.1.0",
59
+ "react-redux": "^9.2.0",
60
+ "tailwindcss": "^4.1.6",
61
+ "urlcat": "2",
62
+ "zod": "^3.24.4"
63
+ },
64
+ "devDependencies": {
65
+ "@emotion/react": "^11.14.0",
66
+ "@emotion/styled": "^11.14.0",
67
+ "@eslint/js": "^9.21.0",
68
+ "@mui/icons-material": "^6.4.5",
69
+ "@mui/material": "^6.4.5",
70
+ "@types/js-cookie": "^3.0.6",
71
+ "@types/node": "^22.15.3",
72
+ "@types/react": "^19.0.10",
73
+ "@types/react-dom": "^19.0.4",
74
+ "@vitejs/plugin-react": "^4.3.4",
75
+ "autoprefixer": "^10.4.21",
76
+ "dpdm": "^3.14.0",
77
+ "eslint": "^9.21.0",
78
+ "eslint-plugin-react-hooks": "^5.0.0",
79
+ "eslint-plugin-react-refresh": "^0.4.19",
80
+ "globals": "^15.15.0",
81
+ "react": "^19.0.0",
82
+ "react-dom": "^19.0.0",
83
+ "rimraf": "^5.0.1",
84
+ "typescript": "~5.7.2",
85
+ "typescript-eslint": "^8.24.1",
86
+ "vite": "^6.2.0",
87
+ "vite-plugin-dts": "^4.5.3",
88
+ "vite-plugin-svgr": "^4.3.0"
89
+ }
90
+ }