@nar-bus/lena-ui-shared 1.3.0 → 1.3.2
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 +153 -52
- package/dist/index.js +5818 -5640
- package/dist/index.js.map +1 -1
- package/dist/theme.css +79 -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,55 @@
|
|
|
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.25rem 0.75rem;
|
|
582
|
+
--toolbar-min-height: 2.5rem;
|
|
563
583
|
}
|
|
564
584
|
|
|
565
585
|
/* Dark/Navy toolbar */
|
|
566
586
|
.datatable-dark-toolbar {
|
|
567
|
-
|
|
568
|
-
--toolbar-
|
|
569
|
-
--toolbar-
|
|
570
|
-
--toolbar-text: oklch(0.93 0.01 260);
|
|
587
|
+
--toolbar-bg: var(--gradient-navy);
|
|
588
|
+
--toolbar-border: var(--gradient-navy-border);
|
|
589
|
+
--toolbar-text: var(--gradient-navy-text);
|
|
571
590
|
--toolbar-input-bg: oklch(1.00 0 0 / 0.06);
|
|
572
|
-
--toolbar-input-text:
|
|
591
|
+
--toolbar-input-text: var(--gradient-navy-text);
|
|
573
592
|
}
|
|
574
593
|
|
|
575
594
|
/* Cherry toolbar */
|
|
576
595
|
.datatable-cherry-toolbar {
|
|
577
|
-
--toolbar-bg:
|
|
578
|
-
--toolbar-border:
|
|
579
|
-
--toolbar-text:
|
|
596
|
+
--toolbar-bg: var(--gradient-cherry);
|
|
597
|
+
--toolbar-border: var(--gradient-cherry-border);
|
|
598
|
+
--toolbar-text: var(--gradient-cherry-text);
|
|
580
599
|
--toolbar-input-bg: oklch(1.00 0 0 / 0.06);
|
|
581
|
-
--toolbar-input-text:
|
|
600
|
+
--toolbar-input-text: var(--gradient-cherry-text);
|
|
582
601
|
}
|
|
583
602
|
|
|
584
603
|
/* Emerald toolbar */
|
|
585
604
|
.datatable-emerald-toolbar {
|
|
586
|
-
--toolbar-bg:
|
|
587
|
-
--toolbar-border:
|
|
588
|
-
--toolbar-text:
|
|
605
|
+
--toolbar-bg: var(--gradient-emerald);
|
|
606
|
+
--toolbar-border: var(--gradient-emerald-border);
|
|
607
|
+
--toolbar-text: var(--gradient-emerald-text);
|
|
589
608
|
--toolbar-input-bg: oklch(1.00 0 0 / 0.06);
|
|
590
|
-
--toolbar-input-text:
|
|
609
|
+
--toolbar-input-text: var(--gradient-emerald-text);
|
|
591
610
|
}
|
|
592
611
|
|
|
593
612
|
/* Amber toolbar */
|
|
594
613
|
.datatable-amber-toolbar {
|
|
595
|
-
--toolbar-bg:
|
|
596
|
-
--toolbar-border:
|
|
597
|
-
--toolbar-text:
|
|
614
|
+
--toolbar-bg: var(--gradient-amber);
|
|
615
|
+
--toolbar-border: var(--gradient-amber-border);
|
|
616
|
+
--toolbar-text: var(--gradient-amber-text);
|
|
598
617
|
--toolbar-input-bg: oklch(1.00 0 0 / 0.06);
|
|
599
|
-
--toolbar-input-text:
|
|
618
|
+
--toolbar-input-text: var(--gradient-amber-text);
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
/* Margin-top for all toolbar variants */
|
|
622
|
+
.datatable-dark-toolbar,
|
|
623
|
+
.datatable-cherry-toolbar,
|
|
624
|
+
.datatable-emerald-toolbar,
|
|
625
|
+
.datatable-amber-toolbar {
|
|
626
|
+
margin-top: 0.5rem;
|
|
600
627
|
}
|
|
601
628
|
|
|
602
629
|
/* Apply toolbar styles via data-slot */
|
|
@@ -608,6 +635,7 @@
|
|
|
608
635
|
border-bottom-color: var(--toolbar-border);
|
|
609
636
|
color: var(--toolbar-text);
|
|
610
637
|
padding: var(--toolbar-padding);
|
|
638
|
+
min-height: var(--toolbar-min-height);
|
|
611
639
|
}
|
|
612
640
|
|
|
613
641
|
.datatable-dark-toolbar [data-slot="datatable-toolbar"] [data-slot="input"],
|
|
@@ -633,6 +661,25 @@
|
|
|
633
661
|
color: var(--toolbar-text);
|
|
634
662
|
}
|
|
635
663
|
|
|
664
|
+
.datatable-dark-toolbar [data-slot="datatable-toolbar"] button:hover,
|
|
665
|
+
.datatable-cherry-toolbar [data-slot="datatable-toolbar"] button:hover,
|
|
666
|
+
.datatable-emerald-toolbar [data-slot="datatable-toolbar"] button:hover,
|
|
667
|
+
.datatable-amber-toolbar [data-slot="datatable-toolbar"] button:hover {
|
|
668
|
+
background: var(--toolbar-hover-bg);
|
|
669
|
+
color: var(--toolbar-hover-text);
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.datatable-dark-toolbar [data-slot="datatable-toolbar"] [data-slot="input"],
|
|
673
|
+
.datatable-dark-toolbar [data-slot="datatable-toolbar"] select,
|
|
674
|
+
.datatable-cherry-toolbar [data-slot="datatable-toolbar"] [data-slot="input"],
|
|
675
|
+
.datatable-cherry-toolbar [data-slot="datatable-toolbar"] select,
|
|
676
|
+
.datatable-emerald-toolbar [data-slot="datatable-toolbar"] [data-slot="input"],
|
|
677
|
+
.datatable-emerald-toolbar [data-slot="datatable-toolbar"] select,
|
|
678
|
+
.datatable-amber-toolbar [data-slot="datatable-toolbar"] [data-slot="input"],
|
|
679
|
+
.datatable-amber-toolbar [data-slot="datatable-toolbar"] select {
|
|
680
|
+
border-color: var(--toolbar-input-border);
|
|
681
|
+
}
|
|
682
|
+
|
|
636
683
|
/* Default table header style */
|
|
637
684
|
[data-slot="table-header"] th {
|
|
638
685
|
color: color-mix(in oklch, var(--table-header) 80%, transparent);
|
|
@@ -650,8 +697,8 @@
|
|
|
650
697
|
|
|
651
698
|
.toolbar-entity-label .toolbar-separator {
|
|
652
699
|
color: var(--toolbar-text);
|
|
653
|
-
opacity: 0.
|
|
700
|
+
opacity: 0.6;
|
|
654
701
|
}
|
|
655
702
|
|
|
656
|
-
/* Scan package
|
|
657
|
-
@source "
|
|
703
|
+
/* Scan package src for Tailwind class detection */
|
|
704
|
+
@source "../src";
|