@redseed/redseed-ui-vue3 4.1.1 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-vue3",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "description": "RedSeed UI Vue 3 components",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/redseedtraining/redseed-ui",
@@ -34,7 +34,7 @@ defineProps({
34
34
  }
35
35
 
36
36
  &__content-end {
37
- @apply flex flex-wrap md:justify-end items-center gap-3;
37
+ @apply flex flex-wrap justify-end items-center gap-3;
38
38
 
39
39
  &--full {
40
40
  @apply flex-1;
@@ -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 hidden md:flex gap-3 items-center;
129
+ @apply flex gap-3 items-center;
126
130
  }
127
131
 
128
132
  &__actions-mobile {
129
- @apply flex flex-wrap md:hidden gap-3 items-center;
133
+ @apply flex flex-wrap gap-3 items-center justify-end;
130
134
  }
131
135
 
132
136
  &__dropdown-icon {