@dosgato/dialog 0.0.67 → 0.0.68

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.
@@ -43,7 +43,7 @@ $: messages = compact ? $messageStore : [];
43
43
  <AddMore {path} {initialState} {minLength} {maxLength} {conditional} let:path let:currentLength let:maxLength let:index let:minned let:maxed let:value let:onDelete let:onMoveUp>
44
44
  {@const showDelete = removable && !minned}
45
45
  {@const showMove = reorder && index > 0}
46
- <div class="dialog-multiple" class:has-delete-icon={showDelete}>
46
+ <div class="dialog-multiple" class:has-delete-icon={showDelete} class:has-move-icon={showMove}>
47
47
  <div class="dialog-multiple-content">
48
48
  <slot {path} {index} {value} {maxed} {maxLength} {currentLength}/>
49
49
  </div>
@@ -78,7 +78,7 @@ $: messages = compact ? $messageStore : [];
78
78
  :global(.dialog-multiple-button) {
79
79
  margin-left: var(--dialog-container-padding, 1em);
80
80
  }
81
- .dialog-multiple.has-delete-icon {
81
+ .dialog-multiple.has-delete-icon, .dialog-multiple.has-move-icon {
82
82
  display: flex;
83
83
  align-items: center;
84
84
  justify-content: space-between;
@@ -144,7 +144,7 @@ function onKeyDown(e) {
144
144
  </div>
145
145
  <footer class="actions">
146
146
  <button type="button" aria-describedby="{labelid} {descid}" on:click={onCancel(value)}>Cancel</button>
147
- <button type="button" aria-describedby="{labelid} {descid}" on:click={onSaveIconSelection(setVal)}>Save Changes</button>
147
+ <button type="button" aria-describedby="{labelid} {descid}" on:click={onSaveIconSelection(setVal)}>Save</button>
148
148
  </footer>
149
149
  </section>
150
150
  </Modal>
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.67",
4
+ "version": "0.0.68",
5
5
  "scripts": {
6
6
  "prepublishOnly": "svelte-package",
7
7
  "dev": "vite dev --force",