@sunggang/ui-lib 0.0.12 → 0.0.14
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/index.esm.css +44 -12
- package/package.json +1 -1
- package/src/lib/Sidebar/SubMenu.d.ts +6 -0
- package/src/lib/Sidebar/index.d.ts +22 -0
package/index.esm.css
CHANGED
|
@@ -534,16 +534,6 @@ video {
|
|
|
534
534
|
}
|
|
535
535
|
.container {
|
|
536
536
|
width: 100%;
|
|
537
|
-
margin-right: auto;
|
|
538
|
-
margin-left: auto;
|
|
539
|
-
padding-right: 2rem;
|
|
540
|
-
padding-left: 2rem;
|
|
541
|
-
}
|
|
542
|
-
@media (min-width: 360px) {
|
|
543
|
-
|
|
544
|
-
.container {
|
|
545
|
-
max-width: 360px;
|
|
546
|
-
}
|
|
547
537
|
}
|
|
548
538
|
@media (min-width: 640px) {
|
|
549
539
|
|
|
@@ -569,10 +559,10 @@ video {
|
|
|
569
559
|
max-width: 1280px;
|
|
570
560
|
}
|
|
571
561
|
}
|
|
572
|
-
@media (min-width:
|
|
562
|
+
@media (min-width: 1536px) {
|
|
573
563
|
|
|
574
564
|
.container {
|
|
575
|
-
max-width:
|
|
565
|
+
max-width: 1536px;
|
|
576
566
|
}
|
|
577
567
|
}
|
|
578
568
|
.pointer-events-none {
|
|
@@ -634,6 +624,9 @@ video {
|
|
|
634
624
|
.mb-6 {
|
|
635
625
|
margin-bottom: 1.5rem;
|
|
636
626
|
}
|
|
627
|
+
.ml-4 {
|
|
628
|
+
margin-left: 1rem;
|
|
629
|
+
}
|
|
637
630
|
.ml-auto {
|
|
638
631
|
margin-left: auto;
|
|
639
632
|
}
|
|
@@ -652,6 +645,12 @@ video {
|
|
|
652
645
|
.h-10 {
|
|
653
646
|
height: 2.5rem;
|
|
654
647
|
}
|
|
648
|
+
.h-14 {
|
|
649
|
+
height: 3.5rem;
|
|
650
|
+
}
|
|
651
|
+
.h-16 {
|
|
652
|
+
height: 4rem;
|
|
653
|
+
}
|
|
655
654
|
.h-24 {
|
|
656
655
|
height: 6rem;
|
|
657
656
|
}
|
|
@@ -664,6 +663,9 @@ video {
|
|
|
664
663
|
.h-56 {
|
|
665
664
|
height: 14rem;
|
|
666
665
|
}
|
|
666
|
+
.h-8 {
|
|
667
|
+
height: 2rem;
|
|
668
|
+
}
|
|
667
669
|
.h-full {
|
|
668
670
|
height: 100%;
|
|
669
671
|
}
|
|
@@ -682,9 +684,15 @@ video {
|
|
|
682
684
|
.w-4 {
|
|
683
685
|
width: 1rem;
|
|
684
686
|
}
|
|
687
|
+
.w-64 {
|
|
688
|
+
width: 16rem;
|
|
689
|
+
}
|
|
685
690
|
.w-72 {
|
|
686
691
|
width: 18rem;
|
|
687
692
|
}
|
|
693
|
+
.w-8 {
|
|
694
|
+
width: 2rem;
|
|
695
|
+
}
|
|
688
696
|
.w-9 {
|
|
689
697
|
width: 2.25rem;
|
|
690
698
|
}
|
|
@@ -820,6 +828,10 @@ video {
|
|
|
820
828
|
--tw-bg-opacity: 1;
|
|
821
829
|
background-color: rgb(245 245 245 / var(--tw-bg-opacity));
|
|
822
830
|
}
|
|
831
|
+
.bg-\[\#f5f5f5\] {
|
|
832
|
+
--tw-bg-opacity: 1;
|
|
833
|
+
background-color: rgb(245 245 245 / var(--tw-bg-opacity));
|
|
834
|
+
}
|
|
823
835
|
.bg-background {
|
|
824
836
|
background-color: hsl(var(--background));
|
|
825
837
|
}
|
|
@@ -911,6 +923,9 @@ video {
|
|
|
911
923
|
.pb-8 {
|
|
912
924
|
padding-bottom: 2rem;
|
|
913
925
|
}
|
|
926
|
+
.pl-12 {
|
|
927
|
+
padding-left: 3rem;
|
|
928
|
+
}
|
|
914
929
|
.pt-2 {
|
|
915
930
|
padding-top: 0.5rem;
|
|
916
931
|
}
|
|
@@ -962,10 +977,18 @@ video {
|
|
|
962
977
|
--tw-text-opacity: 1;
|
|
963
978
|
color: rgb(0 0 0 / var(--tw-text-opacity));
|
|
964
979
|
}
|
|
980
|
+
.text-\[\#171A1F\] {
|
|
981
|
+
--tw-text-opacity: 1;
|
|
982
|
+
color: rgb(23 26 31 / var(--tw-text-opacity));
|
|
983
|
+
}
|
|
965
984
|
.text-\[\#5A5A5A\] {
|
|
966
985
|
--tw-text-opacity: 1;
|
|
967
986
|
color: rgb(90 90 90 / var(--tw-text-opacity));
|
|
968
987
|
}
|
|
988
|
+
.text-\[\#737373\] {
|
|
989
|
+
--tw-text-opacity: 1;
|
|
990
|
+
color: rgb(115 115 115 / var(--tw-text-opacity));
|
|
991
|
+
}
|
|
969
992
|
.text-gray-400 {
|
|
970
993
|
--tw-text-opacity: 1;
|
|
971
994
|
color: rgb(156 163 175 / var(--tw-text-opacity));
|
|
@@ -1040,6 +1063,11 @@ video {
|
|
|
1040
1063
|
|
|
1041
1064
|
/* gary */
|
|
1042
1065
|
|
|
1066
|
+
.hover\:bg-\[\#D9D9D9\]:hover {
|
|
1067
|
+
--tw-bg-opacity: 1;
|
|
1068
|
+
background-color: rgb(217 217 217 / var(--tw-bg-opacity));
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1043
1071
|
.focus-visible\:outline-none:focus-visible {
|
|
1044
1072
|
outline: 2px solid transparent;
|
|
1045
1073
|
outline-offset: 2px;
|
|
@@ -1091,6 +1119,10 @@ video {
|
|
|
1091
1119
|
|
|
1092
1120
|
@media (min-width: 1024px) {
|
|
1093
1121
|
|
|
1122
|
+
.lg\:flex {
|
|
1123
|
+
display: flex;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1094
1126
|
.lg\:px-8 {
|
|
1095
1127
|
padding-left: 2rem;
|
|
1096
1128
|
padding-right: 2rem;
|
package/package.json
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SubNavItem {
|
|
3
|
+
title?: string;
|
|
4
|
+
path?: string | undefined;
|
|
5
|
+
icon?: string;
|
|
6
|
+
iconClosed?: string;
|
|
7
|
+
iconOpened?: string;
|
|
8
|
+
}
|
|
9
|
+
interface SidebarItem {
|
|
10
|
+
title?: string;
|
|
11
|
+
path?: string | undefined;
|
|
12
|
+
icon?: string;
|
|
13
|
+
iconClosed?: string;
|
|
14
|
+
iconOpened?: string;
|
|
15
|
+
subNav?: SubNavItem[];
|
|
16
|
+
}
|
|
17
|
+
interface SidebarProps {
|
|
18
|
+
className: string;
|
|
19
|
+
items?: SidebarItem[];
|
|
20
|
+
}
|
|
21
|
+
export declare const Sidebar: React.FC<SidebarProps>;
|
|
22
|
+
export default Sidebar;
|