@igamingcareer/igaming-components 1.2.16 → 1.2.17

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": "@igamingcareer/igaming-components",
3
- "version": "1.2.16",
3
+ "version": "1.2.17",
4
4
  "description": "Reusable React component library for the iGamingCareer platform",
5
5
  "author": "iGamingCareer <info@igamingcareer.com>",
6
6
  "license": "MIT",
@@ -13,14 +13,13 @@
13
13
  "design-system"
14
14
  ],
15
15
  "main": "dist/index.js",
16
- "module": "dist/index.js",
16
+ "module": "dist/index.mjs",
17
17
  "types": "dist/types/index.d.ts",
18
18
  "exports": {
19
19
  ".": {
20
- "import": "./dist/index.js",
21
- "types": "./dist/types/index.d.ts",
20
+ "import": "./dist/index.mjs",
22
21
  "require": "./dist/index.js",
23
- "default": "./dist/index.js"
22
+ "types": "./dist/types/index.d.ts"
24
23
  },
25
24
  "./package.json": "./package.json"
26
25
  },
@@ -34,10 +33,16 @@
34
33
  "build:lib": "tsc && BUILD_LIB=true vite build",
35
34
  "preview": "vite preview",
36
35
  "test": "jest",
36
+ "test:watch": "jest --watch",
37
+ "test:coverage": "jest --coverage",
37
38
  "storybook": "storybook dev -p 6006",
38
39
  "build-storybook": "storybook build",
39
40
  "api:extract": "api-extractor run --local",
40
- "api:check": "api-extractor run"
41
+ "api:check": "api-extractor run",
42
+ "audit:a11y": "tsx scripts/audit-a11y.ts",
43
+ "audit:a11y:watch": "tsx scripts/audit-a11y.ts --watch",
44
+ "audit:a11y:verbose": "tsx scripts/audit-a11y.ts --verbose",
45
+ "audit:a11y:fix": "tsx scripts/audit-a11y.ts --fix"
41
46
  },
42
47
  "peerDependencies": {
43
48
  "cmdk": "^1.0.0",
@@ -45,10 +50,7 @@
45
50
  "react-dom": "^18.0.0"
46
51
  },
47
52
  "dependencies": {
48
- "@emotion/react": "^11.13.0",
49
- "@emotion/styled": "^11.13.0",
50
53
  "@hookform/resolvers": "^3.9.0",
51
- "@mui/material": "^5.16.7",
52
54
  "@radix-ui/react-alert-dialog": "^1.1.15",
53
55
  "@radix-ui/react-avatar": "^1.1.10",
54
56
  "@radix-ui/react-checkbox": "^1.3.3",
@@ -85,6 +87,9 @@
85
87
  "zod": "^3.23.8"
86
88
  },
87
89
  "devDependencies": {
90
+ "@emotion/react": "^11.13.0",
91
+ "@emotion/styled": "^11.13.0",
92
+ "@mui/material": "^5.16.7",
88
93
  "@babel/core": "^7.26.0",
89
94
  "@babel/preset-env": "^7.26.0",
90
95
  "@babel/preset-react": "^7.26.0",
@@ -120,6 +125,7 @@
120
125
  "vite-tsconfig-paths": "^5.1.2"
121
126
  },
122
127
  "sideEffects": [
123
- "**/*.css"
128
+ "**/*.css",
129
+ "**/*.scss"
124
130
  ]
125
131
  }
@@ -1172,8 +1172,8 @@
1172
1172
  --popover: 222.2 84% 4.9%;
1173
1173
  --popover-foreground: 210 40% 98%;
1174
1174
 
1175
- --primary: 210 40% 98%;
1176
- --primary-foreground: 222.2 47.4% 11.2%;
1175
+ --primary: 223 47% 20%;
1176
+ --primary-foreground: 0 0% 98%;
1177
1177
 
1178
1178
  --secondary: 217.2 32.6% 17.5%;
1179
1179
  --secondary-foreground: 210 40% 98%;
@@ -1181,10 +1181,12 @@
1181
1181
  --muted: 217.2 32.6% 17.5%;
1182
1182
  --muted-foreground: 215 20.2% 65.1%;
1183
1183
 
1184
- --accent: 217.2 32.6% 17.5%;
1185
- --accent-foreground: 210 40% 98%;
1186
-
1184
+ /* iGC brand amber accent — replaces default shadcn blue-gray (217.2 32.6% 17.5%) */
1185
+ --accent: 32 80% 32%;
1186
+ --accent-foreground: 0 0% 98%;
1187
1187
 
1188
+ /* iGC brand token: accent hover — darkened amber for dark surfaces */
1189
+ --accent-hover: 25 75% 36%;
1188
1190
 
1189
1191
  --destructive: 0 62.8% 30.6%;
1190
1192
  --destructive-foreground: 210 40% 98%;
@@ -1193,6 +1195,28 @@
1193
1195
  --input: 217.2 32.6% 17.5%;
1194
1196
  --ring: 212.7 26.8% 83.9%;
1195
1197
 
1198
+ /* iGC brand token: primary variant — deep navy for dark surfaces */
1199
+ --primary-variant: 223 39% 14%;
1200
+
1201
+ /* iGC brand token: gaming gold — slightly desaturated and darkened for dark mode */
1202
+ --gaming-gold: 45 85% 42%;
1203
+
1204
+ /* iGC brand token: gaming success — same hue, reduced lightness for dark mode */
1205
+ --gaming-success: 142 60% 34%;
1206
+
1207
+ /* iGC brand token: gaming warning — same hue, reduced lightness for dark mode */
1208
+ --gaming-warning: 38 80% 40%;
1209
+
1210
+ /* iGC brand gradients — updated to reference dark-mode token values */
1211
+ --gradient-hero: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-variant)));
1212
+ --gradient-accent: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--gaming-gold)));
1213
+ --gradient-card: linear-gradient(180deg, hsl(var(--card)), hsl(222.2 84% 7%));
1214
+
1215
+ /* iGC brand shadows — reduced opacity to suit dark surfaces */
1216
+ --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.3);
1217
+ --shadow-accent: 0 8px 25px -8px hsl(var(--accent) / 0.35);
1218
+ --shadow-card: 0 4px 20px -4px hsl(0 0% 0% / 0.3);
1219
+
1196
1220
  --sidebar-background: 240 5.9% 10%;
1197
1221
  --sidebar-foreground: 240 4.8% 95.9%;
1198
1222
  --sidebar-primary: 224.3 76.3% 48%;