@dosgato/dialog 0.0.23 → 0.0.24

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.
@@ -88,7 +88,7 @@ onMount(async () => {
88
88
  <section class="dialog-chooser-window">
89
89
  <header class="dialog-chooser-controls">
90
90
  {#if $sources.length > 1}
91
- <Tabs bind:store={tabStore} tabs={$sources.map(s => ({ id: s.name, title: s.label ?? s.name }))} />
91
+ <Tabs bind:store={tabStore} tabs={$sources.map(s => ({ name: s.name, title: s.label ?? s.name }))} />
92
92
  {/if}
93
93
  </header>
94
94
  <section class="dialog-chooser-chooser">
@@ -54,9 +54,7 @@ export class ChooserStore extends Store {
54
54
  return { ...v, sources };
55
55
  });
56
56
  this.setSource(this.value.preview?.source ?? this.options.initialSource, true);
57
- console.log('before initialized', this.value);
58
57
  await tick();
59
- console.log('just before initialized');
60
58
  this.update(v => ({ ...v, initialized: true }));
61
59
  }
62
60
  setPreview(item) {
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.23",
4
+ "version": "0.0.24",
5
5
  "dependencies": {
6
6
  "@txstate-mws/svelte-components": "^1.3.5",
7
7
  "@txstate-mws/svelte-forms": "^1.1.2",
@@ -170,7 +170,6 @@ function onCheckClick(e) {
170
170
  shiftClick();
171
171
  }
172
172
  else {
173
- console.log('onCheckClick', isSelected);
174
173
  if (isSelected)
175
174
  dispatch('deselect', item);
176
175
  store.select(item, { clear: false, toggle: true });