@redseed/redseed-ui-vue3 5.3.6 → 5.3.8
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 {
|
|
@@ -21,6 +21,10 @@ defineProps({
|
|
|
21
21
|
type: Boolean,
|
|
22
22
|
default: true,
|
|
23
23
|
},
|
|
24
|
+
showDivider: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: true,
|
|
27
|
+
},
|
|
24
28
|
})
|
|
25
29
|
|
|
26
30
|
const sectionHeaderElement = ref(null)
|
|
@@ -31,7 +35,10 @@ const emit = defineEmits(['click:more-actions'])
|
|
|
31
35
|
</script>
|
|
32
36
|
<template>
|
|
33
37
|
<div ref="sectionHeaderElement"
|
|
34
|
-
class="
|
|
38
|
+
:class="[
|
|
39
|
+
'rsui-section-header',
|
|
40
|
+
{ 'rsui-section-header--no-divider': !showDivider }
|
|
41
|
+
]"
|
|
35
42
|
>
|
|
36
43
|
<div class="rsui-section-header__header">
|
|
37
44
|
|
|
@@ -97,6 +104,9 @@ const emit = defineEmits(['click:more-actions'])
|
|
|
97
104
|
@apply flex flex-col gap-x-3 gap-y-5;
|
|
98
105
|
@apply md:flex-row md:justify-between md:items-center;
|
|
99
106
|
@apply border-b border-rsui-grey-400 pb-5;
|
|
107
|
+
&--no-divider {
|
|
108
|
+
@apply border-b-0;
|
|
109
|
+
}
|
|
100
110
|
|
|
101
111
|
&__header {
|
|
102
112
|
@apply flex-1 flex justify-between md:items-center gap-x-3;
|