@elevasis/ui 1.3.7 → 1.5.0

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 (56) hide show
  1. package/dist/{CoreAuthKitInner-3J4RVQO6.js → CoreAuthKitInner-Y6LQYIPX.js} +1 -0
  2. package/dist/api/index.js +1 -0
  3. package/dist/auth/context.js +1 -0
  4. package/dist/auth/index.js +1 -0
  5. package/dist/charts/index.d.ts +96 -0
  6. package/dist/charts/index.js +384 -0
  7. package/dist/chunk-54S7KNJV.js +112 -0
  8. package/dist/{chunk-6IX5JZEH.js → chunk-G4TAF3T6.js} +166 -1
  9. package/dist/{chunk-Y2I5JJ3N.js → chunk-K3YVC5RW.js} +2 -2
  10. package/dist/chunk-KB5NKPTN.js +1455 -0
  11. package/dist/chunk-MLKGABMK.js +7 -0
  12. package/dist/{chunk-GIFAF5ZS.js → chunk-MS45MNFM.js} +6 -1
  13. package/dist/chunk-R56VC63S.js +129 -0
  14. package/dist/chunk-TYV5NJV2.js +1 -0
  15. package/dist/{chunk-JQLT6HBI.js → chunk-YJFTZUJJ.js} +22 -2
  16. package/dist/components/index.css +486 -0
  17. package/dist/components/index.d.ts +2047 -1
  18. package/dist/components/index.js +3350 -0
  19. package/dist/components/navigation/index.js +1 -0
  20. package/dist/execution/index.d.ts +15 -3
  21. package/dist/execution/index.js +2 -1
  22. package/dist/graph/index.js +2 -1
  23. package/dist/hooks/index.d.ts +270 -0
  24. package/dist/hooks/index.js +3 -2
  25. package/dist/hooks/published.d.ts +546 -2
  26. package/dist/hooks/published.js +3 -2
  27. package/dist/index.css +62 -0
  28. package/dist/index.d.ts +351 -4
  29. package/dist/index.js +12 -1038
  30. package/dist/initialization/index.d.ts +270 -0
  31. package/dist/initialization/index.js +1 -0
  32. package/dist/layout/index.css +44 -0
  33. package/dist/layout/index.d.ts +330 -0
  34. package/dist/layout/index.js +1440 -0
  35. package/dist/organization/index.js +1 -0
  36. package/dist/profile/index.d.ts +270 -0
  37. package/dist/profile/index.js +1 -0
  38. package/dist/provider/index.css +61 -0
  39. package/dist/provider/index.d.ts +54 -2
  40. package/dist/provider/index.js +5 -3
  41. package/dist/provider/published.d.ts +6 -0
  42. package/dist/provider/published.js +3 -2
  43. package/dist/router/context.js +1 -0
  44. package/dist/router/index.js +1 -0
  45. package/dist/sse/index.js +1 -1
  46. package/dist/supabase/index.d.ts +525 -0
  47. package/dist/supabase/index.js +1 -0
  48. package/dist/theme/index.d.ts +107 -0
  49. package/dist/theme/index.js +3 -0
  50. package/dist/typeform/index.js +1 -0
  51. package/dist/typeform/schemas.js +1 -0
  52. package/dist/types/index.d.ts +3664 -354
  53. package/dist/utils/index.js +1 -0
  54. package/package.json +64 -3
  55. package/dist/chunk-XXDDMASA.js +0 -170
  56. /package/dist/{chunk-BUZONXAW.js → chunk-ARQRKA6J.js} +0 -0
@@ -1143,6 +1143,276 @@ type Database = {
1143
1143
  }
1144
1144
  ];
1145
1145
  };
