@dataloop-ai/components 0.19.250 → 0.19.252

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.19.250",
3
+ "version": "0.19.252",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -242,6 +242,11 @@ export default defineComponent({
242
242
  arrowNavItems: {
243
243
  type: Array as PropType<any[]>,
244
244
  default: () => [] as any[]
245
+ },
246
+ contentGap: {
247
+ type: String,
248
+ required: false,
249
+ default: null
245
250
  }
246
251
  },
247
252
  emits: [
@@ -309,7 +314,10 @@ export default defineComponent({
309
314
  return {
310
315
  '--justify-content': props.fluid
311
316
  ? 'space-between'
312
- : 'space-around'
317
+ : 'space-around',
318
+ ...(props.contentGap && {
319
+ '--dl-button-content-gap': props.contentGap
320
+ })
313
321
  }
314
322
  })
315
323
 
@@ -1,8 +1,5 @@
1
1
  <template>
2
- <div
3
- :id="uuid"
4
- class="dl-pagination"
5
- >
2
+ <div :id="uuid" class="dl-pagination">
6
3
  <div class="dl-pagination--container">
7
4
  <rows-selector
8
5
  v-if="withRowsPerPage && rowsPerPageState"
@@ -19,7 +16,7 @@
19
16
 
20
17
  <div
21
18
  v-if="rowsPerPageState"
22
- class="dl-pagination--navigation"
19
+ class="dl-pagination--navigation dl-pagination--navigation-legend"
23
20
  :class="
24
21
  withLegend || (withRowsPerPage && rowsPerPageState)
25
22
  ? ''
@@ -889,7 +889,10 @@
889
889
  <div v-else class="dl-table__control">
890
890
  <slot name="bottom" v-bind="marginalsScope">
891
891
  <div
892
- v-if="hasBottomSelectionBanner"
892
+ v-if="
893
+ hasBottomSelectionBanner &&
894
+ selectedRowsLabel(rowsSelectedNumber)
895
+ "
893
896
  class="dl-table__control"
894
897
  >
895
898
  <div>