@kopexa/theme 17.8.2 → 17.10.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 (38) hide show
  1. package/dist/{chunk-W7RJG22S.mjs → chunk-B5JVXVSG.mjs} +4 -9
  2. package/dist/{chunk-3CZOBPDH.mjs → chunk-CVGMGJPW.mjs} +2 -2
  3. package/dist/{chunk-NNKYGAZC.mjs → chunk-LIKA7I7Y.mjs} +1 -1
  4. package/dist/chunk-ODC3GJTR.mjs +61 -0
  5. package/dist/chunk-Q72M565Q.mjs +143 -0
  6. package/dist/chunk-RTWYV4TJ.mjs +64 -0
  7. package/dist/components/editor-basic.d.mts +42 -6
  8. package/dist/components/editor-basic.d.ts +42 -6
  9. package/dist/components/editor-basic.js +83 -3
  10. package/dist/components/editor-basic.mjs +1 -1
  11. package/dist/components/index.d.mts +2 -0
  12. package/dist/components/index.d.ts +2 -0
  13. package/dist/components/index.js +227 -29
  14. package/dist/components/index.mjs +16 -8
  15. package/dist/components/sidebar.js +2 -2
  16. package/dist/components/sidebar.mjs +1 -1
  17. package/dist/components/slash-dropdown-menu.js +1 -1
  18. package/dist/components/slash-dropdown-menu.mjs +1 -1
  19. package/dist/components/split-page-layout.d.mts +6 -0
  20. package/dist/components/split-page-layout.d.ts +6 -0
  21. package/dist/components/split-page-layout.js +4 -9
  22. package/dist/components/split-page-layout.mjs +1 -1
  23. package/dist/components/stat.d.mts +89 -0
  24. package/dist/components/stat.d.ts +89 -0
  25. package/dist/components/stat.js +88 -0
  26. package/dist/components/stat.mjs +6 -0
  27. package/dist/components/toc.d.mts +95 -0
  28. package/dist/components/toc.d.ts +95 -0
  29. package/dist/components/toc.js +85 -0
  30. package/dist/components/toc.mjs +6 -0
  31. package/dist/index.css +2 -2
  32. package/dist/index.d.mts +2 -0
  33. package/dist/index.d.ts +2 -0
  34. package/dist/index.js +227 -29
  35. package/dist/index.mjs +16 -8
  36. package/package.json +5 -4
  37. package/dist/chunk-XOL7P7NP.mjs +0 -63
  38. /package/dist/{chunk-7ED3ZIKG.mjs → chunk-YLLRX2LS.mjs} +0 -0
@@ -83,11 +83,13 @@ __export(components_exports, {
83
83
  spinner: () => spinner,
84
84
  splitPageLayout: () => splitPageLayout,
85
85
  standardChip: () => standardChip,
86
+ stat: () => stat,
86
87
  switchVariants: () => switchVariants,
87
88
  tabNav: () => tabNav,
88
89
  table: () => table,
89
90
  tabs: () => tabs,
90
91
  textarea: () => textarea,
92
+ toc: () => toc,
91
93
  toolbar: () => toolbar,
92
94
  tooltip: () => tooltip
93
95
  });
