@redseed/redseed-ui-vue3 4.1.0 → 4.1.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/package.json
CHANGED
|
@@ -9,15 +9,15 @@ import ButtonSlot from './ButtonSlot.vue'
|
|
|
9
9
|
<style lang="scss" scoped>
|
|
10
10
|
.rsui-button-tertiary {
|
|
11
11
|
// default colors
|
|
12
|
-
@apply text-rsui-grey-700 bg-
|
|
12
|
+
@apply text-rsui-grey-700 bg-transparent border-transparent;
|
|
13
13
|
// default hover state
|
|
14
14
|
@apply hover:text-rsui-grey-900 hover:bg-rsui-grey-200 hover:border-transparent;
|
|
15
15
|
// default focus state
|
|
16
16
|
@apply focus-visible:ring-rsui-grey-400 focus-visible:border-transparent;
|
|
17
17
|
// default active state
|
|
18
|
-
@apply active:bg-
|
|
18
|
+
@apply active:bg-transparent active:border-transparent;
|
|
19
19
|
// default disabled state
|
|
20
|
-
@apply disabled:bg-
|
|
21
|
-
@apply disabled:active:bg-
|
|
20
|
+
@apply disabled:bg-transparent disabled:border-transparent disabled:text-rsui-grey-400;
|
|
21
|
+
@apply disabled:active:bg-transparent disabled:active:border-transparent;
|
|
22
22
|
}
|
|
23
23
|
</style>
|
|
@@ -14,6 +14,10 @@ defineProps({
|
|
|
14
14
|
type: Boolean,
|
|
15
15
|
default: true,
|
|
16
16
|
},
|
|
17
|
+
showMobileActions: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: true,
|
|
20
|
+
},
|
|
17
21
|
showDropdown: {
|
|
18
22
|
type: Boolean,
|
|
19
23
|
default: true,
|
|
@@ -84,7 +88,7 @@ const { responsiveWidth } = useResponsiveWidth(sectionHeaderElement, 768)
|
|
|
84
88
|
</div>
|
|
85
89
|
|
|
86
90
|
<div class="rsui-section-header__actions-mobile"
|
|
87
|
-
v-if="!responsiveWidth.specific"
|
|
91
|
+
v-if="showMobileActions && !responsiveWidth.specific"
|
|
88
92
|
>
|
|
89
93
|
<slot name="actions"></slot>
|
|
90
94
|
</div>
|
|
@@ -122,11 +126,11 @@ const { responsiveWidth } = useResponsiveWidth(sectionHeaderElement, 768)
|
|
|
122
126
|
}
|
|
123
127
|
|
|
124
128
|
&__actions-desktop {
|
|
125
|
-
@apply
|
|
129
|
+
@apply flex gap-3 items-center;
|
|
126
130
|
}
|
|
127
131
|
|
|
128
132
|
&__actions-mobile {
|
|
129
|
-
@apply flex flex-wrap
|
|
133
|
+
@apply flex flex-wrap gap-3 items-center justify-end;
|
|
130
134
|
}
|
|
131
135
|
|
|
132
136
|
&__dropdown-icon {
|