@ims360/svelte-ivory 0.0.47 → 0.0.48

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.
@@ -26,7 +26,7 @@
26
26
 
27
27
  <script lang="ts">
28
28
  let {
29
- class: clazz = 'py-2 flex flex-row items-center',
29
+ class: clazz = 'py-2 flex flex-row items-center truncate',
30
30
  children,
31
31
  onclick,
32
32
  ignoreWidth = false,
@@ -71,9 +71,9 @@
71
71
  ? ''
72
72
  : `width: calc(${column.width ?? 0}px - var(--spacing) * ${offsetNestingLevel * tableContext.nestingInset}) !important;`}
73
73
  class={[
74
- 'relative flex h-full shrink-0 flex-row items-stretch justify-start truncate',
74
+ 'flex h-full shrink-0 flex-row items-stretch justify-start truncate',
75
75
  !ignoreWidth && [
76
- 'after:absolute after:inset-y-0 after:right-2 after:box-content after:w-px',
76
+ 'after:mr-2 after:ml-auto after:h-full after:w-px',
77
77
  column.dragging && 'after:bg-primary-400-600',
78
78
  !column.dragging && column.hovering && 'after:bg-surface-300-700'
79
79
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ims360/svelte-ivory",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "keywords": [
5
5
  "svelte"
6
6
  ],
@@ -26,7 +26,7 @@
26
26
 
27
27
  <script lang="ts">
28
28
  let {
29
- class: clazz = 'py-2 flex flex-row items-center',
29
+ class: clazz = 'py-2 flex flex-row items-center truncate',
30
30
  children,
31
31
  onclick,
32
32
  ignoreWidth = false,
@@ -71,9 +71,9 @@
71
71
  ? ''
72
72
  : `width: calc(${column.width ?? 0}px - var(--spacing) * ${offsetNestingLevel * tableContext.nestingInset}) !important;`}
73
73
  class={[
74
- 'relative flex h-full shrink-0 flex-row items-stretch justify-start truncate',
74
+ 'flex h-full shrink-0 flex-row items-stretch justify-start truncate',
75
75
  !ignoreWidth && [
76
- 'after:absolute after:inset-y-0 after:right-2 after:box-content after:w-px',
76
+ 'after:mr-2 after:ml-auto after:h-full after:w-px',
77
77
  column.dragging && 'after:bg-primary-400-600',
78
78
  !column.dragging && column.hovering && 'after:bg-surface-300-700'
79
79
  ]