ptechcore_ui 1.0.1 → 1.0.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.
- package/dist/index.cjs +1317 -0
- package/dist/index.d.cts +45 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.js +1288 -0
- package/package.json +14 -1
- package/eslint.config.js +0 -28
- package/index.html +0 -78
- package/postcss.config.js +0 -6
- package/src/App.tsx +0 -156
- package/src/assets/imgs/login_illustration.png +0 -0
- package/src/components/common/Buttons.tsx +0 -39
- package/src/components/common/Cards.tsx +0 -18
- package/src/components/common/FDrawer.tsx +0 -2448
- package/src/components/common/FDrawer.types.ts +0 -191
- package/src/components/common/Inputs.tsx +0 -409
- package/src/components/common/Modals.tsx +0 -41
- package/src/components/common/Navigations.tsx +0 -0
- package/src/components/common/Toast.tsx +0 -0
- package/src/components/demo/ToastDemo.tsx +0 -73
- package/src/components/layout/Header.tsx +0 -202
- package/src/components/layout/ModernDoubleSidebarLayout.tsx +0 -719
- package/src/components/layout/PrivateLayout.tsx +0 -52
- package/src/components/layout/Sidebar.tsx +0 -182
- package/src/components/ui/Toast.tsx +0 -93
- package/src/contexts/SessionContext.tsx +0 -77
- package/src/contexts/ThemeContext.tsx +0 -58
- package/src/contexts/ToastContext.tsx +0 -94
- package/src/index.css +0 -3
- package/src/index.ts +0 -10
- package/src/main.tsx +0 -10
- package/src/models/Organization.ts +0 -47
- package/src/models/Plan.ts +0 -42
- package/src/models/User.ts +0 -23
- package/src/pages/Analytics.tsx +0 -101
- package/src/pages/CreateOrganization.tsx +0 -215
- package/src/pages/Dashboard.tsx +0 -15
- package/src/pages/Home.tsx +0 -12
- package/src/pages/Profile.tsx +0 -313
- package/src/pages/Settings.tsx +0 -382
- package/src/pages/Team.tsx +0 -180
- package/src/pages/auth/Login.tsx +0 -140
- package/src/pages/auth/Register.tsx +0 -302
- package/src/pages/organizations/DetailEntity.tsx +0 -1002
- package/src/pages/organizations/DetailOrganizations.tsx +0 -1628
- package/src/pages/organizations/ListOrganizations.tsx +0 -270
- package/src/pages/pricings/CartPlan.tsx +0 -486
- package/src/pages/pricings/ListPricing.tsx +0 -321
- package/src/pages/users/CreateUser.tsx +0 -448
- package/src/pages/users/ListUsers.tsx +0 -0
- package/src/services/AuthServices.ts +0 -94
- package/src/services/OrganizationServices.ts +0 -61
- package/src/services/PlanSubscriptionServices.tsx +0 -137
- package/src/services/UserServices.ts +0 -36
- package/src/services/api.ts +0 -64
- package/src/styles/theme.ts +0 -383
- package/src/utils/utils.ts +0 -48
- package/src/vite-env.d.ts +0 -1
- package/tailwind.config.js +0 -158
- package/tsconfig.app.json +0 -24
- package/tsconfig.json +0 -31
- package/tsconfig.node.json +0 -22
- package/vite.config.ts +0 -10
package/tailwind.config.js
DELETED
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
/** @type {import('tailwindcss').Config} */
|
|
2
|
-
export default {
|
|
3
|
-
darkMode: ["class"],
|
|
4
|
-
content: [
|
|
5
|
-
'./pages/**/*.{ts,tsx}',
|
|
6
|
-
'./components/**/*.{ts,tsx}',
|
|
7
|
-
'./app/**/*.{ts,tsx}',
|
|
8
|
-
'./src/**/*.{ts,tsx}',
|
|
9
|
-
],
|
|
10
|
-
theme: {
|
|
11
|
-
container: {
|
|
12
|
-
center: true,
|
|
13
|
-
padding: "2rem",
|
|
14
|
-
screens: {
|
|
15
|
-
"2xl": "1400px",
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
fontFamily: {
|
|
19
|
-
'sans': ['Sometype Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', 'monospace'],
|
|
20
|
-
'heading': ['Sometype Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', 'monospace'],
|
|
21
|
-
'mono': ['Sometype Mono', 'Monaco', 'Menlo', 'Ubuntu Mono', 'monospace'],
|
|
22
|
-
},
|
|
23
|
-
extend: {
|
|
24
|
-
colors: {
|
|
25
|
-
// WiseBook Clarity Design System Colors
|
|
26
|
-
// La Trinité Chromatique
|
|
27
|
-
'swirl': {
|
|
28
|
-
DEFAULT: '#D5D0CD',
|
|
29
|
-
50: '#F5F4F3',
|
|
30
|
-
100: '#EBEAE8',
|
|
31
|
-
200: '#D5D0CD',
|
|
32
|
-
300: '#C4BDB9',
|
|
33
|
-
400: '#B3AAA4',
|
|
34
|
-
500: '#A2978F',
|
|
35
|
-
600: '#91847A',
|
|
36
|
-
700: '#807165',
|
|
37
|
-
800: '#6F5E50',
|
|
38
|
-
900: '#5E4B3B',
|
|
39
|
-
},
|
|
40
|
-
'rolling-stone': {
|
|
41
|
-
DEFAULT: '#7A8B8E',
|
|
42
|
-
50: '#F1F3F4',
|
|
43
|
-
100: '#E3E7E8',
|
|
44
|
-
200: '#C7CFD1',
|
|
45
|
-
300: '#ABB7BA',
|
|
46
|
-
400: '#8F9FA3',
|
|
47
|
-
500: '#7A8B8E',
|
|
48
|
-
600: '#647577',
|
|
49
|
-
700: '#4E5F60',
|
|
50
|
-
800: '#384949',
|
|
51
|
-
900: '#223332',
|
|
52
|
-
},
|
|
53
|
-
'tuatara': {
|
|
54
|
-
DEFAULT: '#353A3B',
|
|
55
|
-
50: '#F7F8F8',
|
|
56
|
-
100: '#EFF1F1',
|
|
57
|
-
200: '#DFE3E3',
|
|
58
|
-
300: '#CFD5D5',
|
|
59
|
-
400: '#BFC7C7',
|
|
60
|
-
500: '#AFB9B9',
|
|
61
|
-
600: '#9FABAB',
|
|
62
|
-
700: '#8F9D9D',
|
|
63
|
-
800: '#7F8F8F',
|
|
64
|
-
900: '#353A3B',
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
// Semantic colors with WiseBook palette
|
|
68
|
-
primary: {
|
|
69
|
-
DEFAULT: '#7A8B8E', // Rolling Stone
|
|
70
|
-
50: '#F1F3F4',
|
|
71
|
-
100: '#E3E7E8',
|
|
72
|
-
500: '#7A8B8E',
|
|
73
|
-
600: '#647577',
|
|
74
|
-
700: '#4E5F60',
|
|
75
|
-
900: '#223332',
|
|
76
|
-
foreground: '#FFFFFF',
|
|
77
|
-
},
|
|
78
|
-
secondary: {
|
|
79
|
-
DEFAULT: '#D5D0CD', // Swirl
|
|
80
|
-
50: '#F5F4F3',
|
|
81
|
-
100: '#EBEAE8',
|
|
82
|
-
500: '#D5D0CD',
|
|
83
|
-
600: '#C4BDB9',
|
|
84
|
-
foreground: '#353A3B',
|
|
85
|
-
},
|
|
86
|
-
accent: {
|
|
87
|
-
DEFAULT: '#7A8B8E',
|
|
88
|
-
foreground: '#FFFFFF',
|
|
89
|
-
},
|
|
90
|
-
muted: {
|
|
91
|
-
DEFAULT: '#F5F4F3',
|
|
92
|
-
foreground: '#6F5E50',
|
|
93
|
-
},
|
|
94
|
-
background: '#FFFFFF',
|
|
95
|
-
foreground: '#353A3B', // Tuatara
|
|
96
|
-
card: {
|
|
97
|
-
DEFAULT: '#FFFFFF',
|
|
98
|
-
foreground: '#353A3B',
|
|
99
|
-
},
|
|
100
|
-
popover: {
|
|
101
|
-
DEFAULT: '#FFFFFF',
|
|
102
|
-
foreground: '#353A3B',
|
|
103
|
-
},
|
|
104
|
-
border: '#EBEAE8',
|
|
105
|
-
input: '#F5F4F3',
|
|
106
|
-
ring: '#7A8B8E',
|
|
107
|
-
|
|
108
|
-
// Status colors
|
|
109
|
-
success: {
|
|
110
|
-
DEFAULT: '#059669',
|
|
111
|
-
foreground: '#FFFFFF',
|
|
112
|
-
},
|
|
113
|
-
warning: {
|
|
114
|
-
DEFAULT: '#D97706',
|
|
115
|
-
foreground: '#FFFFFF',
|
|
116
|
-
},
|
|
117
|
-
destructive: {
|
|
118
|
-
DEFAULT: '#DC2626',
|
|
119
|
-
foreground: '#FFFFFF',
|
|
120
|
-
},
|
|
121
|
-
info: {
|
|
122
|
-
DEFAULT: '#2563EB',
|
|
123
|
-
foreground: '#FFFFFF',
|
|
124
|
-
},
|
|
125
|
-
},
|
|
126
|
-
borderRadius: {
|
|
127
|
-
lg: "var(--radius)",
|
|
128
|
-
md: "calc(var(--radius) - 2px)",
|
|
129
|
-
sm: "calc(var(--radius) - 4px)",
|
|
130
|
-
},
|
|
131
|
-
keyframes: {
|
|
132
|
-
"accordion-down": {
|
|
133
|
-
from: { height: 0 },
|
|
134
|
-
to: { height: "var(--radix-accordion-content-height)" },
|
|
135
|
-
},
|
|
136
|
-
"accordion-up": {
|
|
137
|
-
from: { height: "var(--radix-accordion-content-height)" },
|
|
138
|
-
to: { height: 0 },
|
|
139
|
-
},
|
|
140
|
-
"fade-in": {
|
|
141
|
-
"0%": { opacity: 0 },
|
|
142
|
-
"100%": { opacity: 1 },
|
|
143
|
-
},
|
|
144
|
-
"slide-in": {
|
|
145
|
-
"0%": { transform: "translateX(-100%)" },
|
|
146
|
-
"100%": { transform: "translateX(0)" },
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
animation: {
|
|
150
|
-
"accordion-down": "accordion-down 0.2s ease-out",
|
|
151
|
-
"accordion-up": "accordion-up 0.2s ease-out",
|
|
152
|
-
"fade-in": "fade-in 0.3s ease-out",
|
|
153
|
-
"slide-in": "slide-in 0.3s ease-out",
|
|
154
|
-
},
|
|
155
|
-
},
|
|
156
|
-
},
|
|
157
|
-
plugins: [require("tailwindcss-animate")],
|
|
158
|
-
}
|
package/tsconfig.app.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"useDefineForClassFields": true,
|
|
5
|
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
6
|
-
"module": "ESNext",
|
|
7
|
-
"skipLibCheck": true,
|
|
8
|
-
|
|
9
|
-
/* Bundler mode */
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
"allowImportingTsExtensions": true,
|
|
12
|
-
"isolatedModules": true,
|
|
13
|
-
"moduleDetection": "force",
|
|
14
|
-
"noEmit": true,
|
|
15
|
-
"jsx": "react-jsx",
|
|
16
|
-
|
|
17
|
-
/* Linting */
|
|
18
|
-
"strict": true,
|
|
19
|
-
"noUnusedLocals": true,
|
|
20
|
-
"noUnusedParameters": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true
|
|
22
|
-
},
|
|
23
|
-
"include": ["src"]
|
|
24
|
-
}
|
package/tsconfig.json
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"files": [],
|
|
3
|
-
"references": [
|
|
4
|
-
{ "path": "./tsconfig.app.json" },
|
|
5
|
-
{ "path": "./tsconfig.node.json" }
|
|
6
|
-
],
|
|
7
|
-
"compilerOptions": {
|
|
8
|
-
"target": "ES2022",
|
|
9
|
-
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
10
|
-
"module": "ESNext",
|
|
11
|
-
"moduleResolution": "node",
|
|
12
|
-
"jsx": "react-jsx",
|
|
13
|
-
"allowSyntheticDefaultImports": true,
|
|
14
|
-
"esModuleInterop": true,
|
|
15
|
-
"skipLibCheck": true,
|
|
16
|
-
"forceConsistentCasingInFileNames": true,
|
|
17
|
-
"strict": false,
|
|
18
|
-
"noUnusedLocals": false,
|
|
19
|
-
"noUnusedParameters": false,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"isolatedModules": true,
|
|
22
|
-
"resolveJsonModule": true,
|
|
23
|
-
"types": ["react", "react-dom"],
|
|
24
|
-
"declaration": true,
|
|
25
|
-
"declarationMap": true,
|
|
26
|
-
"sourceMap": true,
|
|
27
|
-
"outDir": "dist"
|
|
28
|
-
},
|
|
29
|
-
"include": ["src"],
|
|
30
|
-
"exclude": ["node_modules", "dist", "build"],
|
|
31
|
-
}
|
package/tsconfig.node.json
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2022",
|
|
4
|
-
"lib": ["ES2023"],
|
|
5
|
-
"module": "ESNext",
|
|
6
|
-
"skipLibCheck": true,
|
|
7
|
-
|
|
8
|
-
/* Bundler mode */
|
|
9
|
-
"moduleResolution": "bundler",
|
|
10
|
-
"allowImportingTsExtensions": true,
|
|
11
|
-
"isolatedModules": true,
|
|
12
|
-
"moduleDetection": "force",
|
|
13
|
-
"noEmit": true,
|
|
14
|
-
|
|
15
|
-
/* Linting */
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noUnusedLocals": true,
|
|
18
|
-
"noUnusedParameters": true,
|
|
19
|
-
"noFallthroughCasesInSwitch": true
|
|
20
|
-
},
|
|
21
|
-
"include": ["vite.config.ts"]
|
|
22
|
-
}
|