@dosgato/dialog 0.0.67 → 0.0.69

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;
@@ -97,7 +97,7 @@ export class ChooserStore extends Store {
97
97
  }
98
98
  export function cleanUrl(url) {
99
99
  if (url.startsWith('//'))
100
- url = 'https:' + url;
100
+ url = 'http:' + url;
101
101
  if (url.startsWith('/'))
102
102
  return url;
103
103
  try {
@@ -105,7 +105,7 @@ export function cleanUrl(url) {
105
105
  return url;
106
106
  }
107
107
  catch (e) {
108
- const fixed = 'https://' + url;
108
+ const fixed = 'http://' + url;
109
109
  try {
110
110
  const _ = new URL(fixed);
111
111
  return fixed;
@@ -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.69",
5
5
  "scripts": {
6
6
  "prepublishOnly": "svelte-package",
7
7
  "dev": "vite dev --force",