@redseed/redseed-ui-vue3 5.3.5 → 5.3.7
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
|
@@ -74,7 +74,7 @@ function onClick() {
|
|
|
74
74
|
<style lang="scss" scoped>
|
|
75
75
|
.rsui-card {
|
|
76
76
|
@apply relative flex flex-col overflow-hidden;
|
|
77
|
-
@apply
|
|
77
|
+
@apply transition duration-200;
|
|
78
78
|
@apply rounded-xl bg-white border border-rsui-grey-400;
|
|
79
79
|
|
|
80
80
|
&--hoverable {
|
|
@@ -25,6 +25,10 @@ defineProps({
|
|
|
25
25
|
type: Boolean,
|
|
26
26
|
default: true,
|
|
27
27
|
},
|
|
28
|
+
showDivider: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: true,
|
|
31
|
+
},
|
|
28
32
|
singleLine: {
|
|
29
33
|
type: Boolean,
|
|
30
34
|
default: true,
|
|
@@ -39,7 +43,12 @@ const emit = defineEmits(['click:more-actions'])
|
|
|
39
43
|
</script>
|
|
40
44
|
<template>
|
|
41
45
|
<div ref="cardHeaderElement"
|
|
42
|
-
class="
|
|
46
|
+
:class="[
|
|
47
|
+
'rsui-card-header',
|
|
48
|
+
{
|
|
49
|
+
'rsui-card-header--divider': showDivider,
|
|
50
|
+
}
|
|
51
|
+
]"
|
|
43
52
|
>
|
|
44
53
|
<div :class="[
|
|
45
54
|
'rsui-card-header__header',
|
|
@@ -125,7 +134,11 @@ const emit = defineEmits(['click:more-actions'])
|
|
|
125
134
|
.rsui-card-header {
|
|
126
135
|
@apply flex flex-col gap-x-3 gap-y-5 overflow-hidden;
|
|
127
136
|
@apply md:flex-row md:justify-between md:items-center;
|
|
128
|
-
@apply
|
|
137
|
+
@apply py-4 px-4 sm:px-6;
|
|
138
|
+
|
|
139
|
+
&--divider {
|
|
140
|
+
@apply border-b border-rsui-grey-400;
|
|
141
|
+
}
|
|
129
142
|
|
|
130
143
|
&__header {
|
|
131
144
|
@apply flex-1 flex justify-between items-start gap-x-3;
|