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.
Files changed (62) hide show
  1. package/dist/index.cjs +1317 -0
  2. package/dist/index.d.cts +45 -0
  3. package/dist/index.d.ts +45 -0
  4. package/dist/index.js +1288 -0
  5. package/package.json +14 -1
  6. package/eslint.config.js +0 -28
  7. package/index.html +0 -78
  8. package/postcss.config.js +0 -6
  9. package/src/App.tsx +0 -156
  10. package/src/assets/imgs/login_illustration.png +0 -0
  11. package/src/components/common/Buttons.tsx +0 -39
  12. package/src/components/common/Cards.tsx +0 -18
  13. package/src/components/common/FDrawer.tsx +0 -2448
  14. package/src/components/common/FDrawer.types.ts +0 -191
  15. package/src/components/common/Inputs.tsx +0 -409
  16. package/src/components/common/Modals.tsx +0 -41
  17. package/src/components/common/Navigations.tsx +0 -0
  18. package/src/components/common/Toast.tsx +0 -0
  19. package/src/components/demo/ToastDemo.tsx +0 -73
  20. package/src/components/layout/Header.tsx +0 -202
  21. package/src/components/layout/ModernDoubleSidebarLayout.tsx +0 -719
  22. package/src/components/layout/PrivateLayout.tsx +0 -52
  23. package/src/components/layout/Sidebar.tsx +0 -182
  24. package/src/components/ui/Toast.tsx +0 -93
  25. package/src/contexts/SessionContext.tsx +0 -77
  26. package/src/contexts/ThemeContext.tsx +0 -58
  27. package/src/contexts/ToastContext.tsx +0 -94
  28. package/src/index.css +0 -3
  29. package/src/index.ts +0 -10
  30. package/src/main.tsx +0 -10
  31. package/src/models/Organization.ts +0 -47
  32. package/src/models/Plan.ts +0 -42
  33. package/src/models/User.ts +0 -23
  34. package/src/pages/Analytics.tsx +0 -101
  35. package/src/pages/CreateOrganization.tsx +0 -215
  36. package/src/pages/Dashboard.tsx +0 -15
  37. package/src/pages/Home.tsx +0 -12
  38. package/src/pages/Profile.tsx +0 -313
  39. package/src/pages/Settings.tsx +0 -382
  40. package/src/pages/Team.tsx +0 -180
  41. package/src/pages/auth/Login.tsx +0 -140
  42. package/src/pages/auth/Register.tsx +0 -302
  43. package/src/pages/organizations/DetailEntity.tsx +0 -1002
  44. package/src/pages/organizations/DetailOrganizations.tsx +0 -1628
  45. package/src/pages/organizations/ListOrganizations.tsx +0 -270
  46. package/src/pages/pricings/CartPlan.tsx +0 -486
  47. package/src/pages/pricings/ListPricing.tsx +0 -321
  48. package/src/pages/users/CreateUser.tsx +0 -448
  49. package/src/pages/users/ListUsers.tsx +0 -0
  50. package/src/services/AuthServices.ts +0 -94
  51. package/src/services/OrganizationServices.ts +0 -61
  52. package/src/services/PlanSubscriptionServices.tsx +0 -137
  53. package/src/services/UserServices.ts +0 -36
  54. package/src/services/api.ts +0 -64
  55. package/src/styles/theme.ts +0 -383
  56. package/src/utils/utils.ts +0 -48
  57. package/src/vite-env.d.ts +0 -1
  58. package/tailwind.config.js +0 -158
  59. package/tsconfig.app.json +0 -24
  60. package/tsconfig.json +0 -31
  61. package/tsconfig.node.json +0 -22
  62. package/vite.config.ts +0 -10
@@ -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
- }
@@ -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
- }
package/vite.config.ts DELETED
@@ -1,10 +0,0 @@
1
- import { defineConfig } from 'vite';
2
- import react from '@vitejs/plugin-react';
3
-
4
- // https://vitejs.dev/config/
5
- export default defineConfig({
6
- plugins: [react()],
7
- optimizeDeps: {
8
- exclude: ['lucide-react'],
9
- },
10
- });