@redseed/redseed-ui-vue3 2.22.0 → 2.22.1
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
|
@@ -3,6 +3,10 @@ import { ref, computed, watch } from 'vue'
|
|
|
3
3
|
import ButtonTertiary from '../Button/ButtonTertiary.vue'
|
|
4
4
|
|
|
5
5
|
const props = defineProps({
|
|
6
|
+
flexible: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: false,
|
|
9
|
+
},
|
|
6
10
|
showButton: {
|
|
7
11
|
type: Boolean,
|
|
8
12
|
default: false,
|
|
@@ -33,6 +37,7 @@ const componentClass = computed(() => [
|
|
|
33
37
|
{
|
|
34
38
|
'rsui-radio-card--selected': isSelected.value,
|
|
35
39
|
'rsui-radio-card--disabled': props.disabled,
|
|
40
|
+
'rsui-radio-card--flexible': props.flexible,
|
|
36
41
|
},
|
|
37
42
|
])
|
|
38
43
|
|
|
@@ -106,6 +111,10 @@ function handleClick(event) {
|
|
|
106
111
|
@apply flex flex-col gap-3 p-4;
|
|
107
112
|
@apply focus-visible:ring-4 focus-visible:ring-rsui-light;
|
|
108
113
|
|
|
114
|
+
&--flexible {
|
|
115
|
+
@apply max-w-full w-full;
|
|
116
|
+
}
|
|
117
|
+
|
|
109
118
|
&--selected {
|
|
110
119
|
@apply bg-primary/10 border-primary;
|
|
111
120
|
@apply focus-visible:ring-4 focus-visible:ring-primary/10;
|