@mptw/skylens-ui 1.4.30 → 1.4.32
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/components/SLButton.vue +7 -1
- package/components/SLTabs.vue +7 -3
- package/package.json +1 -1
package/components/SLButton.vue
CHANGED
|
@@ -23,7 +23,7 @@ export default defineComponent({
|
|
|
23
23
|
size: {
|
|
24
24
|
type: String,
|
|
25
25
|
default: "",
|
|
26
|
-
validator: (val: string) => ["", "lg", "md", "sm", "xs"].includes(val),
|
|
26
|
+
validator: (val: string) => ["", "lg", "md", "sm", "xs", 'xxs'].includes(val),
|
|
27
27
|
},
|
|
28
28
|
color: {
|
|
29
29
|
type: String,
|
|
@@ -129,6 +129,12 @@ export default defineComponent({
|
|
|
129
129
|
.btn-content
|
|
130
130
|
@apply space-x-1
|
|
131
131
|
|
|
132
|
+
&-xxs
|
|
133
|
+
@apply s("p-0.75") text-sm
|
|
134
|
+
|
|
135
|
+
.btn-content
|
|
136
|
+
@apply space-x-1
|
|
137
|
+
|
|
132
138
|
&-white
|
|
133
139
|
@apply bg-white border-white text-gray-2 s("hover:bg-white") s("hover:border-white")
|
|
134
140
|
|
package/components/SLTabs.vue
CHANGED
|
@@ -416,7 +416,7 @@ export default defineComponent({
|
|
|
416
416
|
|
|
417
417
|
&.disabled
|
|
418
418
|
.tab-nav-item-link
|
|
419
|
-
@apply
|
|
419
|
+
@apply text-gray-4 cursor-default
|
|
420
420
|
|
|
421
421
|
&-link
|
|
422
422
|
@apply relative block px-4 pb-2 text-lg text-gray-2
|
|
@@ -438,7 +438,7 @@ export default defineComponent({
|
|
|
438
438
|
.tabs-nav-left
|
|
439
439
|
&:before
|
|
440
440
|
content ""
|
|
441
|
-
@apply absolute right-0 bottom-0 left-0 h-1
|
|
441
|
+
@apply absolute right-0 bottom-0 left-0 h-1 bg-gray-5
|
|
442
442
|
|
|
443
443
|
.tabs-nav-left
|
|
444
444
|
@apply relative flex-grow-0 flex-shrink-0
|
|
@@ -460,8 +460,12 @@ export default defineComponent({
|
|
|
460
460
|
.tab-nav-item-link
|
|
461
461
|
@apply text-blue-1 cursor-default
|
|
462
462
|
|
|
463
|
+
&.disabled
|
|
464
|
+
.tab-nav-item-link
|
|
465
|
+
@apply text-gray-4 cursor-default
|
|
466
|
+
|
|
463
467
|
&-link
|
|
464
|
-
@apply relative block pt-1 px-6 pb-2 text-base
|
|
468
|
+
@apply relative block pt-1 px-6 pb-2 text-base text-secondary-500
|
|
465
469
|
|
|
466
470
|
&-title
|
|
467
471
|
@apply truncate
|