@dosgato/dialog 0.0.50 → 0.0.52

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.
@@ -356,7 +356,7 @@ $: if ($dragging) {
356
356
  border-bottom: var(--tree-border, 1px dashed #aaaaaa);
357
357
  width: 100%;
358
358
  overflow: hidden;
359
- min-height: 2.9em;
359
+ min-height: calc(2.7em + 2px);
360
360
  }
361
361
  :global(.resizing) .tree-node {
362
362
  cursor: col-resize;
@@ -390,6 +390,9 @@ $: if ($dragging) {
390
390
  .tree-node.dropDisabled {
391
391
  opacity: 0.6;
392
392
  }
393
+ .tree-node :global(svg) {
394
+ display: block;
395
+ }
393
396
  .drop-above {
394
397
  position: absolute;
395
398
  top: -3px;
@@ -345,7 +345,7 @@ export function getHashId(str) {
345
345
  hashedIds[str] ??= hashid(str);
346
346
  return hashedIds[str];
347
347
  }
348
- const lazyEvent = new CustomEvent('lazy');
348
+ const lazyEvent = typeof CustomEvent !== 'undefined' ? new CustomEvent('lazy') : undefined;
349
349
  export const lazyObserver = typeof IntersectionObserver !== 'undefined'
350
350
  ? new IntersectionObserver((entries) => {
351
351
  for (const entry of entries) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dosgato/dialog",
3
3
  "description": "A component library for building forms that edit a JSON document.",
4
- "version": "0.0.50",
4
+ "version": "0.0.52",
5
5
  "scripts": {
6
6
  "prepublishOnly": "svelte-package",
7
7
  "dev": "vite dev --force",