@redseed/redseed-ui-vue3 3.0.2 → 3.0.3
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 +1 -1
- package/src/components/List/List.vue +17 -22
package/package.json
CHANGED
|
@@ -82,29 +82,24 @@ function controlChanged(event) {
|
|
|
82
82
|
<slot></slot>
|
|
83
83
|
</div>
|
|
84
84
|
|
|
85
|
-
<
|
|
86
|
-
|
|
87
|
-
:totalItems="totalItems"
|
|
88
|
-
:controlChanged="controlChanged"
|
|
85
|
+
<div v-if="showControl"
|
|
86
|
+
class="rsui-list__control-bottom"
|
|
89
87
|
>
|
|
90
|
-
<
|
|
91
|
-
|
|
92
|
-
v-bind="$attrs"
|
|
93
|
-
class="rsui-list___control"
|
|
88
|
+
<slot name="control-bottom"
|
|
89
|
+
:showControl="showControl"
|
|
94
90
|
:totalItems="totalItems"
|
|
95
|
-
:
|
|
96
|
-
:sortable="false"
|
|
97
|
-
:filters="[]"
|
|
98
|
-
@change="controlChanged"
|
|
91
|
+
:controlChanged="controlChanged"
|
|
99
92
|
>
|
|
100
|
-
<
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
93
|
+
<ListControl
|
|
94
|
+
v-bind="$attrs"
|
|
95
|
+
:searchable="false"
|
|
96
|
+
:sortable="false"
|
|
97
|
+
:filters="[]"
|
|
98
|
+
:totalItems="totalItems"
|
|
99
|
+
@change="controlChanged"
|
|
100
|
+
></ListControl>
|
|
101
|
+
</slot>
|
|
102
|
+
</div>
|
|
108
103
|
|
|
109
104
|
<!--
|
|
110
105
|
Empty slot with a default empty component.
|
|
@@ -154,7 +149,7 @@ function controlChanged(event) {
|
|
|
154
149
|
class="rsui-list__empty"
|
|
155
150
|
>
|
|
156
151
|
<Empty>
|
|
157
|
-
<slot name="
|
|
152
|
+
<slot name="control-empty-description">No items meet your filter criteria.</slot>
|
|
158
153
|
</Empty>
|
|
159
154
|
</div>
|
|
160
155
|
</slot>
|
|
@@ -168,7 +163,7 @@ function controlChanged(event) {
|
|
|
168
163
|
&__empty {
|
|
169
164
|
@apply mt-6;
|
|
170
165
|
}
|
|
171
|
-
&
|
|
166
|
+
&__control-bottom {
|
|
172
167
|
@apply mt-3;
|
|
173
168
|
}
|
|
174
169
|
}
|