sixseconds-modules 1.3.2 → 1.3.4

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/dist/main.d.ts CHANGED
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ @import "https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap";/*! tailwindcss v4.1.6 | MIT License | https://tailwindcss.com */
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.flex{display:flex}.hidden{display:none}.inline-flex{display:inline-flex}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.self-start{align-self:flex-start}.border{border-style:var(--tw-border-style);border-width:1px}.break-all{word-break:break-all}.text-\[\#2C2E35\]{color:#2c2e35}.capitalize{text-transform:capitalize}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}@media (min-width:64rem){.lg\:hidden{display:none}}}:root{--background:#fff;--foreground:#171717}@media (prefers-color-scheme:dark){:root{--background:#0a0a0a;--foreground:#ededed}}body{color:var(--foreground);background:var(--background);margin:0;padding:0;font-family:Inter,serif!important}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre,.MuiTypography-root{font-family:Inter,serif!important}.search input{padding:8.5px 6px 8.5px 33px!important}.MuiAutocomplete-root .MuiOutlinedInput-root{padding:2px 10px!important}input{height:36px}.activeUrl{color:#007fc0}.MuiAutocomplete-input{padding:4.5px!important}.upload_div{cursor:pointer;width:125px}.MuiPaper-root.MuiPaper-elevation.MuiPaper-rounded{width:100%!important}.upload_button{color:#fff;white-space:nowrap;cursor:pointer;background-color:#007fc0;border-radius:5px;width:100%;padding:7px 10px}.upload_div input{opacity:0;width:100%;position:absolute;left:0}.upload_div .delete_btn{text-align:center;background-color:#ddd;border:1px solid #ccc;border-radius:5px;width:100%;margin-top:10px}body{background-color:#f6f6f6}.login_page:has body{background-color:#f6f6f6!important}.MuiTableHead-root,.MuiTableCell-root,.MuiInputBase-formControl{font-family:Inter,serif!important}input:-webkit-autofill{padding:0 10px}.MuiPagination-root.MuiPagination-outlined{justify-content:end;display:flex}.pagination{margin-top:10px}.tox-statusbar{display:none!important}.tox-tinymce{border:1px solid #0000003b!important}.manage_payment tr th:nth-child(2),.manage_payment tr td:nth-child(2){text-align:center!important}.manage_payment tr td:nth-child(2) div{justify-content:center;display:flex}.MuiTableContainer-root::-webkit-scrollbar{width:5px;height:8px}.main.login_page .loginBody{width:800px!important}.main_list_Menu{display:flex}.main_list_Menu li{padding:.5rem}.main_list_Menu li a{padding:0 .25rem;font-size:14px;font-weight:600}.main_list_Menu .menu-item{padding:15px;position:relative}.main_list_Menu .menu-link{color:#2c2e35;text-decoration:none;transition:color .3s}.main_list_Menu .menu-link:hover{color:#2ea3f2}.main_list_Menu .submenuData{z-index:10;background:#fff;border-top:3px solid #2ea3f2;min-width:200px;display:none;position:absolute;top:85%;left:0;box-shadow:0 4px 6px #0000001a}.main_list_Menu .submenuData li{list-style:none}.main_list_Menu .submenu-link{color:#000000b3;padding:1px 15px;font-weight:600;text-decoration:none;display:block}.main_list_Menu .submenu-link:hover{background:#f1f1f1}.main_list_Menu .menu-item:hover .submenuData{display:block}.smallDeviceMenu{background-color:#fff;width:100%;height:95vh;display:none;position:fixed;top:72px;left:0;overflow-y:auto}.smallDeviceMenu a.bg_main_menu{display:block}.layout_mobile_menu{padding-bottom:12px;padding-inline:0;height:95vh;padding-top:8px;overflow-y:auto}.smallDeviceMenu a{color:#2c2e35;background-color:#00000008;margin-bottom:4px;padding:12px 8px;font-size:15px;font-weight:600}.smallDeviceMenu .submenu_child{color:#000;margin-top:8px;background-color:#fff;min-width:90%;max-width:90%;margin-inline:auto;padding-left:15px;top:57px}.smallDeviceMenu ul li .submenu_child_link{padding:12px 20px}.smallDeviceMenu ul li a{color:#000000b3;background-color:#0000}.smallDeviceMenu ul{padding-left:15px}.desktopMenu{display:flex}.button_hamburger{z-index:9;display:none;position:absolute;top:25px;right:20px}.tox-editor-header{background-color:#0000}.hamburger-icon-btn{color:#0000008a;padding:8px}.desktopMenu .menu-item .menu-link{font-size:15px}.smallDeviceMenu{padding-inline:20px}::-webkit-scrollbar{background-color:#aaa;border-radius:10px;width:10px}::-webkit-scrollbar-track{border-radius:10px;box-shadow:inset 0 0 5px gray}::-webkit-scrollbar-thumb{background:#717070;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#b30000}@media screen and (max-width:600px) and (min-width:320px){.notification_icon_error .MuiBadge-badge{min-width:16px;padding:0 3px;font-size:11px;right:5px}.submenu nav{padding:0!important}.MuiPagination-root.MuiPagination-outlined{justify-content:center;margin-left:0;display:flex}.toogle_btn_menu{z-index:99;position:absolute;top:18px;right:20px}.right_header_icons{padding-right:25px}.button_hamburger{display:block}.desktopMenu{display:none}.smallDeviceMenu{background:#fff;width:100%;display:block;position:fixed;top:69px;left:0}.main.login_page .loginBody{width:400px!important}.submenu{width:100%;max-width:100%!important}.sideBar{z-index:99;background-color:#fff;width:300px!important}.sideMenu{background-color:#fff;width:300px}.logo_header{opacity:1}.profile.headerMenu{min-width:320px;width:auto!important}}@media screen and (max-width:1024px) and (min-width:600px){.toogle_btn_menu{position:absolute;top:18px;right:20px}.right_header_icons{padding-right:25px}.button_hamburger{display:block}.desktopMenu{display:none}.smallDeviceMenu{display:block}.main.login_page .loginBody{width:500px!important}.banner{margin-left:0!important}.submenu{width:100%;max-width:100%!important}.sideBar{z-index:99;background-color:#fff;width:300px!important}.sideMenu{background-color:#fff;width:300px}.logo_header{opacity:1}.profile.headerMenu{min-width:320px;width:auto!important}}@media screen and (max-width:1380px) and (min-width:1024px){.desktopMenu{display:none}.smallDeviceMenu{background:#fff;width:100%;display:block;position:fixed;top:72px;left:0}.button_hamburger{display:block}.right_header_icons{padding-right:25px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
@@ -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.4",
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
+ }