1146
+ delivery_deliverables: {
1147
+ Row: {
1148
+ completed_at: string | null;
1149
+ created_at: string;
1150
+ description: string | null;
1151
+ due_date: string | null;
1152
+ engagement_id: string;
1153
+ file_url: string | null;
1154
+ id: string;
1155
+ metadata: Json | null;
1156
+ milestone_id: string | null;
1157
+ name: string;
1158
+ organization_id: string;
1159
+ status: string;
1160
+ type: string;
1161
+ updated_at: string;
1162
+ };
1163
+ Insert: {
1164
+ completed_at?: string | null;
1165
+ created_at?: string;
1166
+ description?: string | null;
1167
+ due_date?: string | null;
1168
+ engagement_id: string;
1169
+ file_url?: string | null;
1170
+ id?: string;
1171
+ metadata?: Json | null;
1172
+ milestone_id?: string | null;
1173
+ name: string;
1174
+ organization_id: string;
1175
+ status?: string;
1176
+ type?: string;
1177
+ updated_at?: string;
1178
+ };
1179
+ Update: {
1180
+ completed_at?: string | null;
1181
+ created_at?: string;
1182
+ description?: string | null;
1183
+ due_date?: string | null;
1184
+ engagement_id?: string;
1185
+ file_url?: string | null;
1186
+ id?: string;
1187
+ metadata?: Json | null;
1188
+ milestone_id?: string | null;
1189
+ name?: string;
1190
+ organization_id?: string;
1191
+ status?: string;
1192
+ type?: string;
1193
+ updated_at?: string;
1194
+ };
1195
+ Relationships: [
1196
+ {
1197
+ foreignKeyName: "delivery_deliverables_engagement_id_fkey";
1198
+ columns: ["engagement_id"];
1199
+ isOneToOne: false;
1200
+ referencedRelation: "delivery_engagements";
1201
+ referencedColumns: ["id"];
1202
+ },
1203
+ {
1204
+ foreignKeyName: "delivery_deliverables_milestone_id_fkey";
1205
+ columns: ["milestone_id"];
1206
+ isOneToOne: false;
1207
+ referencedRelation: "delivery_milestones";
1208
+ referencedColumns: ["id"];
1209
+ },
1210
+ {
1211
+ foreignKeyName: "delivery_deliverables_organization_id_fkey";
1212
+ columns: ["organization_id"];
1213
+ isOneToOne: false;
1214
+ referencedRelation: "organizations";
1215
+ referencedColumns: ["id"];
1216
+ }
1217
+ ];
1218
+ };
1219
+ delivery_engagements: {
1220
+ Row: {
1221
+ actual_end_date: string | null;
1222
+ client_company_id: string | null;
1223
+ contract_value: number | null;
1224
+ created_at: string;
1225
+ deal_id: string | null;
1226
+ description: string | null;
1227
+ id: string;
1228
+ metadata: Json | null;
1229
+ name: string;
1230
+ organization_id: string;
1231
+ start_date: string | null;
1232
+ status: string;
1233
+ target_end_date: string | null;
1234
+ updated_at: string;
1235
+ };
1236
+ Insert: {
1237
+ actual_end_date?: string | null;
1238
+ client_company_id?: string | null;
1239
+ contract_value?: number | null;
1240
+ created_at?: string;
1241
+ deal_id?: string | null;
1242
+ description?: string | null;
1243
+ id?: string;
1244
+ metadata?: Json | null;
1245
+ name: string;
1246
+ organization_id: string;
1247
+ start_date?: string | null;
1248
+ status?: string;
1249
+ target_end_date?: string | null;
1250
+ updated_at?: string;
1251
+ };
1252
+ Update: {
1253
+ actual_end_date?: string | null;
1254
+ client_company_id?: string | null;
1255
+ contract_value?: number | null;
1256
+ created_at?: string;
1257
+ deal_id?: string | null;
1258
+ description?: string | null;
1259
+ id?: string;
1260
+ metadata?: Json | null;
1261
+ name?: string;
1262
+ organization_id?: string;
1263
+ start_date?: string | null;
1264
+ status?: string;
1265
+ target_end_date?: string | null;
1266
+ updated_at?: string;
1267
+ };
1268
+ Relationships: [
1269
+ {
1270
+ foreignKeyName: "delivery_engagements_client_company_id_fkey";
1271
+ columns: ["client_company_id"];
1272
+ isOneToOne: false;
1273
+ referencedRelation: "acq_companies";
1274
+ referencedColumns: ["id"];
1275
+ },
1276
+ {
1277
+ foreignKeyName: "delivery_engagements_deal_id_fkey";
1278
+ columns: ["deal_id"];
1279
+ isOneToOne: false;
1280
+ referencedRelation: "acq_deals";
1281
+ referencedColumns: ["id"];
1282
+ },
1283
+ {
1284
+ foreignKeyName: "delivery_engagements_organization_id_fkey";
1285
+ columns: ["organization_id"];
1286
+ isOneToOne: false;
1287
+ referencedRelation: "organizations";
1288
+ referencedColumns: ["id"];
1289
+ }
1290
+ ];
1291
+ };
1292
+ delivery_milestones: {
1293
+ Row: {
1294
+ checklist: Json | null;
1295
+ completed_at: string | null;
1296
+ created_at: string;
1297
+ description: string | null;
1298
+ due_date: string | null;
1299
+ engagement_id: string;
1300
+ id: string;
1301
+ metadata: Json | null;
1302
+ name: string;
1303
+ organization_id: string;
1304
+ sequence: number;
1305
+ status: string;
1306
+ updated_at: string;
1307
+ };
1308
+ Insert: {
1309
+ checklist?: Json | null;
1310
+ completed_at?: string | null;
1311
+ created_at?: string;
1312
+ description?: string | null;
1313
+ due_date?: string | null;
1314
+ engagement_id: string;
1315
+ id?: string;
1316
+ metadata?: Json | null;
1317
+ name: string;
1318
+ organization_id: string;
1319
+ sequence?: number;
1320
+ status?: string;
1321
+ updated_at?: string;
1322
+ };
1323
+ Update: {
1324
+ checklist?: Json | null;
1325
+ completed_at?: string | null;
1326
+ created_at?: string;
1327
+ description?: string | null;
1328
+ due_date?: string | null;
1329
+ engagement_id?: string;
1330
+ id?: string;
1331
+ metadata?: Json | null;
1332
+ name?: string;
1333
+ organization_id?: string;
1334
+ sequence?: number;
1335
+ status?: string;
1336
+ updated_at?: string;
1337
+ };
1338
+ Relationships: [
1339
+ {
1340
+ foreignKeyName: "delivery_milestones_engagement_id_fkey";
1341
+ columns: ["engagement_id"];
1342
+ isOneToOne: false;
1343
+ referencedRelation: "delivery_engagements";
1344
+ referencedColumns: ["id"];
1345
+ },
1346
+ {
1347
+ foreignKeyName: "delivery_milestones_organization_id_fkey";
1348
+ columns: ["organization_id"];
1349
+ isOneToOne: false;
1350
+ referencedRelation: "organizations";
1351
+ referencedColumns: ["id"];
1352
+ }
1353
+ ];
1354
+ };
1355
+ delivery_notes: {
1356
+ Row: {
1357
+ content: string;
1358
+ created_at: string;
1359
+ created_by: string | null;
1360
+ engagement_id: string;
1361
+ id: string;
1362
+ metadata: Json | null;
1363
+ occurred_at: string;
1364
+ organization_id: string;
1365
+ summary: string | null;
1366
+ type: string;
1367
+ };
1368
+ Insert: {
1369
+ content: string;
1370
+ created_at?: string;
1371
+ created_by?: string | null;
1372
+ engagement_id: string;
1373
+ id?: string;
1374
+ metadata?: Json | null;
1375
+ occurred_at?: string;
1376
+ organization_id: string;
1377
+ summary?: string | null;
1378
+ type?: string;
1379
+ };
1380
+ Update: {
1381
+ content?: string;
1382
+ created_at?: string;
1383
+ created_by?: string | null;
1384
+ engagement_id?: string;
1385
+ id?: string;
1386
+ metadata?: Json | null;
1387
+ occurred_at?: string;
1388
+ organization_id?: string;
1389
+ summary?: string | null;
1390
+ type?: string;
1391
+ };
1392
+ Relationships: [
1393
+ {
1394
+ foreignKeyName: "delivery_notes_created_by_fkey";
1395
+ columns: ["created_by"];
1396
+ isOneToOne: false;
1397
+ referencedRelation: "users";
1398
+ referencedColumns: ["id"];
1399
+ },
1400
+ {
1401
+ foreignKeyName: "delivery_notes_engagement_id_fkey";
1402
+ columns: ["engagement_id"];
1403
+ isOneToOne: false;
1404
+ referencedRelation: "delivery_engagements";
1405
+ referencedColumns: ["id"];
1406
+ },
1407
+ {
1408
+ foreignKeyName: "delivery_notes_organization_id_fkey";
1409
+ columns: ["organization_id"];
1410
+ isOneToOne: false;
1411
+ referencedRelation: "organizations";
1412
+ referencedColumns: ["id"];
1413
+ }
1414
+ ];
1415
+ };
1146
1416
  deployments: {
1147
1417
  Row: {
1148
1418
  compiled_docs: Json | null;
@@ -3154,6 +3424,261 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3154
3424
  referencedColumns: ["id"];
3155
3425
  }];
