@poirazis/supercomponents-shared 1.2.14 → 1.2.16

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.
@@ -35,7 +35,6 @@
35
35
  class:error={cellOptions.error}
36
36
  style:color={cellOptions.color}
37
37
  style:background={cellOptions.background}
38
- style:font-weight={cellOptions.fontWeight}
39
38
  >
40
39
  {#if cellOptions.icon}
41
40
  <i class={cellOptions.icon + " field-icon"}></i>
@@ -46,8 +45,6 @@
46
45
  class:placeholder={!value}
47
46
  style:justify-content={cellOptions.align}
48
47
  >
49
- <span>
50
- {formattedValue || value || placeholder}
51
- </span>
48
+ <span>{formattedValue || value || placeholder}</span>
52
49
  </div>
53
50
  </div>
@@ -259,7 +259,7 @@
259
259
  },
260
260
  EditingCell: {
261
261
  _enter() {
262
- $lockWidth = Math.max(viewport.clientWidth, 160);
262
+ $lockWidth = Math.max(viewport.clientWidth, 80);
263
263
  stbState.edit.debounce(30);
264
264
  },
265
265
  patchRow(index, id, rev, field, change) {
@@ -382,7 +382,7 @@
382
382
  {#if $columnOptionsStore.showHeader && $columnOptionsStore.canResize}
383
383
  <div
384
384
  class="grabber"
385
- style:height={$columnOptionsStore.headerHeight - 16}
385
+ style:height={$columnOptionsStore.headerHeight - 16 + "px"}
386
386
  on:mousedown={columnState.startResizing}
387
387
  on:dblclick={columnState.resetSize}
388
388
  on:mouseenter={() => (considerResizing = true)}
@@ -25,7 +25,7 @@
25
25
 
26
26
  // Get Row overrides from metadata or fallback to column settings
27
27
  $: color = $rowMetadata[index]?.color;
28
- $: height = $rowMetadata[index]?.height;
28
+ $: height = $rowMetadata[index]?.height + "px";
29
29
  $: bgcolor = $rowMetadata[index]?.bgcolor;
30
30
 
31
31
  $: id = row?.[idField] ?? index;