@nar-bus/lena-ui-shared 1.1.2 → 1.1.4
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/dist/index.d.ts +96 -4
- package/dist/index.js +5905 -5255
- package/dist/index.js.map +1 -1
- package/dist/theme.css +78 -6
- package/package.json +1 -1
package/dist/theme.css
CHANGED
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
|
|
13
13
|
/* Custom Font Sizes - Small Scale for Data-Dense UI */
|
|
14
14
|
--text-2xs: 0.625rem; /* 10px */
|
|
15
|
+
--text-3xs: 0.5rem; /* 8px */
|
|
16
|
+
--text-sm-minus: 0.8125rem; /* 13px */
|
|
15
17
|
|
|
16
18
|
/* Filter System Sizing */
|
|
17
19
|
--filter-width-xs: 4.375rem; /* 70px - boolean/short */
|
|
@@ -67,8 +69,8 @@
|
|
|
67
69
|
|
|
68
70
|
/* Sidebar - Deep Navy Blue */
|
|
69
71
|
--sidebar: oklch(0.16 0.05 245);
|
|
70
|
-
--sidebar-foreground: oklch(0.
|
|
71
|
-
--sidebar-primary: oklch(
|
|
72
|
+
--sidebar-foreground: oklch(0.93 0.02 245);
|
|
73
|
+
--sidebar-primary: oklch(1.00 0 0);
|
|
72
74
|
--sidebar-primary-foreground: oklch(0.98 0.01 245);
|
|
73
75
|
--sidebar-accent: oklch(0.22 0.06 245);
|
|
74
76
|
--sidebar-accent-foreground: oklch(0.92 0.02 245);
|
|
@@ -84,6 +86,7 @@
|
|
|
84
86
|
/* Accent Colors */
|
|
85
87
|
--accent-cyan: oklch(0.25 0.25 220);
|
|
86
88
|
--accent-violet: oklch(0.541 0.281 293);
|
|
89
|
+
--table-header: oklch(0.45 0.01 260);
|
|
87
90
|
|
|
88
91
|
/* Semantic Status (extended) */
|
|
89
92
|
--status-success: oklch(0.548 0.205 152);
|
|
@@ -120,9 +123,9 @@
|
|
|
120
123
|
--feedback-error: oklch(0.577 0.245 27);
|
|
121
124
|
|
|
122
125
|
/* Sidebar Theming */
|
|
123
|
-
--sidebar-active-gradient: linear-gradient(90deg, oklch(0.
|
|
124
|
-
--sidebar-indicator-gradient: linear-gradient(180deg, oklch(0.
|
|
125
|
-
--sidebar-indicator-glow: 0 0 8px oklch(0.
|
|
126
|
+
--sidebar-active-gradient: linear-gradient(90deg, oklch(0.60 0.15 230 / 0.25) 0%, transparent 100%);
|
|
127
|
+
--sidebar-indicator-gradient: linear-gradient(180deg, oklch(0.75 0.18 220) 0%, oklch(0.60 0.15 230) 100%);
|
|
128
|
+
--sidebar-indicator-glow: 0 0 8px oklch(0.75 0.18 220 / 0.6);
|
|
126
129
|
--sidebar-logo-gradient: linear-gradient(135deg, oklch(0.92 0.015 250) 0%, oklch(0.80 0.02 250) 100%);
|
|
127
130
|
--sidebar-logo-shadow: 0 2px 8px oklch(0.92 0.015 250 / 0.3);
|
|
128
131
|
--sidebar-overlay-gradient: linear-gradient(180deg, oklch(0.18 0.04 250) 0%, transparent 20%, transparent 80%, oklch(0.12 0.04 250) 100%);
|
|
@@ -198,6 +201,7 @@
|
|
|
198
201
|
/* Accent Colors */
|
|
199
202
|
--accent-cyan: oklch(0.750 0.000 0);
|
|
200
203
|
--accent-violet: oklch(0.650 0.000 0);
|
|
204
|
+
--table-header: oklch(0.65 0.00 0);
|
|
201
205
|
|
|
202
206
|
/* Semantic Status (extended) */
|
|
203
207
|
--status-success: oklch(0.723 0.15 149);
|
|
@@ -259,8 +263,12 @@
|
|
|
259
263
|
TAILWIND THEME MAPPING
|
|
260
264
|
============================================================================= */
|
|
261
265
|
@theme inline {
|
|
266
|
+
--text-3xs: 0.5rem;
|
|
267
|
+
--text-3xs--line-height: 0.75rem;
|
|
262
268
|
--text-2xs: 0.625rem;
|
|
263
269
|
--text-2xs--line-height: 0.875rem;
|
|
270
|
+
--text-sm-minus: 0.8125rem;
|
|
271
|
+
--text-sm-minus--line-height: 1.125rem;
|
|
264
272
|
|
|
265
273
|
/* Filter System Widths */
|
|
266
274
|
--spacing-filter-xs: var(--filter-width-xs);
|
|
@@ -362,6 +370,7 @@
|
|
|
362
370
|
--color-table-row-even: var(--table-row-even);
|
|
363
371
|
--color-table-row-hover: var(--table-row-hover);
|
|
364
372
|
--color-table-row-selected: var(--table-row-selected);
|
|
373
|
+
--color-table-header: var(--table-header);
|
|
365
374
|
}
|
|
366
375
|
|
|
367
376
|
/* =============================================================================
|
|
@@ -370,7 +379,7 @@
|
|
|
370
379
|
@layer base {
|
|
371
380
|
* {
|
|
372
381
|
@apply border-border;
|
|
373
|
-
font-family:
|
|
382
|
+
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', system-ui, sans-serif;
|
|
374
383
|
}
|
|
375
384
|
|
|
376
385
|
body {
|
|
@@ -378,6 +387,10 @@
|
|
|
378
387
|
font-feature-settings: "rlig" 1, "calt" 1;
|
|
379
388
|
}
|
|
380
389
|
|
|
390
|
+
code, kbd, pre, samp, .font-mono {
|
|
391
|
+
font-family: 'SF Mono', 'JetBrains Mono', ui-monospace, monospace;
|
|
392
|
+
}
|
|
393
|
+
|
|
381
394
|
h1, h2, h3, h4, h5, h6 {
|
|
382
395
|
@apply font-semibold tracking-tight;
|
|
383
396
|
}
|
|
@@ -460,5 +473,64 @@
|
|
|
460
473
|
animation: tab-slide-in-from-left 200ms ease-out;
|
|
461
474
|
}
|
|
462
475
|
|
|
476
|
+
/* =============================================================================
|
|
477
|
+
DATATABLE TOOLBAR VARIANTS (CSS Custom Property Pattern)
|
|
478
|
+
============================================================================= */
|
|
479
|
+
|
|
480
|
+
/* Toolbar custom properties — defaults */
|
|
481
|
+
:root {
|
|
482
|
+
--toolbar-bg: transparent;
|
|
483
|
+
--toolbar-border: var(--border);
|
|
484
|
+
--toolbar-text: var(--foreground);
|
|
485
|
+
--toolbar-input-bg: var(--input);
|
|
486
|
+
--toolbar-input-text: var(--foreground);
|
|
487
|
+
--toolbar-padding: 0.5rem 0.75rem;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
/* Dark toolbar variant */
|
|
491
|
+
.datatable-dark-toolbar {
|
|
492
|
+
margin-top: 0.5rem;
|
|
493
|
+
--toolbar-bg: oklch(0.15 0.03 260);
|
|
494
|
+
--toolbar-border: oklch(0.25 0.02 250);
|
|
495
|
+
--toolbar-text: oklch(0.85 0.01 250);
|
|
496
|
+
--toolbar-input-bg: oklch(0.20 0.02 250 / 0.5);
|
|
497
|
+
--toolbar-input-text: oklch(0.85 0.01 250);
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/* Cherry toolbar variant */
|
|
501
|
+
.datatable-cherry-toolbar {
|
|
502
|
+
--toolbar-bg: oklch(0.20 0.08 10);
|
|
503
|
+
--toolbar-border: oklch(0.30 0.06 10);
|
|
504
|
+
--toolbar-text: oklch(0.85 0.02 10);
|
|
505
|
+
--toolbar-input-bg: oklch(0.25 0.05 10 / 0.5);
|
|
506
|
+
--toolbar-input-text: oklch(0.85 0.02 10);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/* Apply toolbar styles via data-slot */
|
|
510
|
+
.datatable-dark-toolbar [data-slot="datatable-toolbar"],
|
|
511
|
+
.datatable-cherry-toolbar [data-slot="datatable-toolbar"] {
|
|
512
|
+
background: var(--toolbar-bg);
|
|
513
|
+
border-bottom-color: var(--toolbar-border);
|
|
514
|
+
color: var(--toolbar-text);
|
|
515
|
+
padding: var(--toolbar-padding);
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.datatable-dark-toolbar [data-slot="datatable-toolbar"] [data-slot="input"],
|
|
519
|
+
.datatable-cherry-toolbar [data-slot="datatable-toolbar"] [data-slot="input"] {
|
|
520
|
+
background: var(--toolbar-input-bg);
|
|
521
|
+
color: var(--toolbar-input-text);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.datatable-dark-toolbar [data-slot="datatable-toolbar"] select,
|
|
525
|
+
.datatable-cherry-toolbar [data-slot="datatable-toolbar"] select {
|
|
526
|
+
background: var(--toolbar-input-bg);
|
|
527
|
+
color: var(--toolbar-input-text);
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.datatable-dark-toolbar [data-slot="datatable-toolbar"] button,
|
|
531
|
+
.datatable-cherry-toolbar [data-slot="datatable-toolbar"] button {
|
|
532
|
+
color: var(--toolbar-text);
|
|
533
|
+
}
|
|
534
|
+
|
|
463
535
|
/* Scan package dist for Tailwind class detection */
|
|
464
536
|
@source "..";
|