@redseed/redseed-ui-vue3 5.3.7 → 5.3.9
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
|
@@ -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--divider': showDivider }
|
|
41
|
+
]"
|
|
35
42
|
>
|
|
36
43
|
<div class="rsui-section-header__header">
|
|
37
44
|
|
|
@@ -96,7 +103,9 @@ const emit = defineEmits(['click:more-actions'])
|
|
|
96
103
|
.rsui-section-header {
|
|
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
|
+
&--divider {
|
|
107
|
+
@apply border-b border-rsui-grey-400 pb-5;
|
|
108
|
+
}
|
|
100
109
|
|
|
101
110
|
&__header {
|
|
102
111
|
@apply flex-1 flex justify-between md:items-center gap-x-3;
|