primus-react-ui 1.0.10 → 1.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "primus-react-ui",
3
- "version": "1.0.10",
3
+ "version": "1.0.14",
4
4
  "description": "Premium React UI Elements for Primus SaaS Framework",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10,7 +10,8 @@
10
10
  "*.css"
11
11
  ],
12
12
  "files": [
13
- "dist"
13
+ "dist",
14
+ "src/tailwind-preset.js"
14
15
  ],
15
16
  "scripts": {
16
17
  "build": "tsup src/index.ts --format cjs,esm --dts",
@@ -19,7 +20,8 @@
19
20
  },
20
21
  "peerDependencies": {
21
22
  "react": ">=18 || >=19",
22
- "react-dom": ">=18 || >=19"
23
+ "react-dom": ">=18 || >=19",
24
+ "chart.js": "^4.4.0"
23
25
  },
24
26
  "dependencies": {
25
27
  "@headlessui/react": "^2.2.0",
@@ -32,6 +34,7 @@
32
34
  "@types/react": "^18.2.0",
33
35
  "@types/react-dom": "^18.2.0",
34
36
  "autoprefixer": "^10.4.16",
37
+ "chart.js": "^4.4.0",
35
38
  "postcss": "^8.4.31",
36
39
  "tailwindcss": "^3.3.5",
37
40
  "tsup": "^8.5.1",
@@ -40,4 +43,4 @@
40
43
  "publishConfig": {
41
44
  "access": "public"
42
45
  }
43
- }
46
+ }
@@ -0,0 +1,59 @@
1
+ /** @type {import('tailwindcss').Config} */
2
+ module.exports = {
3
+ theme: {
4
+ extend: {
5
+ colors: {
6
+ primus: {
7
+ 50: '#eff6ff',
8
+ 100: '#dbeafe',
9
+ 200: '#bfdbfe',
10
+ 300: '#93c5fd',
11
+ 400: '#60a5fa',
12
+ 500: '#1341a7', // Default Sapphire
13
+ 600: '#1e40af',
14
+ 700: '#1e3a8a',
15
+ 800: '#1e3a8a',
16
+ 900: '#172554',
17
+ },
18
+ // Premium Colors (Baked-in)
19
+ sapphire: {
20
+ 50: '#eff6ff',
21
+ 100: '#dbeafe',
22
+ 200: '#bfdbfe',
23
+ 300: '#93c5fd',
24
+ 400: '#60a5fa',
25
+ 500: '#1341a7',
26
+ 600: '#1e40af',
27
+ 700: '#1e3a8a',
28
+ 800: '#1e3a8a',
29
+ 900: '#172554',
30
+ },
31
+ ruby: {
32
+ 50: '#fef2f2',
33
+ 100: '#fee2e2',
34
+ 200: '#fecaca',
35
+ 300: '#fca5a5',
36
+ 400: '#f87171',
37
+ 500: '#e01e5a', // User specified
38
+ 600: '#dc2626',
39
+ 700: '#b91c1c',
40
+ 800: '#991b1b',
41
+ 900: '#7f1d1d',
42
+ },
43
+ emerald: {
44
+ 50: '#ecfdf5',
45
+ 100: '#d1fae5',
46
+ 200: '#a7f3d0',
47
+ 300: '#6ee7b7',
48
+ 400: '#34d399',
49
+ 500: '#0c6b58', // User specified
50
+ 600: '#059669',
51
+ 700: '#047857',
52
+ 800: '#065f46',
53
+ 900: '#064e3b',
54
+ }
55
+ }
56
+ }
57
+ },
58
+ plugins: [],
59
+ }