@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-vue3",
3
- "version": "4.1.0",
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",
@@ -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-white border-transparent;
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-white active:border-transparent;
18
+ @apply active:bg-transparent active:border-transparent;
19
19
  // default disabled state
20
- @apply disabled:bg-white disabled:border-transparent disabled:text-rsui-grey-400;
21
- @apply disabled:active:bg-white disabled:active:border-transparent;
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>
@@ -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 {