jky-component-lib 0.0.35 → 0.0.37
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/es/package.json.js +1 -1
- package/dist/es/page-header/PageHeader.vue.d.ts +7 -23
- package/dist/es/page-header/PageHeader.vue.js +56 -42
- package/dist/es/page-header/PopoverMenu.vue.d.ts +11 -0
- package/dist/es/page-header/PopoverMenu.vue.js +89 -0
- package/dist/es/page-header/PopoverMenu.vue2.js +4 -0
- package/dist/es/page-header/style.css +5 -1
- package/dist/es/style.css +211 -0
- package/dist/es/styles.css +1 -1
- package/dist/lib/package.json.js +1 -1
- package/dist/lib/page-header/PageHeader.vue.d.ts +7 -23
- package/dist/lib/page-header/PageHeader.vue.js +55 -41
- package/dist/lib/page-header/PopoverMenu.vue.d.ts +11 -0
- package/dist/lib/page-header/PopoverMenu.vue.js +89 -0
- package/dist/lib/page-header/PopoverMenu.vue2.js +4 -0
- package/dist/lib/page-header/style.css +5 -1
- package/dist/lib/style.css +211 -0
- package/dist/lib/styles.css +1 -1
- package/dist/umd/index.js +371 -59
- package/dist/umd/styles.css +1 -1
- package/package.json +3 -2
package/dist/lib/style.css
CHANGED
|
@@ -31,8 +31,14 @@
|
|
|
31
31
|
--spacing: .25rem;
|
|
32
32
|
--text-sm: .875rem;
|
|
33
33
|
--text-sm--line-height: calc(1.25 / .875);
|
|
34
|
+
--text-base: 1rem;
|
|
35
|
+
--text-base--line-height: calc(1.5 / 1);
|
|
34
36
|
--text-lg: 1.125rem;
|
|
35
37
|
--text-lg--line-height: calc(1.75 / 1.125);
|
|
38
|
+
--text-xl: 1.25rem;
|
|
39
|
+
--text-xl--line-height: calc(1.75 / 1.25);
|
|
40
|
+
--text-2xl: 1.5rem;
|
|
41
|
+
--text-2xl--line-height: calc(2 / 1.5);
|
|
36
42
|
--font-weight-semibold: 600;
|
|
37
43
|
--default-transition-duration: .15s;
|
|
38
44
|
--default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
|
@@ -323,10 +329,34 @@
|
|
|
323
329
|
margin-bottom: calc(var(--spacing) * 4);
|
|
324
330
|
}
|
|
325
331
|
|
|
332
|
+
.ml-0\! {
|
|
333
|
+
margin-left: calc(var(--spacing) * 0) !important;
|
|
334
|
+
}
|
|
335
|
+
|
|
326
336
|
.ml-1 {
|
|
327
337
|
margin-left: calc(var(--spacing) * 1);
|
|
328
338
|
}
|
|
329
339
|
|
|
340
|
+
.ml-2 {
|
|
341
|
+
margin-left: calc(var(--spacing) * 2);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.icon-\[ant-design--menu-fold-outlined\] {
|
|
345
|
+
width: 1em;
|
|
346
|
+
height: 1em;
|
|
347
|
+
-webkit-mask-image: var(--svg);
|
|
348
|
+
-webkit-mask-image: var(--svg);
|
|
349
|
+
-webkit-mask-image: var(--svg);
|
|
350
|
+
mask-image: var(--svg);
|
|
351
|
+
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024' width='1024' height='1024'%3E%3Cpath fill='black' d='M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8m-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8m0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8M115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 0 0 0 13.8'/%3E%3C/svg%3E");
|
|
352
|
+
background-color: currentColor;
|
|
353
|
+
display: inline-block;
|
|
354
|
+
-webkit-mask-size: 100% 100%;
|
|
355
|
+
mask-size: 100% 100%;
|
|
356
|
+
-webkit-mask-repeat: no-repeat;
|
|
357
|
+
mask-repeat: no-repeat;
|
|
358
|
+
}
|
|
359
|
+
|
|
330
360
|
.icon-\[carbon--arrow-right\] {
|
|
331
361
|
width: 1em;
|
|
332
362
|
height: 1em;
|
|
@@ -487,6 +517,22 @@
|
|
|
487
517
|
mask-repeat: no-repeat;
|
|
488
518
|
}
|
|
489
519
|
|
|
520
|
+
.icon-\[heroicons--chart-bar\] {
|
|
521
|
+
width: 1em;
|
|
522
|
+
height: 1em;
|
|
523
|
+
-webkit-mask-image: var(--svg);
|
|
524
|
+
-webkit-mask-image: var(--svg);
|
|
525
|
+
-webkit-mask-image: var(--svg);
|
|
526
|
+
mask-image: var(--svg);
|
|
527
|
+
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875zm6.75-4.5c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125zm6.75-4.5c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125z'/%3E%3C/svg%3E");
|
|
528
|
+
background-color: currentColor;
|
|
529
|
+
display: inline-block;
|
|
530
|
+
-webkit-mask-size: 100% 100%;
|
|
531
|
+
mask-size: 100% 100%;
|
|
532
|
+
-webkit-mask-repeat: no-repeat;
|
|
533
|
+
mask-repeat: no-repeat;
|
|
534
|
+
}
|
|
535
|
+
|
|
490
536
|
.icon-\[heroicons--check\] {
|
|
491
537
|
width: 1em;
|
|
492
538
|
height: 1em;
|
|
@@ -503,6 +549,22 @@
|
|
|
503
549
|
mask-repeat: no-repeat;
|
|
504
550
|
}
|
|
505
551
|
|
|
552
|
+
.icon-\[heroicons--cog-6-tooth\] {
|
|
553
|
+
width: 1em;
|
|
554
|
+
height: 1em;
|
|
555
|
+
-webkit-mask-image: var(--svg);
|
|
556
|
+
-webkit-mask-image: var(--svg);
|
|
557
|
+
-webkit-mask-image: var(--svg);
|
|
558
|
+
mask-image: var(--svg);
|
|
559
|
+
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'%3E%3Cpath d='M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87q.11.06.22.127c.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a8 8 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a7 7 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a7 7 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a7 7 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124q.108-.066.22-.128c.332-.183.582-.495.644-.869z'/%3E%3Cpath d='M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0'/%3E%3C/g%3E%3C/svg%3E");
|
|
560
|
+
background-color: currentColor;
|
|
561
|
+
display: inline-block;
|
|
562
|
+
-webkit-mask-size: 100% 100%;
|
|
563
|
+
mask-size: 100% 100%;
|
|
564
|
+
-webkit-mask-repeat: no-repeat;
|
|
565
|
+
mask-repeat: no-repeat;
|
|
566
|
+
}
|
|
567
|
+
|
|
506
568
|
.icon-\[heroicons--cog\] {
|
|
507
569
|
width: 1em;
|
|
508
570
|
height: 1em;
|
|
@@ -535,6 +597,22 @@
|
|
|
535
597
|
mask-repeat: no-repeat;
|
|
536
598
|
}
|
|
537
599
|
|
|
600
|
+
.icon-\[heroicons--document-text\] {
|
|
601
|
+
width: 1em;
|
|
602
|
+
height: 1em;
|
|
603
|
+
-webkit-mask-image: var(--svg);
|
|
604
|
+
-webkit-mask-image: var(--svg);
|
|
605
|
+
-webkit-mask-image: var(--svg);
|
|
606
|
+
mask-image: var(--svg);
|
|
607
|
+
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9'/%3E%3C/svg%3E");
|
|
608
|
+
background-color: currentColor;
|
|
609
|
+
display: inline-block;
|
|
610
|
+
-webkit-mask-size: 100% 100%;
|
|
611
|
+
mask-size: 100% 100%;
|
|
612
|
+
-webkit-mask-repeat: no-repeat;
|
|
613
|
+
mask-repeat: no-repeat;
|
|
614
|
+
}
|
|
615
|
+
|
|
538
616
|
.icon-\[heroicons--ellipsis-horizontal\] {
|
|
539
617
|
width: 1em;
|
|
540
618
|
height: 1em;
|
|
@@ -583,6 +661,22 @@
|
|
|
583
661
|
mask-repeat: no-repeat;
|
|
584
662
|
}
|
|
585
663
|
|
|
664
|
+
.icon-\[heroicons--key\] {
|
|
665
|
+
width: 1em;
|
|
666
|
+
height: 1em;
|
|
667
|
+
-webkit-mask-image: var(--svg);
|
|
668
|
+
-webkit-mask-image: var(--svg);
|
|
669
|
+
-webkit-mask-image: var(--svg);
|
|
670
|
+
mask-image: var(--svg);
|
|
671
|
+
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25'/%3E%3C/svg%3E");
|
|
672
|
+
background-color: currentColor;
|
|
673
|
+
display: inline-block;
|
|
674
|
+
-webkit-mask-size: 100% 100%;
|
|
675
|
+
mask-size: 100% 100%;
|
|
676
|
+
-webkit-mask-repeat: no-repeat;
|
|
677
|
+
mask-repeat: no-repeat;
|
|
678
|
+
}
|
|
679
|
+
|
|
586
680
|
.icon-\[heroicons--share\] {
|
|
587
681
|
width: 1em;
|
|
588
682
|
height: 1em;
|
|
@@ -663,6 +757,22 @@
|
|
|
663
757
|
mask-repeat: no-repeat;
|
|
664
758
|
}
|
|
665
759
|
|
|
760
|
+
.icon-\[heroicons--users\] {
|
|
761
|
+
width: 1em;
|
|
762
|
+
height: 1em;
|
|
763
|
+
-webkit-mask-image: var(--svg);
|
|
764
|
+
-webkit-mask-image: var(--svg);
|
|
765
|
+
-webkit-mask-image: var(--svg);
|
|
766
|
+
mask-image: var(--svg);
|
|
767
|
+
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M15 19.128a9.4 9.4 0 0 0 2.625.372a9.3 9.3 0 0 0 4.121-.952q.004-.086.004-.173a4.125 4.125 0 0 0-7.536-2.32M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.3 12.3 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0a3.375 3.375 0 0 1 6.75 0m8.25 2.25a2.625 2.625 0 1 1-5.25 0a2.625 2.625 0 0 1 5.25 0'/%3E%3C/svg%3E");
|
|
768
|
+
background-color: currentColor;
|
|
769
|
+
display: inline-block;
|
|
770
|
+
-webkit-mask-size: 100% 100%;
|
|
771
|
+
mask-size: 100% 100%;
|
|
772
|
+
-webkit-mask-repeat: no-repeat;
|
|
773
|
+
mask-repeat: no-repeat;
|
|
774
|
+
}
|
|
775
|
+
|
|
666
776
|
.icon-\[mdi--account\] {
|
|
667
777
|
width: 1em;
|
|
668
778
|
height: 1em;
|
|
@@ -679,6 +789,38 @@
|
|
|
679
789
|
mask-repeat: no-repeat;
|
|
680
790
|
}
|
|
681
791
|
|
|
792
|
+
.icon-\[mdi--format-list-bulleted\] {
|
|
793
|
+
width: 1em;
|
|
794
|
+
height: 1em;
|
|
795
|
+
-webkit-mask-image: var(--svg);
|
|
796
|
+
-webkit-mask-image: var(--svg);
|
|
797
|
+
-webkit-mask-image: var(--svg);
|
|
798
|
+
mask-image: var(--svg);
|
|
799
|
+
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M7 5h14v2H7zm0 8v-2h14v2zM4 4.5A1.5 1.5 0 0 1 5.5 6A1.5 1.5 0 0 1 4 7.5A1.5 1.5 0 0 1 2.5 6A1.5 1.5 0 0 1 4 4.5m0 6A1.5 1.5 0 0 1 5.5 12A1.5 1.5 0 0 1 4 13.5A1.5 1.5 0 0 1 2.5 12A1.5 1.5 0 0 1 4 10.5M7 19v-2h14v2zm-3-2.5A1.5 1.5 0 0 1 5.5 18A1.5 1.5 0 0 1 4 19.5A1.5 1.5 0 0 1 2.5 18A1.5 1.5 0 0 1 4 16.5'/%3E%3C/svg%3E");
|
|
800
|
+
background-color: currentColor;
|
|
801
|
+
display: inline-block;
|
|
802
|
+
-webkit-mask-size: 100% 100%;
|
|
803
|
+
mask-size: 100% 100%;
|
|
804
|
+
-webkit-mask-repeat: no-repeat;
|
|
805
|
+
mask-repeat: no-repeat;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.icon-\[ri--logout-circle-line\] {
|
|
809
|
+
width: 1em;
|
|
810
|
+
height: 1em;
|
|
811
|
+
-webkit-mask-image: var(--svg);
|
|
812
|
+
-webkit-mask-image: var(--svg);
|
|
813
|
+
-webkit-mask-image: var(--svg);
|
|
814
|
+
mask-image: var(--svg);
|
|
815
|
+
--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M5 11h8v2H5v3l-5-4l5-4zm-1 7h2.708a8 8 0 1 0 0-12H4a9.99 9.99 0 0 1 8-4c5.523 0 10 4.477 10 10s-4.477 10-10 10a9.99 9.99 0 0 1-8-4'/%3E%3C/svg%3E");
|
|
816
|
+
background-color: currentColor;
|
|
817
|
+
display: inline-block;
|
|
818
|
+
-webkit-mask-size: 100% 100%;
|
|
819
|
+
mask-size: 100% 100%;
|
|
820
|
+
-webkit-mask-repeat: no-repeat;
|
|
821
|
+
mask-repeat: no-repeat;
|
|
822
|
+
}
|
|
823
|
+
|
|
682
824
|
.contents {
|
|
683
825
|
display: contents;
|
|
684
826
|
}
|
|
@@ -687,6 +829,10 @@
|
|
|
687
829
|
display: flex;
|
|
688
830
|
}
|
|
689
831
|
|
|
832
|
+
.grid {
|
|
833
|
+
display: grid;
|
|
834
|
+
}
|
|
835
|
+
|
|
690
836
|
.hidden {
|
|
691
837
|
display: none;
|
|
692
838
|
}
|
|
@@ -707,6 +853,18 @@
|
|
|
707
853
|
height: calc(var(--spacing) * 6);
|
|
708
854
|
}
|
|
709
855
|
|
|
856
|
+
.h-20 {
|
|
857
|
+
height: calc(var(--spacing) * 20);
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
.h-fit\! {
|
|
861
|
+
height: fit-content !important;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
.h-full {
|
|
865
|
+
height: 100%;
|
|
866
|
+
}
|
|
867
|
+
|
|
710
868
|
.w-4 {
|
|
711
869
|
width: calc(var(--spacing) * 4);
|
|
712
870
|
}
|
|
@@ -719,6 +877,14 @@
|
|
|
719
877
|
width: calc(var(--spacing) * 6);
|
|
720
878
|
}
|
|
721
879
|
|
|
880
|
+
.w-20 {
|
|
881
|
+
width: calc(var(--spacing) * 20);
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
.w-fit\! {
|
|
885
|
+
width: fit-content !important;
|
|
886
|
+
}
|
|
887
|
+
|
|
722
888
|
.w-full {
|
|
723
889
|
width: 100%;
|
|
724
890
|
}
|
|
@@ -731,6 +897,14 @@
|
|
|
731
897
|
cursor: pointer;
|
|
732
898
|
}
|
|
733
899
|
|
|
900
|
+
.grid-cols-3 {
|
|
901
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
.flex-col {
|
|
905
|
+
flex-direction: column;
|
|
906
|
+
}
|
|
907
|
+
|
|
734
908
|
.flex-wrap {
|
|
735
909
|
flex-wrap: wrap;
|
|
736
910
|
}
|
|
@@ -739,6 +913,10 @@
|
|
|
739
913
|
align-items: center;
|
|
740
914
|
}
|
|
741
915
|
|
|
916
|
+
.justify-around {
|
|
917
|
+
justify-content: space-around;
|
|
918
|
+
}
|
|
919
|
+
|
|
742
920
|
.gap-2 {
|
|
743
921
|
gap: calc(var(--spacing) * 2);
|
|
744
922
|
}
|
|
@@ -788,10 +966,28 @@
|
|
|
788
966
|
background-color: var(--color-red-500) !important;
|
|
789
967
|
}
|
|
790
968
|
|
|
969
|
+
.p-2 {
|
|
970
|
+
padding: calc(var(--spacing) * 2);
|
|
971
|
+
}
|
|
972
|
+
|
|
791
973
|
.p-4 {
|
|
792
974
|
padding: calc(var(--spacing) * 4);
|
|
793
975
|
}
|
|
794
976
|
|
|
977
|
+
.text-center {
|
|
978
|
+
text-align: center;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.text-2xl {
|
|
982
|
+
font-size: var(--text-2xl);
|
|
983
|
+
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
.text-base {
|
|
987
|
+
font-size: var(--text-base);
|
|
988
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
989
|
+
}
|
|
990
|
+
|
|
795
991
|
.text-lg {
|
|
796
992
|
font-size: var(--text-lg);
|
|
797
993
|
line-height: var(--tw-leading, var(--text-lg--line-height));
|
|
@@ -802,11 +998,20 @@
|
|
|
802
998
|
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
803
999
|
}
|
|
804
1000
|
|
|
1001
|
+
.text-xl {
|
|
1002
|
+
font-size: var(--text-xl);
|
|
1003
|
+
line-height: var(--tw-leading, var(--text-xl--line-height));
|
|
1004
|
+
}
|
|
1005
|
+
|
|
805
1006
|
.font-semibold {
|
|
806
1007
|
--tw-font-weight: var(--font-weight-semibold);
|
|
807
1008
|
font-weight: var(--font-weight-semibold);
|
|
808
1009
|
}
|
|
809
1010
|
|
|
1011
|
+
.text-\[white\] {
|
|
1012
|
+
color: #fff;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
810
1015
|
.text-blue-600 {
|
|
811
1016
|
color: var(--color-blue-600);
|
|
812
1017
|
}
|
|
@@ -846,6 +1051,12 @@
|
|
|
846
1051
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
847
1052
|
}
|
|
848
1053
|
|
|
1054
|
+
@media (hover: hover) {
|
|
1055
|
+
.hover\:opacity-80:hover {
|
|
1056
|
+
opacity: .8;
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
|
|
849
1060
|
@media (min-width: 48rem) {
|
|
850
1061
|
.md\:block {
|
|
851
1062
|
display: block;
|
package/dist/lib/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--jky-button-primary-bg:#007bff;--jky-button-primary-text:#fff;--jky-button-primary-hover-bg:#0056b3;--jky-button-success-bg:#28a745;--jky-button-success-text:#fff;--jky-button-success-hover-bg:#1e7e34;--jky-button-warning-bg:#ffc107;--jky-button-warning-text:#fff;--jky-button-warning-hover-bg:#e0a800;--jky-button-danger-bg:#dc3545;--jky-button-danger-text:#fff;--jky-button-danger-hover-bg:#c82333;--jky-button-info-bg:#6c757d;--jky-button-info-text:#fff;--jky-button-info-hover-bg:#5a6268;--jky-button-default-bg:#fff;--jky-button-default-text:#606266;--jky-button-default-border:#dcdfe6;--jky-button-default-hover-bg:#f5f7fa;--jky-button-font-size:14px;--jky-button-font-size-small:12px;--jky-button-font-size-large:16px;--jky-button-padding:0 16px;--jky-button-padding-small:0 12px;--jky-button-padding-large:0 20px;--jky-button-height:40px;--jky-button-height-small:32px;--jky-button-height-large:48px;--jky-button-border-radius:0.375rem;--jky-button-disabled-opacity:0.5;--jky-button-disabled-bg:#f5f7fa;--jky-button-disabled-text:#c0c4cc;--jky-button-loading-opacity:0.7;--jky-button-icon-size:1.25rem;--jky-button-icon-margin:0.5rem}.jky-button{align-items:center;background-color:var(--jky-button-default-bg);border:1px solid var(--jky-button-default-border);border-radius:var(--jky-button-border-radius);color:var(--jky-button-default-text);cursor:pointer;display:inline-flex;font-size:var(--jky-button-font-size);font-weight:500;height:var(--jky-button-height);justify-content:center;padding:var(--jky-button-padding);transition:color .2s,background-color .2s}.jky-button--primary{background-color:var(--jky-button-primary-bg);border:none;color:var(--jky-button-primary-text)}.jky-button--primary:hover{background-color:var(--jky-button-primary-hover-bg)}.jky-button--success{background-color:var(--jky-button-success-bg);border:none;color:var(--jky-button-success-text)}.jky-button--success:hover{background-color:var(--jky-button-success-hover-bg)}.jky-button--warning{background-color:var(--jky-button-warning-bg);border:none;color:var(--jky-button-warning-text)}.jky-button--warning:hover{background-color:var(--jky-button-warning-hover-bg)}.jky-button--danger{background-color:var(--jky-button-danger-bg);border:none;color:var(--jky-button-danger-text)}.jky-button--danger:hover{background-color:var(--jky-button-danger-hover-bg)}.jky-button--info{background-color:var(--jky-button-info-bg);border:none;color:var(--jky-button-info-text)}.jky-button--info:hover{background-color:var(--jky-button-info-hover-bg)}.jky-button--small{font-size:var(--jky-button-font-size-small);height:var(--jky-button-height-small);padding:var(--jky-button-padding-small)}.jky-button--large{font-size:var(--jky-button-font-size-large);height:var(--jky-button-height-large);padding:var(--jky-button-padding-large)}.jky-button.is-disabled{background-color:var(--jky-button-disabled-bg);color:var(--jky-button-disabled-text);cursor:not-allowed;opacity:var(--jky-button-disabled-opacity);pointer-events:none}.jky-button.is-loading{opacity:var(--jky-button-loading-opacity);pointer-events:none;position:relative}.jky-button__loading{display:flex;inset:0;position:absolute}.jky-button__icon,.jky-button__loading{align-items:center;justify-content:center}.jky-button__icon{display:inline-flex;font-size:1em;margin-right:var(--jky-button-icon-margin)}.jky-button__icon:only-child{margin-right:0}.jky-button--suffix .jky-button__icon{margin-left:var(--jky-button-icon-margin);margin-right:0}.jky-button:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #000;outline:2px solid transparent;outline-offset:2px}.loading-spinner{animation:spin 1s linear infinite;height:var(--jky-button-icon-size);width:var(--jky-button-icon-size)}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}:root{--jky-button-nav-active-bg:var(--el-color-primary);--jky-button-nav-active-text:#fff;--jky-button-nav-inactive-bg:var(--el-fill-color-light);--jky-button-nav-inactive-text:var(--el-text-color-regular);--el-dropdown-menu-margin-left:12px}.jky-button-nav{align-items:center;display:flex;flex-wrap:wrap;.el-dropdown{margin-left:var(--el-dropdown-menu-margin-left)}}.jky-button-nav-item{background-color:var(--jky-button-nav-inactive-bg);color:var(--jky-button-nav-inactive-text);&.is-active,&[aria-pressed=true]{background-color:var(--jky-button-nav-active-bg);color:var(--jky-button-nav-active-text)}}:root{--jky-menu-bg-color:#fff;--jky-menu-text-color:#303133;--jky-menu-active-color:#409eff;--jky-menu-hover-bg-color:#f5f7fa;--jky-menu-hover-text-color:#606266;--jky-menu-item-height:56px;--jky-menu-item-padding:0 20px;--jky-menu-item-font-size:14px;--jky-menu-icon-size:18px;--jky-menu-icon-margin:8px;--jky-menu-border-color:#e4e7ed;--jky-menu-disabled-opacity:0.5;--jky-menu-disabled-text-color:#c0c4cc}.jky-menu{li+li{margin-top:0}}.jky-menu-item__icon{align-items:center;display:inline-flex;flex-shrink:0;font-size:var(--jky-menu-icon-size);height:var(--jky-menu-icon-size);justify-content:center;margin-right:var(--jky-menu-icon-margin);width:var(--jky-menu-icon-size)}:root{--jky-page-header-bg-color:#1890ff;--jky-page-header-bg-size:cover;--jky-page-header-bg-position:center;--jky-page-header-box-shadow:0 2px 8px rgba(0,0,0,.15);--jky-page-header-padding-x:24px;--jky-page-header-padding-x-mobile:16px;--jky-page-header-gap:16px;--jky-page-header-gap-mobile:12px;--jky-page-header-gap-left:12px;--jky-page-header-gap-status:12px;--jky-page-header-gap-center:24px;--jky-page-header-gap-center-mobile:12px;--jky-page-header-title-color:#fff;--jky-page-header-title-size:20px;--jky-page-header-title-size-mobile:16px;--jky-page-header-title-weight:600;--jky-page-header-text-color:hsla(0,0%,100%,.85);--jky-page-header-text-size:
|
|
1
|
+
:root{--jky-button-primary-bg:#007bff;--jky-button-primary-text:#fff;--jky-button-primary-hover-bg:#0056b3;--jky-button-success-bg:#28a745;--jky-button-success-text:#fff;--jky-button-success-hover-bg:#1e7e34;--jky-button-warning-bg:#ffc107;--jky-button-warning-text:#fff;--jky-button-warning-hover-bg:#e0a800;--jky-button-danger-bg:#dc3545;--jky-button-danger-text:#fff;--jky-button-danger-hover-bg:#c82333;--jky-button-info-bg:#6c757d;--jky-button-info-text:#fff;--jky-button-info-hover-bg:#5a6268;--jky-button-default-bg:#fff;--jky-button-default-text:#606266;--jky-button-default-border:#dcdfe6;--jky-button-default-hover-bg:#f5f7fa;--jky-button-font-size:14px;--jky-button-font-size-small:12px;--jky-button-font-size-large:16px;--jky-button-padding:0 16px;--jky-button-padding-small:0 12px;--jky-button-padding-large:0 20px;--jky-button-height:40px;--jky-button-height-small:32px;--jky-button-height-large:48px;--jky-button-border-radius:0.375rem;--jky-button-disabled-opacity:0.5;--jky-button-disabled-bg:#f5f7fa;--jky-button-disabled-text:#c0c4cc;--jky-button-loading-opacity:0.7;--jky-button-icon-size:1.25rem;--jky-button-icon-margin:0.5rem}.jky-button{align-items:center;background-color:var(--jky-button-default-bg);border:1px solid var(--jky-button-default-border);border-radius:var(--jky-button-border-radius);color:var(--jky-button-default-text);cursor:pointer;display:inline-flex;font-size:var(--jky-button-font-size);font-weight:500;height:var(--jky-button-height);justify-content:center;padding:var(--jky-button-padding);transition:color .2s,background-color .2s}.jky-button--primary{background-color:var(--jky-button-primary-bg);border:none;color:var(--jky-button-primary-text)}.jky-button--primary:hover{background-color:var(--jky-button-primary-hover-bg)}.jky-button--success{background-color:var(--jky-button-success-bg);border:none;color:var(--jky-button-success-text)}.jky-button--success:hover{background-color:var(--jky-button-success-hover-bg)}.jky-button--warning{background-color:var(--jky-button-warning-bg);border:none;color:var(--jky-button-warning-text)}.jky-button--warning:hover{background-color:var(--jky-button-warning-hover-bg)}.jky-button--danger{background-color:var(--jky-button-danger-bg);border:none;color:var(--jky-button-danger-text)}.jky-button--danger:hover{background-color:var(--jky-button-danger-hover-bg)}.jky-button--info{background-color:var(--jky-button-info-bg);border:none;color:var(--jky-button-info-text)}.jky-button--info:hover{background-color:var(--jky-button-info-hover-bg)}.jky-button--small{font-size:var(--jky-button-font-size-small);height:var(--jky-button-height-small);padding:var(--jky-button-padding-small)}.jky-button--large{font-size:var(--jky-button-font-size-large);height:var(--jky-button-height-large);padding:var(--jky-button-padding-large)}.jky-button.is-disabled{background-color:var(--jky-button-disabled-bg);color:var(--jky-button-disabled-text);cursor:not-allowed;opacity:var(--jky-button-disabled-opacity);pointer-events:none}.jky-button.is-loading{opacity:var(--jky-button-loading-opacity);pointer-events:none;position:relative}.jky-button__loading{display:flex;inset:0;position:absolute}.jky-button__icon,.jky-button__loading{align-items:center;justify-content:center}.jky-button__icon{display:inline-flex;font-size:1em;margin-right:var(--jky-button-icon-margin)}.jky-button__icon:only-child{margin-right:0}.jky-button--suffix .jky-button__icon{margin-left:var(--jky-button-icon-margin);margin-right:0}.jky-button:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #000;outline:2px solid transparent;outline-offset:2px}.loading-spinner{animation:spin 1s linear infinite;height:var(--jky-button-icon-size);width:var(--jky-button-icon-size)}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}:root{--jky-button-nav-active-bg:var(--el-color-primary);--jky-button-nav-active-text:#fff;--jky-button-nav-inactive-bg:var(--el-fill-color-light);--jky-button-nav-inactive-text:var(--el-text-color-regular);--el-dropdown-menu-margin-left:12px}.jky-button-nav{align-items:center;display:flex;flex-wrap:wrap;.el-dropdown{margin-left:var(--el-dropdown-menu-margin-left)}}.jky-button-nav-item{background-color:var(--jky-button-nav-inactive-bg);color:var(--jky-button-nav-inactive-text);&.is-active,&[aria-pressed=true]{background-color:var(--jky-button-nav-active-bg);color:var(--jky-button-nav-active-text)}}:root{--jky-menu-bg-color:#fff;--jky-menu-text-color:#303133;--jky-menu-active-color:#409eff;--jky-menu-hover-bg-color:#f5f7fa;--jky-menu-hover-text-color:#606266;--jky-menu-item-height:56px;--jky-menu-item-padding:0 20px;--jky-menu-item-font-size:14px;--jky-menu-icon-size:18px;--jky-menu-icon-margin:8px;--jky-menu-border-color:#e4e7ed;--jky-menu-disabled-opacity:0.5;--jky-menu-disabled-text-color:#c0c4cc}.jky-menu{li+li{margin-top:0}}.jky-menu-item__icon{align-items:center;display:inline-flex;flex-shrink:0;font-size:var(--jky-menu-icon-size);height:var(--jky-menu-icon-size);justify-content:center;margin-right:var(--jky-menu-icon-margin);width:var(--jky-menu-icon-size)}:root{--jky-page-header-bg-color:#1890ff;--jky-page-header-bg-size:cover;--jky-page-header-bg-position:center;--jky-page-header-box-shadow:0 2px 8px rgba(0,0,0,.15);--jky-page-header-padding-x:24px;--jky-page-header-padding-x-mobile:16px;--jky-page-header-gap:16px;--jky-page-header-gap-mobile:12px;--jky-page-header-gap-left:12px;--jky-page-header-gap-status:12px;--jky-page-header-gap-center:24px;--jky-page-header-gap-center-mobile:12px;--jky-page-header-title-color:#fff;--jky-page-header-title-size:20px;--jky-page-header-title-size-mobile:16px;--jky-page-header-title-weight:600;--jky-page-header-text-color:hsla(0,0%,100%,.85);--jky-page-header-text-size:16px;--jky-page-header-icon-color:#fff;--jky-page-header-icon-size:20px;--jky-page-header-icon-hover-opacity:0.8;--jky-page-header-logo-height:40px;--jky-page-header-avatar-size:32px}.jky-page-header{background-color:var(--jky-page-header-bg-color);background-position:var(--jky-page-header-bg-position);background-size:var(--jky-page-header-bg-size);box-shadow:var(--jky-page-header-box-shadow);width:100%}.jky-page-header__container{align-items:center;display:flex;height:100%;justify-content:space-between;margin:0 auto;max-width:100%;padding:0 var(--jky-page-header-padding-x)}.jky-page-header__left{align-items:center;display:flex;flex-shrink:0;gap:var(--jky-page-header-gap-left)}.jky-page-header__logo{height:var(--jky-page-header-logo-height);object-fit:contain;width:auto}.jky-page-header__title{color:var(--jky-page-header-title-color);font-size:var(--jky-page-header-title-size);font-weight:var(--jky-page-header-title-weight);white-space:nowrap}.jky-page-header__center{align-items:center;display:flex;flex:1;justify-content:center;margin:0 var(--jky-page-header-gap-center);min-width:0}.jky-page-header__right{align-items:center;display:flex;flex-shrink:0;gap:var(--jky-page-header-gap)}.jky-page-header__status-icons{align-items:center;display:flex;gap:var(--jky-page-header-gap-status)}.jky-page-header__status-icon{color:var(--jky-page-header-icon-color);cursor:pointer;transition:opacity .2s;&:hover{opacity:var(--jky-page-header-icon-hover-opacity)}}.jky-page-header__time{color:var(--jky-page-header-text-color);font-size:var(--jky-page-header-text-size);white-space:nowrap}.jky-page-header__user{align-items:center;color:var(--jky-page-header-text-color);cursor:pointer;display:flex;gap:8px}.jky-page-header__avatar{color:var(--jky-page-header-icon-color);img{height:100%;object-fit:cover;width:100%}}.jky-page-header__username{white-space:nowrap}.jky-page-header__logout,.jky-page-header__username{color:var(--jky-page-header-text-color);font-size:var(--jky-page-header-text-size)}@media (max-width:768px){.jky-page-header__container{padding:0 var(--jky-page-header-padding-x-mobile)}.jky-page-header__title{font-size:var(--jky-page-header-title-size-mobile)}.jky-page-header__center{margin:0 var(--jky-page-header-gap-center-mobile)}.jky-page-header__right{gap:var(--jky-page-header-gap-mobile)}}:root{--jky-say-hello-bg:#42b883;--jky-say-hello-text:#fff;--jky-say-hello-hover-bg:#3aa876;--jky-say-hello-font-size:16px;--jky-say-hello-padding:8px 20px;--jky-say-hello-margin:4px 2px;--jky-say-hello-border-radius:6px}.jky-say-hello{background-color:var(--jky-say-hello-bg);border-radius:var(--jky-say-hello-border-radius);color:var(--jky-say-hello-text);cursor:pointer;display:inline-block;font-size:var(--jky-say-hello-font-size);margin:var(--jky-say-hello-margin);padding:var(--jky-say-hello-padding);text-align:center;text-decoration:none;transition:background-color .2s ease}.jky-say-hello:hover{background-color:var(--jky-say-hello-hover-bg)}@import "tailwindcss";@plugin "@iconify/tailwind4";@source "../node_modules/jky-component-lib/dist/es/";@source "../docs/**/*.md";@source "./**/*.md";@source "./**/*.vue";@source "./**/*.css";@custom-variant dark (&:is(.dark *))
|