@robosophy/ui-vue 1.0.12 → 1.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type RsIconFamily = "outlined" | "rounded" | "sharp";
|
|
2
2
|
export type RsIconSize = "sm" | "md" | "lg" | number;
|
|
3
|
-
export type RsIconColor = "primary" | "secondary" | "
|
|
3
|
+
export type RsIconColor = "primary" | "secondary" | "success" | "warning" | "error" | "inherit";
|
|
4
4
|
export type RsIconWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700;
|
|
5
5
|
export type RsIconProps = {
|
|
6
6
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RsIcon.types.d.ts","sourceRoot":"","sources":["../../../src/components/RsIcon/RsIcon.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC;AAE5D,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAErD,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"RsIcon.types.d.ts","sourceRoot":"","sources":["../../../src/components/RsIcon/RsIcon.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC;AAE5D,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAErD,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;AAEhG,MAAM,MAAM,YAAY,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEnE,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC"}
|
package/dist/index.css
CHANGED
|
@@ -54,8 +54,16 @@
|
|
|
54
54
|
--rs-icon-color: var(--rs-color-icon-secondary, #000000);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.rs-icon--
|
|
58
|
-
--rs-icon-color: var(--rs-color-icon-
|
|
57
|
+
.rs-icon--success {
|
|
58
|
+
--rs-icon-color: var(--rs-color-icon-success, #4EAE01);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.rs-icon--warning {
|
|
62
|
+
--rs-icon-color: var(--rs-color-icon-warning, #FF9001);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.rs-icon--error {
|
|
66
|
+
--rs-icon-color: var(--rs-color-icon-error, #d80115);
|
|
59
67
|
}
|
|
60
68
|
|
|
61
69
|
.rs-icon--inherit {
|
|
@@ -123,8 +131,14 @@
|
|
|
123
131
|
.rs-icon--secondary {
|
|
124
132
|
--rs-icon-color: var(--rs-color-icon-secondary, #000000);
|
|
125
133
|
}
|
|
126
|
-
.rs-icon--
|
|
127
|
-
--rs-icon-color: var(--rs-color-icon-
|
|
134
|
+
.rs-icon--success {
|
|
135
|
+
--rs-icon-color: var(--rs-color-icon-success, #4EAE01);
|
|
136
|
+
}
|
|
137
|
+
.rs-icon--warning {
|
|
138
|
+
--rs-icon-color: var(--rs-color-icon-warning, #FF9001);
|
|
139
|
+
}
|
|
140
|
+
.rs-icon--error {
|
|
141
|
+
--rs-icon-color: var(--rs-color-icon-error, #d80115);
|
|
128
142
|
}
|
|
129
143
|
.rs-icon--inherit {
|
|
130
144
|
--rs-icon-color: currentColor;
|
|
@@ -554,7 +568,7 @@
|
|
|
554
568
|
.rs-sidebar__title {
|
|
555
569
|
color: var(--rs-sidebar-color);
|
|
556
570
|
font-weight: 400;
|
|
557
|
-
line-height: 1
|
|
571
|
+
line-height: 1;
|
|
558
572
|
text-overflow: ellipsis;
|
|
559
573
|
}
|
|
560
574
|
.rs-sidebar__module-menu.p-menu {
|
|
@@ -581,7 +595,7 @@
|
|
|
581
595
|
.rs-sidebar__module-option .p-menu-item-link {
|
|
582
596
|
font-family: inherit;
|
|
583
597
|
font-size: inherit;
|
|
584
|
-
line-height: 1
|
|
598
|
+
line-height: 1;
|
|
585
599
|
min-height: 38px;
|
|
586
600
|
padding: 10px 14px;
|
|
587
601
|
}
|
|
@@ -632,10 +646,9 @@
|
|
|
632
646
|
outline-offset: -2px;
|
|
633
647
|
}
|
|
634
648
|
.rs-sidebar__content {
|
|
635
|
-
display:
|
|
649
|
+
display: grid;
|
|
650
|
+
grid-template-rows: 1fr auto;
|
|
636
651
|
flex: 1;
|
|
637
|
-
flex-direction: column;
|
|
638
|
-
justify-content: space-between;
|
|
639
652
|
min-height: 0;
|
|
640
653
|
}
|
|
641
654
|
.rs-sidebar__nav {
|
|
@@ -657,7 +670,7 @@
|
|
|
657
670
|
display: flex;
|
|
658
671
|
justify-content: flex-start;
|
|
659
672
|
font: inherit;
|
|
660
|
-
font-weight:
|
|
673
|
+
font-weight: 400;
|
|
661
674
|
gap: 8px;
|
|
662
675
|
appearance: none;
|
|
663
676
|
-webkit-appearance: none;
|
|
@@ -693,7 +706,10 @@
|
|
|
693
706
|
}
|
|
694
707
|
.rs-sidebar--expanded .rs-sidebar__item--footer,
|
|
695
708
|
.rs-sidebar--mobile-open .rs-sidebar__item--footer {
|
|
709
|
+
padding-bottom: 16px;
|
|
696
710
|
padding-left: 16px;
|
|
711
|
+
padding-right: 0;
|
|
712
|
+
padding-top: 16px;
|
|
697
713
|
}
|
|
698
714
|
.rs-sidebar__item--footer .rs-sidebar__item-icon {
|
|
699
715
|
color: inherit;
|
|
@@ -722,9 +738,6 @@
|
|
|
722
738
|
.rs-sidebar__item-chevron {
|
|
723
739
|
margin-left: auto;
|
|
724
740
|
}
|
|
725
|
-
.rs-sidebar__footer {
|
|
726
|
-
margin-top: auto;
|
|
727
|
-
}
|
|
728
741
|
.rs-sidebar--mobile-open {
|
|
729
742
|
border-right: 0;
|
|
730
743
|
bottom: 0;
|
|
@@ -745,7 +758,7 @@
|
|
|
745
758
|
top: 88px;
|
|
746
759
|
}
|
|
747
760
|
.rs-sidebar--mobile-open .rs-sidebar__item {
|
|
748
|
-
font-size:
|
|
761
|
+
font-size: 18px;
|
|
749
762
|
min-height: 64px;
|
|
750
763
|
padding-bottom: 20px;
|
|
751
764
|
padding-top: 20px;
|