@@ -2365,8 +2367,21 @@ var editorBasic = (0, import_tailwind_variants26.tv)({
2365
2367
  },
2366
2368
  // document style, eg. document editor, fullpage etc pp
2367
2369
  document: {
2368
- wrapper: "size-full overflow-auto",
2369
- content: "size-full"
2370
+ root: "h-full min-h-0 flex flex-col overflow-hidden",
2371
+ toolbarContainer: ["shrink-0", "border-b bg-background", "px-4"],
2372
+ wrapper: ["flex-1 min-h-0 overflow-auto", "bg-muted/30"],
2373
+ content: [
2374
+ // Centered paper effect
2375
+ "mx-auto",
2376
+ "w-full max-w-[816px]",
2377
+ "min-h-full",
2378
+ "bg-background",
2379
+ "shadow-lg",
2380
+ // ProseMirror styling
2381
+ "[&_.tiptap.ProseMirror]:py-16",
2382
+ "[&_.tiptap.ProseMirror]:px-16",
2383
+ "[&_.tiptap.ProseMirror]:min-h-full"
2384
+ ]
2370
2385
  },
2371
2386
  comment: {
2372
2387
  root: "",
@@ -2377,11 +2392,78 @@ var editorBasic = (0, import_tailwind_variants26.tv)({
2377
2392
  ],
2378
2393
  toolbarContainer: "rounded-md mb-2",
2379
2394
  content: ""
2395
+ },
2396
+ // Form field style - compact with bottom toolbar
2397
+ field: {
2398
+ root: [
2399
+ "grid grid-rows-[minmax(0,1fr),auto]",
2400
+ // content first, toolbar second
2401
+ "transition-shadow"
2402
+ ],
2403
+ wrapper: [
2404
+ "row-start-1 row-end-2",
2405
+ "max-h-[12lh]",
2406
+ // ~12 lines max
2407
+ "min-h-[4lh]",
2408
+ // ~4 lines min
2409
+ "overflow-y-auto",
2410
+ "flex flex-col"
2411
+ // stretch content
2412
+ ],
2413
+ toolbarContainer: [
2414
+ "row-start-2 row-end-3",
2415
+ "border-t bg-muted/30",
2416
+ "sticky bottom-0",
2417
+ "py-1 px-2"
2418
+ ],
2419
+ content: [
2420
+ "flex-1",
2421
+ // fill available space
2422
+ "[&_.tiptap.ProseMirror]:py-3",
2423
+ "[&_.tiptap.ProseMirror]:px-3",
2424
+ "[&_.tiptap.ProseMirror]:text-sm",
2425
+ "[&_.tiptap.ProseMirror]:min-h-full",
2426
+ // editor fills container
2427
+ "[&_.tiptap.ProseMirror]:cursor-text"
2428
+ // show text cursor
2429
+ ]
2380
2430
  }
2431
+ },
2432
+ bordered: {
2433
+ true: {},
2434
+ false: {}
2381
2435
  }
2382
2436
  },
2437
+ compoundVariants: [
2438
+ // Field with border (default for editable)
2439
+ {
2440
+ variant: "field",
2441
+ bordered: true,
2442
+ class: {
2443
+ root: [
2444
+ "border rounded-md",
2445
+ "focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2"
2446
+ ]
2447
+ }
2448
+ },
2449
+ // Field without border (for read-only in cards)
2450
+ {
2451
+ variant: "field",
2452
+ bordered: false,
2453
+ class: {
2454
+ root: "border-0",
2455
+ wrapper: "min-h-0",
2456
+ // remove min-height constraint for read-only
2457
+ content: [
2458
+ "[&_.tiptap.ProseMirror]:py-0",
2459
+ "[&_.tiptap.ProseMirror]:px-0"
2460
+ ]
2461
+ }
2462
+ }
2463
+ ],
2383
2464
  defaultVariants: {
2384
- variant: "default"
2465
+ variant: "default",
2466
+ bordered: true
2385
2467
  }
2386
2468
  });
2387
2469
 
