@dosgato/dialog 0.0.75 → 0.0.77

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.
@@ -113,7 +113,7 @@ $: describedby = [title ? labelid : undefined, descid].filter(isNotBlank).join('
113
113
 
114
114
  .dialog-content {
115
115
  position: relative;
116
- padding: 0 2em;
116
+ padding: 2em;
117
117
  min-height: 5em;
118
118
  overflow: auto;
119
119
  background-color: var(--dg-dialog-content-bg, #f4f4f4);
package/dist/Form.svelte CHANGED
@@ -41,6 +41,9 @@ setContext(CHOOSER_API_CONTEXT, chooserClient);
41
41
  :global(.dialog-form) {
42
42
  padding: 0;
43
43
  }
44
+ :global(.dialog-content > .dialog-form) {
45
+ margin: -2em 0;
46
+ }
44
47
  .form-errors {
45
48
  color: var(--dg-danger-bg, #9a3332);
46
49
  padding: 1em;
@@ -104,7 +104,7 @@ function onKeyDown(e) {
104
104
  </script>
105
105
 
106
106
  <FieldStandard bind:id {path} {descid} {label} {required} {defaultValue} {conditional} {helptext} let:value let:valid let:invalid let:id let:onBlur let:setVal let:messagesid let:helptextid>
107
- <Icon icon={`${value.prefix === 'fab' ? 'fa-brands' : 'fa-solid'}:${value.icon.slice(3)}`}/>
107
+ <Icon icon={`${value.prefix === 'fab' ? 'fa-brands' : 'fa-solid'}:${value.icon?.slice(3) ?? 'graduation-cap'}`}/>
108
108
  <button type="button" id="btnSelectIcon" on:click={() => { modalOpen = true }} aria-describedby={getDescribedBy([descid, messagesid, helptextid])}>Select New Icon</button>
109
109
  {#if modalOpen}
110
110
  <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.75",
4
+ "version": "0.0.77",
5
5
  "scripts": {
6
6
  "prepublishOnly": "svelte-package",
7
7
  "dev": "vite dev --force",