@v1nt1248/3nclient-lib 0.1.52 → 0.1.54

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
@@ -2,7 +2,7 @@
2
2
  "name": "@v1nt1248/3nclient-lib",
3
3
  "license": "AGPL-3.0-or-later",
4
4
  "author": "v1nt1248",
5
- "version": "0.1.52",
5
+ "version": "0.1.54",
6
6
  "description": "Library for 3NWeb clients",
7
7
  "type": "module",
8
8
  "files": [
@@ -116,7 +116,12 @@
116
116
  <div
117
117
  v-for="(row, rowIndex) in body.content"
118
118
  :key="getRowKey(row, rowIndex)"
119
- :class="[$style.row, isRowSelected(row) && $style.selected, config.selectable && $style.selectable]"
119
+ :class="[
120
+ $style.row,
121
+ $slots['row'] && $style.customRow,
122
+ isRowSelected(row) && $style.selected,
123
+ config.selectable && $style.selectable,
124
+ ]"
120
125
  >
121
126
  <slot
122
127
  name="row"
@@ -282,14 +287,17 @@
282
287
  position: relative;
283
288
  width: 100%;
284
289
  min-height: var(--ui3n-table-body-row-height);
285
- display: grid;
286
- grid-template-columns: var(--ui3n-table-columns-width);
287
- padding-left: var(--spacing-m);
288
290
  border-left: 1px solid var(--color-border-table-primary-default);
289
291
  border-right: 1px solid var(--color-border-table-primary-default);
290
292
  border-bottom: 1px solid var(--color-border-block-primary-default);
291
293
  background-color: transparent;
292
294
 
295
+ &:not(.customRow) {
296
+ padding-left: var(--spacing-m);
297
+ display: grid;
298
+ grid-template-columns: var(--ui3n-table-columns-width);
299
+ }
300
+
293
301
  &.selectable {
294
302
  cursor: pointer;
295
303
  }