@invopop/popui 0.1.60 → 0.1.62

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.
@@ -16,8 +16,9 @@
16
16
  }: DataListItemProps = $props()
17
17
 
18
18
  let valueStyles = $derived(
19
- clsx('text-foreground font-medium text-base truncate min-w-0', {
20
- 'font-mono slashed-zero tabular-nums lining-nums': monospaced
19
+ clsx('text-foreground font-medium text-base min-w-0', {
20
+ 'font-mono slashed-zero tabular-nums lining-nums': monospaced,
21
+ truncate: !children
21
22
  })
22
23
  )
23
24
 
@@ -54,12 +55,12 @@
54
55
  <!-- svelte-ignore a11y_no_static_element_interactions -->
55
56
  <div
56
57
  class={clsx(
57
- 'flex flex-1 gap-1 items-center group-hover:bg-background-default-secondary py-1 pl-2 pr-1 rounded-md min-w-0 h-8',
58
+ 'flex flex-1 gap-1.5 items-start group-hover:bg-background-default-secondary py-1 pl-2 pr-1 rounded-md min-w-0 min-h-8',
58
59
  { 'cursor-pointer': clickAction }
59
60
  )}
60
61
  onclick={clickAction ? handleAreaClick : undefined}
61
62
  >
62
- <div class="flex-1 min-w-0">
63
+ <div class="flex-1 min-w-0 overflow-x-auto">
63
64
  <div class={valueStyles}>
64
65
  {#if children}
65
66
  {@render children()}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@invopop/popui",
3
3
  "license": "MIT",
4
- "version": "0.1.60",
4
+ "version": "0.1.62",
5
5
  "repository": {
6
6
  "url": "https://github.com/invopop/popui"
7
7
  },