@dryui/primitives 0.0.3 → 0.1.0

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.
Files changed (2) hide show
  1. package/dist/map/map-root.svelte +7 -5
  2. package/package.json +1208 -457
@@ -203,15 +203,17 @@
203
203
  });
204
204
  </script>
205
205
 
206
- <div bind:this={containerEl} class={className} data-part="map-root" {...rest}>
207
- {#if error}
206
+ {#if error}
207
+ <div class={className} data-part="map-root" {...rest}>
208
208
  <div data-part="map-error" class="map-error">
209
209
  {error}
210
210
  </div>
211
+ </div>
212
+ {:else}
213
+ <div bind:this={containerEl} class={className} data-part="map-root" {...rest}></div>
214
+ {#if children}
215
+ {@render children()}
211
216
  {/if}
212
- </div>
213
- {#if children && !error}
214
- {@render children()}
215
217
  {/if}
216
218
 
217
219
  <style>