3156
3426
  };
3427
+ delivery_deliverables: {
3428
+ Row: {
3429
+ completed_at: string | null;
3430
+ created_at: string;
3431
+ description: string | null;
3432
+ due_date: string | null;
3433
+ engagement_id: string;
3434
+ file_url: string | null;
3435
+ id: string;
3436
+ metadata: Json | null;
3437
+ milestone_id: string | null;
3438
+ name: string;
3439
+ organization_id: string;
3440
+ status: string;
3441
+ type: string;
3442
+ updated_at: string;
3443
+ };
3444
+ Insert: {
3445
+ completed_at?: string | null;
3446
+ created_at?: string;
3447
+ description?: string | null;
3448
+ due_date?: string | null;
3449
+ engagement_id: string;
3450
+ file_url?: string | null;
3451
+ id?: string;
3452
+ metadata?: Json | null;
3453
+ milestone_id?: string | null;
3454
+ name: string;
3455
+ organization_id: string;
3456
+ status?: string;
3457
+ type?: string;
3458
+ updated_at?: string;
3459
+ };
3460
+ Update: {
3461
+ completed_at?: string | null;
3462
+ created_at?: string;
3463
+ description?: string | null;
3464
+ due_date?: string | null;
3465
+ engagement_id?: string;
3466
+ file_url?: string | null;
3467
+ id?: string;
3468
+ metadata?: Json | null;
3469
+ milestone_id?: string | null;
3470
+ name?: string;
3471
+ organization_id?: string;
3472
+ status?: string;
3473
+ type?: string;
3474
+ updated_at?: string;
3475
+ };
3476
+ Relationships: [{
3477
+ foreignKeyName: "delivery_deliverables_engagement_id_fkey";
3478
+ columns: ["engagement_id"];
3479
+ isOneToOne: false;
3480
+ referencedRelation: "delivery_engagements";
3481
+ referencedColumns: ["id"];
3482
+ }, {
3483
+ foreignKeyName: "delivery_deliverables_milestone_id_fkey";
3484
+ columns: ["milestone_id"];
3485
+ isOneToOne: false;
3486
+ referencedRelation: "delivery_milestones";
3487
+ referencedColumns: ["id"];
3488
+ }, {
3489
+ foreignKeyName: "delivery_deliverables_organization_id_fkey";
3490
+ columns: ["organization_id"];
3491
+ isOneToOne: false;
3492
+ referencedRelation: "organizations";
3493
+ referencedColumns: ["id"];
3494
+ }];
3495
+ };
3496
+ delivery_engagements: {
3497
+ Row: {
3498
+ actual_end_date: string | null;
3499
+ client_company_id: string | null;
3500
+ contract_value: number | null;
3501
+ created_at: string;
3502
+ deal_id: string | null;
3503
+ description: string | null;
3504
+ id: string;
3505
+ metadata: Json | null;
3506
+ name: string;
3507
+ organization_id: string;
3508
+ start_date: string | null;
3509
+ status: string;
3510
+ target_end_date: string | null;
3511
+ updated_at: string;
3512
+ };
3513
+ Insert: {
3514
+ actual_end_date?: string | null;
3515
+ client_company_id?: string | null;
3516
+ contract_value?: number | null;
3517
+ created_at?: string;
3518
+ deal_id?: string | null;
3519
+ description?: string | null;
3520
+ id?: string;
3521
+ metadata?: Json | null;
3522
+ name: string;
3523
+ organization_id: string;
3524
+ start_date?: string | null;
3525
+ status?: string;
3526
+ target_end_date?: string | null;
3527
+ updated_at?: string;
3528
+ };
3529
+ Update: {
3530
+ actual_end_date?: string | null;
3531
+ client_company_id?: string | null;
3532
+ contract_value?: number | null;
3533
+ created_at?: string;
3534
+ deal_id?: string | null;
3535
+ description?: string | null;
3536
+ id?: string;
3537
+ metadata?: Json | null;
3538
+ name?: string;
3539
+ organization_id?: string;
3540
+ start_date?: string | null;
3541
+ status?: string;
3542
+ target_end_date?: string | null;
3543
+ updated_at?: string;
3544
+ };
3545
+ Relationships: [{
3546
+ foreignKeyName: "delivery_engagements_client_company_id_fkey";
3547
+ columns: ["client_company_id"];
3548
+ isOneToOne: false;
3549
+ referencedRelation: "acq_companies";
3550
+ referencedColumns: ["id"];
3551
+ }, {
3552
+ foreignKeyName: "delivery_engagements_deal_id_fkey";
3553
+ columns: ["deal_id"];
3554
+ isOneToOne: false;
3555
+ referencedRelation: "acq_deals";
3556
+ referencedColumns: ["id"];
3557
+ }, {
3558
+ foreignKeyName: "delivery_engagements_organization_id_fkey";
3559
+ columns: ["organization_id"];
3560
+ isOneToOne: false;
3561
+ referencedRelation: "organizations";
3562
+ referencedColumns: ["id"];
3563
+ }];
3564
+ };
3565
+ delivery_milestones: {
3566
+ Row: {
3567
+ checklist: Json | null;
3568
+ completed_at: string | null;
3569
+ created_at: string;
3570
+ description: string | null;
3571
+ due_date: string | null;
3572
+ engagement_id: string;
3573
+ id: string;
3574
+ metadata: Json | null;
3575
+ name: string;
3576
+ organization_id: string;
3577
+ sequence: number;
3578
+ status: string;
3579
+ updated_at: string;
3580
+ };
3581
+ Insert: {
3582
+ checklist?: Json | null;
3583
+ completed_at?: string | null;
3584
+ created_at?: string;
3585
+ description?: string | null;
3586
+ due_date?: string | null;
3587
+ engagement_id: string;
3588
+ id?: string;
3589
+ metadata?: Json | null;
3590
+ name: string;
3591
+ organization_id: string;
3592
+ sequence?: number;
3593
+ status?: string;
3594
+ updated_at?: string;
3595
+ };
3596
+ Update: {
3597
+ checklist?: Json | null;
3598
+ completed_at?: string | null;
3599
+ created_at?: string;
3600
+ description?: string | null;
3601
+ due_date?: string | null;
3602
+ engagement_id?: string;
3603
+ id?: string;
3604
+ metadata?: Json | null;
3605
+ name?: string;
3606
+ organization_id?: string;
3607
+ sequence?: number;
3608
+ status?: string;
3609
+ updated_at?: string;
3610
+ };
3611
+ Relationships: [{
3612
+ foreignKeyName: "delivery_milestones_engagement_id_fkey";
3613
+ columns: ["engagement_id"];
3614
+ isOneToOne: false;
3615
+ referencedRelation: "delivery_engagements";
3616
+ referencedColumns: ["id"];
3617
+ }, {
3618
+ foreignKeyName: "delivery_milestones_organization_id_fkey";
3619
+ columns: ["organization_id"];
3620
+ isOneToOne: false;
3621
+ referencedRelation: "organizations";
3622
+ referencedColumns: ["id"];
3623
+ }];
3624
+ };
3625
+ delivery_notes: {
3626
+ Row: {
3627
+ content: string;
3628
+ created_at: string;
3629
+ created_by: string | null;
3630
+ engagement_id: string;
3631
+ id: string;
3632
+ metadata: Json | null;
3633
+ occurred_at: string;
3634
+ organization_id: string;
3635
+ summary: string | null;
3636
+ type: string;
3637
+ };
3638
+ Insert: {
3639
+ content: string;
3640
+ created_at?: string;
3641
+ created_by?: string | null;
3642
+ engagement_id: string;
3643
+ id?: string;
3644
+ metadata?: Json | null;
3645
+ occurred_at?: string;
3646
+ organization_id: string;
3647
+ summary?: string | null;
3648
+ type?: string;
3649
+ };
3650
+ Update: {
3651
+ content?: string;
3652
+ created_at?: string;
3653
+ created_by?: string | null;
3654
+ engagement_id?: string;
3655
+ id?: string;
3656
+ metadata?: Json | null;
3657
+ occurred_at?: string;
3658
+ organization_id?: string;
3659
+ summary?: string | null;
3660
+ type?: string;
3661
+ };
3662
+ Relationships: [{
3663
+ foreignKeyName: "delivery_notes_created_by_fkey";
3664
+ columns: ["created_by"];
3665
+ isOneToOne: false;
3666
+ referencedRelation: "users";
3667
+ referencedColumns: ["id"];
3668
+ }, {
3669
+ foreignKeyName: "delivery_notes_engagement_id_fkey";
3670
+ columns: ["engagement_id"];
3671
+ isOneToOne: false;
3672
+ referencedRelation: "delivery_engagements";
3673
+ referencedColumns: ["id"];
3674
+ }, {
3675
+ foreignKeyName: "delivery_notes_organization_id_fkey";
3676
+ columns: ["organization_id"];
3677
+ isOneToOne: false;
3678
+ referencedRelation: "organizations";
3679
+ referencedColumns: ["id"];
3680
+ }];
3681
+ };
3157
3682
  deployments: {
3158
3683
  Row: {
3159
3684
  compiled_docs: Json | null;
@@ -1,2 +1,3 @@
1
1
  export { getSupabaseClient, useSupabase } from '../chunk-JGJSZ3UE.js';
2
2
  import '../chunk-7PLEQFHO.js';
3
+ import '../chunk-MLKGABMK.js';
@@ -0,0 +1,107 @@
1
+ import { CSSVariablesResolver, MantineThemeOverride } from '@mantine/core';
2
+
3
+ /** Flat + per-scheme override pattern. Flat values apply to both; `light`/`dark` win over flat. */
4
+ type WithSchemes<T> = T & {
5
+ light?: T;
6
+ dark?: T;
7
+ };
8
+ /**
9
+ * Theme token overrides. Each key maps 1:1 to a CSS variable.
10
+ * All optional — defaults come from Elevasis design system.
11
+ */
12
+ interface ElevasisTokenOverrides {
13
+ primary?: string;
14
+ /** Text color that contrasts with `primary`. Defaults to '#fff'. */
15
+ primaryContrast?: string;
16
+ background?: string;
17
+ surface?: string;
18
+ surfaceHover?: string;
19
+ text?: string;
20
+ textDimmed?: string;
21
+ textSubtle?: string;
22
+ border?: string;
23
+ error?: string;
24
+ warning?: string;
25
+ success?: string;
26
+ glassBackground?: string;
27
+ glassBlur?: string;
28
+ shadow?: string;
29
+ cardShadow?: string;
30
+ durationFast?: string;
31
+ durationNormal?: string;
32
+ easing?: string;
33
+ /** Foreground text color for destructive/error buttons. Defaults to '#fff'. */
34
+ destructiveFg?: string;
35
+ /** Heading font family — used for titles, section headers. */
36
+ fontHeading?: string;
37
+ /** Body font family — used for general text. */
38
+ fontSans?: string;
39
+ }
40
+ /**
41
+ * Core theme config — Mantine-free.
42
+ * Used by ElevasisCoreProvider and as the base for ElevasisThemeConfig.
43
+ */
44
+ interface ElevasisCoreThemeConfig {
45
+ /** Color scheme: 'light', 'dark', or 'auto'. Defaults to 'dark'. */
46
+ colorScheme?: 'light' | 'dark' | 'auto';
47
+ /** Named preset — bundles light/dark token defaults. Defaults to 'default'. */
48
+ preset?: PresetName;
49
+ /**
50
+ * Semantic token overrides fed into CSS variables.
51
+ * Flat values apply to both schemes. `light`/`dark` nested values win over flat.
52
+ */
53
+ tokens?: WithSchemes<ElevasisTokenOverrides>;
54
+ }
55
+
56
+ /** Framework-agnostic theme overrides bundled with a preset (fonts, radius, component styles). */
57
+ interface FrameworkThemeOverrides {
58
+ fontFamily?: string;
59
+ defaultRadius?: string;
60
+ headings?: {
61
+ fontFamily?: string;
62
+ fontWeight?: string;
63
+ };
64
+ components?: Record<string, unknown>;
65
+ }
66
+ interface ThemePreset {
67
+ light: Required<ElevasisTokenOverrides>;
68
+ dark: Required<ElevasisTokenOverrides>;
69
+ /** Optional framework theme overrides bundled with this preset (fonts, radius, etc.). */
70
+ framework?: FrameworkThemeOverrides;
71
+ /**
72
+ * Subtitle font family — used for card names, section labels, and nav items.
73
+ * Sits between heading and body in the typographic hierarchy.
74
+ */
75
+ subtitleFontFamily?: string;
76
+ /** Google Fonts URLs to load when this preset is active. */
77
+ fontImports?: string[];
78
+ }
79
+ type PresetName = 'default' | 'tactical' | 'regal' | 'cyber-volt' | 'aurora' | 'rose-gold' | 'midnight' | 'ember' | 'obsidian' | 'honey' | 'abyss' | 'canopy' | 'slate' | 'cyber-strike' | 'cyber-flux' | 'cyber-void';
80
+
81
+ /** 10-shade color tuple (light → dark), compatible with Mantine's color format. */
82
+ type ColorShadesTuple = [string, string, string, string, string, string, string, string, string, string];
83
+ /**
84
+ * Generate a 10-shade Mantine color tuple from a single hex color.
85
+ * Input color maps to shade 6 (Mantine's default primary shade).
86
+ * Shades 0-5 are progressively lighter, 7-9 are progressively darker.
87
+ */
88
+ declare function generateShades(hex: string): ColorShadesTuple;
89
+
90
+ /** Look up a preset by name. Falls back to default preset for unknown names. */
91
+ declare function getPreset(name: PresetName | (string & {})): ThemePreset;
92
+
93
+ /** Token key → CSS variable name. Single source of truth for the mapping. */
94
+ declare const TOKEN_VAR_MAP: Record<keyof ElevasisTokenOverrides, string>;
95
+ /**
96
+ * Creates a CSS variables resolver from theme config.
97
+ *
98
+ * Merge order per scheme: PRESET_DEFAULTS → flat overrides → scheme-specific overrides
99
+ */
100
+ declare function createCssVariablesResolver(tokens?: ElevasisCoreThemeConfig['tokens'], preset?: PresetName): CSSVariablesResolver;
101
+
102
+ declare const mantineThemeOverride: MantineThemeOverride;
103
+
104
+ declare const componentThemes: MantineThemeOverride['components'];
105
+
106
+ export { TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride };
107
+ export type { ColorShadesTuple, FrameworkThemeOverrides, PresetName, ThemePreset };
@@ -0,0 +1,3 @@
1
+ import '../chunk-ARQRKA6J.js';
2
+ export { TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, generateShades, getPreset, mantineThemeOverride } from '../chunk-KB5NKPTN.js';
3
+ import '../chunk-MLKGABMK.js';
@@ -1,4 +1,5 @@
1
1
  export { answerValueSchema, checkboxWithOtherSchema, multiAnswerValueSchema, radioWithOtherSchema } from '../chunk-6M6OLGQY.js';
2
+ import '../chunk-MLKGABMK.js';
2
3
  import { createContext, useMemo, useState, useCallback, useEffect, useContext, useRef } from 'react';
3
4
  import { Box, Progress, Text, Group, Button, Kbd, Modal, Stack, Transition, Title, UnstyledButton, TextInput, Textarea, Center, Alert, Card, ActionIcon, Paper } from '@mantine/core';
4
5
  import { IconArrowLeft, IconCheck, IconArrowRight, IconPlus, IconPencil, IconTrash, IconX } from '@tabler/icons-react';
@@ -1 +1,2 @@
1
1
  export { answerValueSchema, checkboxWithOtherSchema, multiAnswerValueSchema, radioWithOtherSchema } from '../chunk-6M6OLGQY.js';
2
+ import '../chunk-MLKGABMK.js';