@nar-bus/lena-ui-shared 1.3.0 → 1.3.1
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 +152 -51
- package/dist/index.js +5811 -5641
- package/dist/index.js.map +1 -1
- package/dist/theme.css +77 -32
- package/package.json +1 -1
package/dist/theme.css
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
/* Custom Font Sizes - Small Scale for Data-Dense UI */
|
|
14
14
|
--text-2xs: 0.625rem; /* 10px */
|
|
15
15
|
--text-3xs: 0.5rem; /* 8px */
|
|
16
|
+
--text-2xs-plus: 0.6875rem; /* 11px - badge text */
|
|
16
17
|
--text-sm-minus: 0.8125rem; /* 13px */
|
|
17
18
|
|
|
18
19
|
/* Filter System Sizing */
|
|
@@ -84,7 +85,7 @@
|
|
|
84
85
|
/* Accent Colors */
|
|
85
86
|
--accent-cyan: oklch(0.25 0.25 220);
|
|
86
87
|
--accent-violet: oklch(0.541 0.281 293);
|
|
87
|
-
--table-header:
|
|
88
|
+
--table-header: var(--accent-cyan);
|
|
88
89
|
|
|
89
90
|
/* Semantic Status (extended) */
|
|
90
91
|
--status-success: oklch(0.548 0.205 152);
|
|
@@ -157,13 +158,15 @@
|
|
|
157
158
|
--gradient-amber-accent: oklch(0.63 0.16 86);
|
|
158
159
|
|
|
159
160
|
/* Sidebar Theming */
|
|
160
|
-
--sidebar-active-gradient: linear-gradient(90deg, oklch(0.
|
|
161
|
+
--sidebar-active-gradient: linear-gradient(90deg, oklch(0.55 0.18 230 / 0.35) 0%, oklch(0.55 0.18 230 / 0.12) 60%, transparent 100%);
|
|
161
162
|
--sidebar-indicator-gradient: linear-gradient(180deg, oklch(0.75 0.18 220) 0%, oklch(0.60 0.15 230) 100%);
|
|
162
|
-
--sidebar-indicator-glow: 0 0
|
|
163
|
+
--sidebar-indicator-glow: 0 0 14px oklch(0.75 0.20 220 / 0.7), 0 0 6px oklch(0.75 0.20 220 / 0.4);
|
|
163
164
|
--sidebar-logo-gradient: linear-gradient(135deg, oklch(0.92 0.015 250) 0%, oklch(0.80 0.02 250) 100%);
|
|
164
165
|
--sidebar-logo-shadow: 0 2px 8px oklch(0.92 0.015 250 / 0.3);
|
|
165
166
|
--sidebar-overlay-gradient: linear-gradient(180deg, oklch(0.18 0.04 250) 0%, transparent 20%, transparent 80%, oklch(0.12 0.04 250) 100%);
|
|
166
167
|
--sidebar-inset-shadow: inset -1px 0 0 0 oklch(0.25 0.04 250 / 0.5);
|
|
168
|
+
--sidebar-section-label: oklch(0.52 0.06 230);
|
|
169
|
+
--sidebar-hover: oklch(0.25 0.06 245 / 0.60);
|
|
167
170
|
|
|
168
171
|
/* Charts */
|
|
169
172
|
--chart-1: oklch(0.40 0.20 245);
|
|
@@ -235,7 +238,7 @@
|
|
|
235
238
|
/* Accent Colors */
|
|
236
239
|
--accent-cyan: oklch(0.75 0.15 220);
|
|
237
240
|
--accent-violet: oklch(0.70 0.20 293);
|
|
238
|
-
--table-header:
|
|
241
|
+
--table-header: var(--accent-cyan);
|
|
239
242
|
|
|
240
243
|
/* Semantic Status (extended) */
|
|
241
244
|
--status-success: oklch(0.723 0.15 149);
|
|
@@ -300,13 +303,15 @@
|
|
|
300
303
|
--gradient-amber-accent: oklch(0.52 0.13 86);
|
|
301
304
|
|
|
302
305
|
/* Sidebar Theming */
|
|
303
|
-
--sidebar-active-gradient: linear-gradient(90deg, oklch(0.
|
|
306
|
+
--sidebar-active-gradient: linear-gradient(90deg, oklch(0.95 0.000 0 / 0.14) 0%, oklch(0.95 0.000 0 / 0.06) 60%, transparent 100%);
|
|
304
307
|
--sidebar-indicator-gradient: linear-gradient(180deg, oklch(0.75 0.12 220) 0%, oklch(0.60 0.10 230) 100%);
|
|
305
|
-
--sidebar-indicator-glow: 0 0
|
|
308
|
+
--sidebar-indicator-glow: 0 0 14px oklch(0.75 0.15 220 / 0.5), 0 0 6px oklch(0.75 0.15 220 / 0.3);
|
|
306
309
|
--sidebar-logo-gradient: linear-gradient(135deg, oklch(0.75 0.04 250) 0%, oklch(0.55 0.03 250) 100%);
|
|
307
310
|
--sidebar-logo-shadow: 0 2px 8px oklch(0.75 0.04 250 / 0.2);
|
|
308
311
|
--sidebar-overlay-gradient: linear-gradient(180deg, oklch(0.18 0.000 0) 0%, transparent 20%, transparent 80%, oklch(0.12 0.000 0) 100%);
|
|
309
312
|
--sidebar-inset-shadow: inset -1px 0 0 0 oklch(0.25 0.000 0 / 0.5);
|
|
313
|
+
--sidebar-section-label: oklch(0.50 0.000 0);
|
|
314
|
+
--sidebar-hover: oklch(0.30 0.000 0 / 0.60);
|
|
310
315
|
|
|
311
316
|
/* Charts */
|
|
312
317
|
--chart-1: oklch(0.55 0.18 245);
|
|
@@ -321,6 +326,15 @@
|
|
|
321
326
|
--table-row-selected: oklch(0.270 0.000 0);
|
|
322
327
|
}
|
|
323
328
|
|
|
329
|
+
/* =============================================================================
|
|
330
|
+
PAGE ACCENT COLOR OVERRIDES
|
|
331
|
+
Sayfa wrapper'ına ekleyerek tüm child bileşenlerin accent rengini değiştirir.
|
|
332
|
+
============================================================================= */
|
|
333
|
+
.page-accent-navy { --accent-cyan: var(--gradient-navy-accent); }
|
|
334
|
+
.page-accent-cherry { --accent-cyan: var(--gradient-cherry-accent); }
|
|
335
|
+
.page-accent-emerald { --accent-cyan: var(--gradient-emerald-accent); }
|
|
336
|
+
.page-accent-amber { --accent-cyan: var(--gradient-amber-accent); }
|
|
337
|
+
|
|
324
338
|
/* =============================================================================
|
|
325
339
|
TAILWIND THEME MAPPING
|
|
326
340
|
============================================================================= */
|
|
@@ -329,6 +343,8 @@
|
|
|
329
343
|
--text-3xs--line-height: 0.75rem;
|
|
330
344
|
--text-2xs: 0.625rem;
|
|
331
345
|
--text-2xs--line-height: 0.875rem;
|
|
346
|
+
--text-2xs-plus: 0.6875rem;
|
|
347
|
+
--text-2xs-plus--line-height: 1rem;
|
|
332
348
|
--text-sm-minus: 0.8125rem;
|
|
333
349
|
--text-sm-minus--line-height: 1.125rem;
|
|
334
350
|
|
|
@@ -384,6 +400,7 @@
|
|
|
384
400
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
385
401
|
--color-sidebar-border: var(--sidebar-border);
|
|
386
402
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
403
|
+
--color-sidebar-hover: var(--sidebar-hover);
|
|
387
404
|
|
|
388
405
|
--color-status-online: var(--status-online);
|
|
389
406
|
--color-status-offline: var(--status-offline);
|
|
@@ -509,13 +526,12 @@
|
|
|
509
526
|
/* =============================================================================
|
|
510
527
|
UTILITY CLASSES
|
|
511
528
|
============================================================================= */
|
|
512
|
-
|
|
529
|
+
@utility scrollbar-none {
|
|
513
530
|
-ms-overflow-style: none;
|
|
514
531
|
scrollbar-width: none;
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
display: none;
|
|
532
|
+
&::-webkit-scrollbar {
|
|
533
|
+
display: none;
|
|
534
|
+
}
|
|
519
535
|
}
|
|
520
536
|
|
|
521
537
|
/* =============================================================================
|
|
@@ -559,44 +575,54 @@
|
|
|
559
575
|
--toolbar-text: var(--foreground);
|
|
560
576
|
--toolbar-input-bg: var(--input);
|
|
561
577
|
--toolbar-input-text: var(--foreground);
|
|
562
|
-
--toolbar-
|
|
578
|
+
--toolbar-input-border: oklch(0.67 0.02 260 / 0.3);
|
|
579
|
+
--toolbar-hover-bg: oklch(1 0 0 / 0.1);
|
|
580
|
+
--toolbar-hover-text: oklch(1 0 0);
|
|
581
|
+
--toolbar-padding: 0.45rem 0.75rem;
|
|
563
582
|
}
|
|
564
583
|
|
|
565
584
|
/* Dark/Navy toolbar */
|
|
566
585
|
.datatable-dark-toolbar {
|
|
567
|
-
|
|
568
|
-
--toolbar-
|
|
569
|
-
--toolbar-
|
|
570
|
-
--toolbar-text: oklch(0.93 0.01 260);
|
|
586
|
+
--toolbar-bg: var(--gradient-navy);
|
|
587
|
+
--toolbar-border: var(--gradient-navy-border);
|
|
588
|
+
--toolbar-text: var(--gradient-navy-text);
|
|
571
589
|
--toolbar-input-bg: oklch(1.00 0 0 / 0.06);
|
|
572
|
-
--toolbar-input-text:
|
|
590
|
+
--toolbar-input-text: var(--gradient-navy-text);
|
|
573
591
|
}
|
|
574
592
|
|
|
575
593
|
/* Cherry toolbar */
|
|
576
594
|
.datatable-cherry-toolbar {
|
|
577
|
-
--toolbar-bg:
|
|
578
|
-
--toolbar-border:
|
|
579
|
-
--toolbar-text:
|
|
595
|
+
--toolbar-bg: var(--gradient-cherry);
|
|
596
|
+
--toolbar-border: var(--gradient-cherry-border);
|
|
597
|
+
--toolbar-text: var(--gradient-cherry-text);
|
|
580
598
|
--toolbar-input-bg: oklch(1.00 0 0 / 0.06);
|
|
581
|
-
--toolbar-input-text:
|
|
599
|
+
--toolbar-input-text: var(--gradient-cherry-text);
|
|
582
600
|
}
|
|
583
601
|
|
|
584
602
|
/* Emerald toolbar */
|
|
585
603
|
.datatable-emerald-toolbar {
|
|
586
|
-
--toolbar-bg:
|
|
587
|
-
--toolbar-border:
|
|
588
|
-
--toolbar-text:
|
|
604
|
+
--toolbar-bg: var(--gradient-emerald);
|
|
605
|
+
--toolbar-border: var(--gradient-emerald-border);
|
|
606
|
+
--toolbar-text: var(--gradient-emerald-text);
|
|
589
607
|
--toolbar-input-bg: oklch(1.00 0 0 / 0.06);
|
|
590
|
-
--toolbar-input-text:
|
|
608
|
+
--toolbar-input-text: var(--gradient-emerald-text);
|
|
591
609
|
}
|
|
592
610
|
|
|
593
611
|
/* Amber toolbar */
|
|
594
612
|
.datatable-amber-toolbar {
|
|
595
|
-
--toolbar-bg:
|
|
596
|
-
--toolbar-border:
|
|
597
|
-
--toolbar-text:
|
|
613
|
+
--toolbar-bg: var(--gradient-amber);
|
|
614
|
+
--toolbar-border: var(--gradient-amber-border);
|
|
615
|
+
--toolbar-text: var(--gradient-amber-text);
|
|
598
616
|
--toolbar-input-bg: oklch(1.00 0 0 / 0.06);
|
|
599
|
-
--toolbar-input-text:
|
|
617
|
+
--toolbar-input-text: var(--gradient-amber-text);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/* Margin-top for all toolbar variants */
|
|
621
|
+
.datatable-dark-toolbar,
|
|
622
|
+
.datatable-cherry-toolbar,
|
|
623
|
+
.datatable-emerald-toolbar,
|
|
624
|
+
.datatable-amber-toolbar {
|
|
625
|
+
margin-top: 0.5rem;
|
|
600
626
|
}
|
|
601
627
|
|
|
602
628
|
/* Apply toolbar styles via data-slot */
|
|
@@ -633,6 +659,25 @@
|
|
|
633
659
|
color: var(--toolbar-text);
|
|
634
660
|
}
|
|
635
661
|
|
|
662
|
+
.datatable-dark-toolbar [data-slot="datatable-toolbar"] button:hover,
|
|
663
|
+
.datatable-cherry-toolbar [data-slot="datatable-toolbar"] button:hover,
|
|
664
|
+
.datatable-emerald-toolbar [data-slot="datatable-toolbar"] button:hover,
|
|
665
|
+
.datatable-amber-toolbar [data-slot="datatable-toolbar"] button:hover {
|
|
666
|
+
background: var(--toolbar-hover-bg);
|
|
667
|
+
color: var(--toolbar-hover-text);
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.datatable-dark-toolbar [data-slot="datatable-toolbar"] [data-slot="input"],
|
|
671
|
+
.datatable-dark-toolbar [data-slot="datatable-toolbar"] select,
|
|
672
|
+
.datatable-cherry-toolbar [data-slot="datatable-toolbar"] [data-slot="input"],
|
|
673
|
+
.datatable-cherry-toolbar [data-slot="datatable-toolbar"] select,
|
|
674
|
+
.datatable-emerald-toolbar [data-slot="datatable-toolbar"] [data-slot="input"],
|
|
675
|
+
.datatable-emerald-toolbar [data-slot="datatable-toolbar"] select,
|
|
676
|
+
.datatable-amber-toolbar [data-slot="datatable-toolbar"] [data-slot="input"],
|
|
677
|
+
.datatable-amber-toolbar [data-slot="datatable-toolbar"] select {
|
|
678
|
+
border-color: var(--toolbar-input-border);
|
|
679
|
+
}
|
|
680
|
+
|
|
636
681
|
/* Default table header style */
|
|
637
682
|
[data-slot="table-header"] th {
|
|
638
683
|
color: color-mix(in oklch, var(--table-header) 80%, transparent);
|
|
@@ -650,8 +695,8 @@
|
|
|
650
695
|
|
|
651
696
|
.toolbar-entity-label .toolbar-separator {
|
|
652
697
|
color: var(--toolbar-text);
|
|
653
|
-
opacity: 0.
|
|
698
|
+
opacity: 0.6;
|
|
654
699
|
}
|
|
655
700
|
|
|
656
|
-
/* Scan package
|
|
657
|
-
@source "
|
|
701
|
+
/* Scan package src for Tailwind class detection */
|
|
702
|
+
@source "../src";
|