@@ -3550,7 +3632,7 @@ var import_tailwind_variants54 = require("tailwind-variants");
3550
3632
  var sidebar = (0, import_tailwind_variants54.tv)({
3551
3633
  slots: {
3552
3634
  provider: [
3553
- "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full isolate"
3635
+ "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex h-svh w-full isolate overflow-hidden"
3554
3636
  ],
3555
3637
  sidebarWrapper: ["group peer text-sidebar-foreground hidden md:block"],
3556
3638
  sidebar: [
@@ -3577,7 +3659,7 @@ var sidebar = (0, import_tailwind_variants54.tv)({
3577
3659
  "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2"
3578
3660
  ],
3579
3661
  inset: [
3580
- "bg-background relative flex w-full flex-1 flex-col",
3662
+ "bg-background relative flex w-full flex-1 flex-col min-h-0",
3581
3663
  "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2"
3582
3664
  ],
3583
3665
  input: ["bg-background h-8 w-full shadow-none"],
@@ -3735,7 +3817,7 @@ var import_tailwind_variants57 = require("tailwind-variants");
3735
3817
  var slashDropdownMenu = (0, import_tailwind_variants57.tv)({
3736
3818
  slots: {
3737
3819
  card: [...popoverContentClasses, "p-0", "flex flex-col outline-none"],
3738
- body: ["p-1.5 flex-auto grow shrink overflow-y-auto w-full"],
3820
+ body: ["p-1.5 flex-auto grow shrink overflow-y-auto w-full bg-popover"],
3739
3821
  cardItemGroup: [
3740
3822
  "relative flex align-middle min-w-max",
3741
3823
  "flex-col justify-center"
@@ -3875,21 +3957,16 @@ var splitPageLayout = (0, import_tailwind_variants59.tv)({
3875
3957
  root: [
3876
3958
  "size-full min-h-0 grid grid-cols-[1fr_10px] md:grid-cols-3 relative"
3877
3959
  ],
3878
- content: ["p-4 md:p-6 col-span-1 md:col-span-2"],
3960
+ content: ["col-span-1 md:col-span-2 overflow-hidden"],
3961
+ contentBody: ["p-4 md:p-6 h-full overflow-auto"],
3879
3962
  panelContainer: [
3880
3963
  "flex flex-col",
3881
3964
  "md:border-s",
3882
3965
  //"size-full",
3883
3966
  "bg-muted/50 dark:bg-primary-900"
3884
3967
  ],
3885
- panel: [
3886
- //"md:border-s",
3887
- "p-4 md:p-6",
3888
- "overflow-y-auto overflow-x-hidden",
3889
- "flex-1",
3890
- "min-h-0",
3891
- "h-full"
3892
- ],
3968
+ panel: ["overflow-y-auto overflow-x-hidden", "flex-1", "min-h-0", "h-full"],
3969
+ panelBody: ["p-4 md:p-6"],
3893
3970
  bleed: "-mx-4 md:-mx-6",
3894
3971
  mobileWrapper: "relative",
3895
3972
  mobileContainer: ["absolute top-2 right-2 z-10"]
@@ -3998,9 +4075,70 @@ var standardChip = (0, import_tailwind_variants60.tv)({
3998
4075
  }
3999
4076
  });
4000
4077
 
4001
- // src/components/switch.ts
4078
+ // src/components/stat.ts
4002
4079
  var import_tailwind_variants61 = require("tailwind-variants");
4003
- var switchVariants = (0, import_tailwind_variants61.tv)({
4080
+ var stat = (0, import_tailwind_variants61.tv)({
4081
+ slots: {
4082
+ root: ["flex", "flex-col", "gap-1", "relative", "flex-1"],
4083
+ label: [
4084
+ "inline-flex",
4085
+ "gap-1.5",
4086
+ "items-center",
4087
+ "text-muted-foreground",
4088
+ "text-sm"
4089
+ ],
4090
+ helpText: ["text-muted-foreground", "text-xs"],
4091
+ valueUnit: [
4092
+ "text-muted-foreground",
4093
+ "text-xs",
4094
+ "font-normal",
4095
+ "tracking-normal"
4096
+ ],
4097
+ valueText: [
4098
+ "align-baseline",
4099
+ "font-semibold",
4100
+ "tracking-tight",
4101
+ "tabular-nums",
4102
+ "inline-flex",
4103
+ "gap-1"
4104
+ ],
4105
+ indicator: [
4106
+ "inline-flex",
4107
+ "items-center",
4108
+ "justify-center",
4109
+ "me-1",
4110
+ "[&_svg]:size-[1em]"
4111
+ ]
4112
+ },
4113
+ variants: {
4114
+ size: {
4115
+ sm: {
4116
+ valueText: "text-xl"
4117
+ },
4118
+ md: {
4119
+ valueText: "text-2xl"
4120
+ },
4121
+ lg: {
4122
+ valueText: "text-3xl"
4123
+ }
4124
+ },
4125
+ trend: {
4126
+ up: {
4127
+ indicator: "text-success"
4128
+ },
4129
+ down: {
4130
+ indicator: "text-destructive"
4131
+ }
4132
+ }
4133
+ },
4134
+ defaultVariants: {
4135
+ size: "md"
4136
+ }
4137
+ });
4138
+
4139
+ // src/components/switch.ts
4140
+ var import_tailwind_variants62 = require("tailwind-variants");
4141
+ var switchVariants = (0, import_tailwind_variants62.tv)({
4004
4142
  slots: {
4005
4143
  root: [
4006
4144
  "peer data-[checked]:bg-primary data-[unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[unchecked]:bg-input/80",
@@ -4035,8 +4173,8 @@ var switchVariants = (0, import_tailwind_variants61.tv)({
4035
4173
  });
4036
4174
 
4037
4175
  // src/components/tab-nav.ts
4038
- var import_tailwind_variants62 = require("tailwind-variants");
4039
- var tabNav = (0, import_tailwind_variants62.tv)({
4176
+ var import_tailwind_variants63 = require("tailwind-variants");
4177
+ var tabNav = (0, import_tailwind_variants63.tv)({
4040
4178
  slots: {
4041
4179
  base: "",
4042
4180
  list: [
@@ -4126,8 +4264,8 @@ var tabNav = (0, import_tailwind_variants62.tv)({
4126
4264
  });
4127
4265
 
4128
4266
  // src/components/table.ts
4129
- var import_tailwind_variants63 = require("tailwind-variants");
4130
- var table = (0, import_tailwind_variants63.tv)({
4267
+ var import_tailwind_variants64 = require("tailwind-variants");
4268
+ var table = (0, import_tailwind_variants64.tv)({
4131
4269
  slots: {
4132
4270
  container: ["overflow-x-auto whitespace-nowrap", "-mx-(--gutter)"],
4133
4271
  wrapper: ["inline-block min-w-full align-middle"],
@@ -4289,8 +4427,8 @@ var table = (0, import_tailwind_variants63.tv)({
4289
4427
  });
4290
4428
 
4291
4429
  // src/components/tabs.ts
4292
- var import_tailwind_variants64 = require("tailwind-variants");
4293
- var tabs = (0, import_tailwind_variants64.tv)({
4430
+ var import_tailwind_variants65 = require("tailwind-variants");
4431
+ var tabs = (0, import_tailwind_variants65.tv)({
4294
4432
  slots: {
4295
4433
  root: "flex flex-col gap-2",
4296
4434
  list: [
@@ -4327,8 +4465,8 @@ var tabs = (0, import_tailwind_variants64.tv)({
4327
4465
  });
4328
4466
 
4329
4467
  // src/components/textarea.ts
4330
- var import_tailwind_variants65 = require("tailwind-variants");
4331
- var textarea = (0, import_tailwind_variants65.tv)({
4468
+ var import_tailwind_variants66 = require("tailwind-variants");
4469
+ var textarea = (0, import_tailwind_variants66.tv)({
4332
4470
  base: [
4333
4471
  "w-full border border-input bg-background text-foreground shadow-xs shadow-black/5 transition-[color,box-shadow]",
4334
4472
  "text-foreground placeholder:text-muted-foreground/80",
@@ -4351,9 +4489,67 @@ var textarea = (0, import_tailwind_variants65.tv)({
4351
4489
  }
4352
4490
  });
4353
4491
 
4492
+ // src/components/toc.ts
4493
+ var import_tailwind_variants67 = require("tailwind-variants");
4494
+ var toc = (0, import_tailwind_variants67.tv)({
4495
+ slots: {
4496
+ root: ["my-4", "rounded-lg", "border", "bg-muted/30", "p-4"],
4497
+ header: ["flex", "items-center", "justify-between", "gap-2", "mb-3"],
4498
+ headerContent: [
4499
+ "flex",
4500
+ "items-center",
4501
+ "gap-2",
4502
+ "text-sm",
4503
+ "font-medium",
4504
+ "text-muted-foreground"
4505
+ ],
4506
+ headerIcon: ["size-4"],
4507
+ headerTitle: [],
4508
+ headerActions: ["flex", "items-center", "gap-1"],
4509
+ emptyState: ["text-sm", "text-muted-foreground", "italic"],
4510
+ nav: [],
4511
+ list: ["space-y-1", "list-none", "m-0", "p-0"],
4512
+ item: ["list-none", "flex", "items-baseline", "gap-2"],
4513
+ itemNumber: [
4514
+ "text-sm",
4515
+ "text-muted-foreground",
4516
+ "tabular-nums",
4517
+ "shrink-0"
4518
+ ],
4519
+ itemButton: [
4520
+ "text-sm",
4521
+ "text-left",
4522
+ "hover:text-primary",
4523
+ "hover:underline",
4524
+ "transition-colors",
4525
+ "truncate"
4526
+ ]
4527
+ },
4528
+ variants: {
4529
+ style: {
4530
+ default: {
4531
+ root: ["bg-muted/30", "border", "p-4"]
4532
+ },
4533
+ flat: {
4534
+ root: ["bg-transparent", "border-0", "p-0"],
4535
+ header: ["mb-2"]
4536
+ },
4537
+ compact: {
4538
+ root: ["bg-muted/20", "border", "p-3"],
4539
+ list: ["space-y-0.5"],
4540
+ itemButton: ["text-xs"],
4541
+ itemNumber: ["text-xs"]
4542
+ }
4543
+ }
4544
+ },
4545
+ defaultVariants: {
4546
+ style: "default"
4547
+ }
4548
+ });
4549
+
4354
4550
  // src/components/toolbar.ts
4355
- var import_tailwind_variants66 = require("tailwind-variants");
4356
- var toolbar = (0, import_tailwind_variants66.tv)({
4551
+ var import_tailwind_variants68 = require("tailwind-variants");
4552
+ var toolbar = (0, import_tailwind_variants68.tv)({
4357
4553
  slots: {
4358
4554
  root: "flex items-center gap-2.5 p-1",
4359
4555
  button: "shrink-0",
@@ -4392,8 +4588,8 @@ var toolbar = (0, import_tailwind_variants66.tv)({
4392
4588
  });
4393
4589
 
4394
4590
  // src/components/tooltip.ts
4395
- var import_tailwind_variants67 = require("tailwind-variants");
4396
- var tooltip = (0, import_tailwind_variants67.tv)({
4591
+ var import_tailwind_variants69 = require("tailwind-variants");
4592
+ var tooltip = (0, import_tailwind_variants69.tv)({
4397
4593
  slots: {
4398
4594
  content: [
4399
4595
  "bg-primary-900 text-primary-foreground",
@@ -4469,11 +4665,13 @@ var tooltip = (0, import_tailwind_variants67.tv)({
4469
4665
  spinner,
4470
4666
  splitPageLayout,
4471
4667
  standardChip,
4668
+ stat,
4472
4669
  switchVariants,
4473
4670
  tabNav,
4474
4671
  table,
4475
4672
  tabs,
4476
4673
  textarea,
4674
+ toc,
4477
4675
  toolbar,
4478
4676
  tooltip
4479
4677
  });
@@ -1,4 +1,7 @@
1
- import "../chunk-7ED3ZIKG.mjs";
1
+ import "../chunk-YLLRX2LS.mjs";
2
+ import {
3
+ tabNav
4
+ } from "../chunk-ZLM6Z3W2.mjs";
2
5
  import {
3
6
  table
4
7
  } from "../chunk-YC2FQDBV.mjs";
@@ -8,6 +11,9 @@ import {
8
11
  import {
9
12
  textarea
10
13
  } from "../chunk-ARLLAC5V.mjs";
14
+ import {
15
+ toc
16
+ } from "../chunk-ODC3GJTR.mjs";
11
17
  import {
12
18
  toolbar
13
19
  } from "../chunk-2NA54PNL.mjs";
@@ -22,22 +28,22 @@ import {
22
28
  } from "../chunk-VNQEJU4P.mjs";
23
29
  import {
24
30
  slashDropdownMenu
25
- } from "../chunk-NNKYGAZC.mjs";
31
+ } from "../chunk-LIKA7I7Y.mjs";
26
32
  import {
27
33
  spinner
28
34
  } from "../chunk-4UDOCFU5.mjs";
29
35
  import {
30
36
  splitPageLayout
31
- } from "../chunk-W7RJG22S.mjs";
37
+ } from "../chunk-B5JVXVSG.mjs";
32
38
  import {
33
39
  standardChip
34
40
  } from "../chunk-XQZL7LCP.mjs";
41
+ import {
42
+ stat
43
+ } from "../chunk-RTWYV4TJ.mjs";
35
44
  import {
36
45
  switchVariants
37
46
  } from "../chunk-WQ446TVH.mjs";
38
- import {
39
- tabNav
40
- } from "../chunk-ZLM6Z3W2.mjs";
41
47
  import {
42
48
  riskBadge
43
49
  } from "../chunk-V2J5XG34.mjs";
@@ -63,7 +69,7 @@ import {
63
69
  sidebar,
64
70
  sidebarMenuAction,
65
71
  sidebarMenuButton
66
- } from "../chunk-3CZOBPDH.mjs";
72
+ } from "../chunk-CVGMGJPW.mjs";
67
73
  import {
68
74
  label
69
75
  } from "../chunk-LMCM4CW2.mjs";
@@ -111,7 +117,7 @@ import {
111
117
  } from "../chunk-3PCDCW7G.mjs";
112
118
  import {
113
119
  editorBasic
114
- } from "../chunk-XOL7P7NP.mjs";
120
+ } from "../chunk-Q72M565Q.mjs";
115
121
  import {
116
122
  editorSpinner
117
123
  } from "../chunk-TVC4THD6.mjs";
@@ -269,11 +275,13 @@ export {
269
275
  spinner,
270
276
  splitPageLayout,
271
277
  standardChip,
278
+ stat,
272
279
  switchVariants,
273
280
  tabNav,
274
281
  table,
275
282
  tabs,
276
283
  textarea,
284
+ toc,
277
285
  toolbar,
278
286
  tooltip
279
287
  };
@@ -29,7 +29,7 @@ var import_tailwind_variants = require("tailwind-variants");
29
29
  var sidebar = (0, import_tailwind_variants.tv)({
30
30
  slots: {
31
31
  provider: [
32
- "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full isolate"
32
+ "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex h-svh w-full isolate overflow-hidden"
33
33
  ],
34
34
  sidebarWrapper: ["group peer text-sidebar-foreground hidden md:block"],
35
35
  sidebar: [
@@ -56,7 +56,7 @@ var sidebar = (0, import_tailwind_variants.tv)({
56
56
  "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2"
57
57
  ],
58
58
  inset: [
59
- "bg-background relative flex w-full flex-1 flex-col",
59
+ "bg-background relative flex w-full flex-1 flex-col min-h-0",
60
60
  "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2"
61
61
  ],
62
62
  input: ["bg-background h-8 w-full shadow-none"],
@@ -2,7 +2,7 @@ import {
2
2
  sidebar,
3
3
  sidebarMenuAction,
4
4
  sidebarMenuButton
5
- } from "../chunk-3CZOBPDH.mjs";
5
+ } from "../chunk-CVGMGJPW.mjs";
6
6
  export {
7
7
  sidebar,
8
8
  sidebarMenuAction,
@@ -35,7 +35,7 @@ var popoverContentClasses = [
35
35
  var slashDropdownMenu = (0, import_tailwind_variants.tv)({
36
36
  slots: {
37
37
  card: [...popoverContentClasses, "p-0", "flex flex-col outline-none"],
38
- body: ["p-1.5 flex-auto grow shrink overflow-y-auto w-full"],
38
+ body: ["p-1.5 flex-auto grow shrink overflow-y-auto w-full bg-popover"],
39
39
  cardItemGroup: [
40
40
  "relative flex align-middle min-w-max",
41
41
  "flex-col justify-center"
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  slashDropdownMenu
3
- } from "../chunk-NNKYGAZC.mjs";
3
+ } from "../chunk-LIKA7I7Y.mjs";
4
4
  import "../chunk-6IZPAS4O.mjs";
5
5
  export {
6
6
  slashDropdownMenu
@@ -10,8 +10,10 @@ declare const splitPageLayout: tailwind_variants.TVReturnType<{
10
10
  }, {
11
11
  root: string[];
12
12
  content: string[];
13
+ contentBody: string[];
13
14
  panelContainer: string[];
14
15
  panel: string[];
16
+ panelBody: string[];
15
17
  bleed: string;
16
18
  mobileWrapper: string;
17
19
  mobileContainer: string[];
@@ -24,8 +26,10 @@ declare const splitPageLayout: tailwind_variants.TVReturnType<{
24
26
  }, {
25
27
  root: string[];
26
28
  content: string[];
29
+ contentBody: string[];
27
30
  panelContainer: string[];
28
31
  panel: string[];
32
+ panelBody: string[];
29
33
  bleed: string;
30
34
  mobileWrapper: string;
31
35
  mobileContainer: string[];
@@ -38,8 +42,10 @@ declare const splitPageLayout: tailwind_variants.TVReturnType<{
38
42
  }, {
39
43
  root: string[];
40
44
  content: string[];
45
+ contentBody: string[];
41
46
  panelContainer: string[];
42
47
  panel: string[];
48
+ panelBody: string[];
43
49
  bleed: string;
44
50
  mobileWrapper: string;
45
51
  mobileContainer: string[];
@@ -10,8 +10,10 @@ declare const splitPageLayout: tailwind_variants.TVReturnType<{
10
10
  }, {
11
11
  root: string[];
12
12
  content: string[];
13
+ contentBody: string[];
13
14
  panelContainer: string[];
14
15
  panel: string[];
16
+ panelBody: string[];
15
17
  bleed: string;
16
18
  mobileWrapper: string;
17
19
  mobileContainer: string[];
@@ -24,8 +26,10 @@ declare const splitPageLayout: tailwind_variants.TVReturnType<{
24
26
  }, {
25
27
  root: string[];
26
28
  content: string[];
29
+ contentBody: string[];
27
30
  panelContainer: string[];
28
31
  panel: string[];
32
+ panelBody: string[];
29
33
  bleed: string;
30
34
  mobileWrapper: string;
31
35
  mobileContainer: string[];
@@ -38,8 +42,10 @@ declare const splitPageLayout: tailwind_variants.TVReturnType<{
38
42
  }, {
39
43
  root: string[];
40
44
  content: string[];
45
+ contentBody: string[];
41
46
  panelContainer: string[];
42
47
  panel: string[];
48
+ panelBody: string[];
43
49
  bleed: string;
44
50
  mobileWrapper: string;
45
51
  mobileContainer: string[];
@@ -29,21 +29,16 @@ var splitPageLayout = (0, import_tailwind_variants.tv)({
29
29
  root: [
30
30
  "size-full min-h-0 grid grid-cols-[1fr_10px] md:grid-cols-3 relative"
31
31
  ],
32
- content: ["p-4 md:p-6 col-span-1 md:col-span-2"],
32
+ content: ["col-span-1 md:col-span-2 overflow-hidden"],
33
+ contentBody: ["p-4 md:p-6 h-full overflow-auto"],
33
34
  panelContainer: [
34
35
  "flex flex-col",
35
36
  "md:border-s",
36
37
  //"size-full",
37
38
  "bg-muted/50 dark:bg-primary-900"
38
39
  ],
39
- panel: [
40
- //"md:border-s",
41
- "p-4 md:p-6",
42
- "overflow-y-auto overflow-x-hidden",
43
- "flex-1",
44
- "min-h-0",
45
- "h-full"
46
- ],
40
+ panel: ["overflow-y-auto overflow-x-hidden", "flex-1", "min-h-0", "h-full"],
41
+ panelBody: ["p-4 md:p-6"],
47
42
  bleed: "-mx-4 md:-mx-6",
48
43
  mobileWrapper: "relative",
49
44
  mobileContainer: ["absolute top-2 right-2 z-10"]
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  splitPageLayout
3
- } from "../chunk-W7RJG22S.mjs";
3
+ } from "../chunk-B5JVXVSG.mjs";
4
4
  export {
5
5
  splitPageLayout
6
6
  };
@@ -0,0 +1,89 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const stat: tailwind_variants.TVReturnType<{
5
+ size: {
6
+ sm: {
7
+ valueText: string;
8
+ };
9
+ md: {
10
+ valueText: string;
11
+ };
12
+ lg: {
13
+ valueText: string;
14
+ };
15
+ };
16
+ trend: {
17
+ up: {
18
+ indicator: string;
19
+ };
20
+ down: {
21
+ indicator: string;
22
+ };
23
+ };
24
+ }, {
25
+ root: string[];
26
+ label: string[];
27
+ helpText: string[];
28
+ valueUnit: string[];
29
+ valueText: string[];
30
+ indicator: string[];
31
+ }, undefined, {
32
+ size: {
33
+ sm: {
34
+ valueText: string;
35
+ };
36
+ md: {
37
+ valueText: string;
38
+ };
39
+ lg: {
40
+ valueText: string;
41
+ };
42
+ };
43
+ trend: {
44
+ up: {
45
+ indicator: string;
46
+ };
47
+ down: {
48
+ indicator: string;
49
+ };
50
+ };
51
+ }, {
52
+ root: string[];
53
+ label: string[];
54
+ helpText: string[];
55
+ valueUnit: string[];
56
+ valueText: string[];
57
+ indicator: string[];
58
+ }, tailwind_variants.TVReturnType<{
59
+ size: {
60
+ sm: {
61
+ valueText: string;
62
+ };
63
+ md: {
64
+ valueText: string;
65
+ };
66
+ lg: {
67
+ valueText: string;
68
+ };
69
+ };
70
+ trend: {
71
+ up: {
72
+ indicator: string;
73
+ };
74
+ down: {
75
+ indicator: string;
76
+ };
77
+ };
78
+ }, {
79
+ root: string[];
80
+ label: string[];
81
+ helpText: string[];
82
+ valueUnit: string[];
83
+ valueText: string[];
84
+ indicator: string[];
85
+ }, undefined, unknown, unknown, undefined>>;
86
+ type StatVariantProps = VariantProps<typeof stat>;
87
+ type StatSlots = keyof ReturnType<typeof stat>;
88
+
89
+ export { type StatSlots, type StatVariantProps, stat };