@dile/ui 2.1.24 → 2.1.26

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.
@@ -213,6 +213,8 @@ export class DileDropFile extends LitElement {
213
213
  get value() {
214
214
  if(this.fileInput) {
215
215
  return this.fileInput.files[0];
216
+ } else {
217
+ return '';
216
218
  }
217
219
  }
218
220
 
@@ -9,7 +9,10 @@ export class DileSwitch extends DileCheckbox {
9
9
  }
10
10
  div {
11
11
  display: flex;
12
- align-items: center;
12
+ flex-direction: var(--dile-switch-flex-direction, row);
13
+ gap: var(--dile-switch-gap, 0.5rem);
14
+ align-items: var(--dile-switch-align-items, center);
15
+ justify-content: var(--dile-switch-justify-content, flex-start);
13
16
  }
14
17
  section {
15
18
  width: 56px;
@@ -36,9 +39,6 @@ export class DileSwitch extends DileCheckbox {
36
39
  :host([disabled]) {
37
40
  opacity: 0.5;
38
41
  }
39
- label {
40
- margin-left: 0.5rem;
41
- }
42
42
  `
43
43
  ];
44
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/ui",
3
- "version": "2.1.24",
3
+ "version": "2.1.26",
4
4
  "description": "UI Core components from dile-components.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -26,5 +26,5 @@
26
26
  "publishConfig": {
27
27
  "access": "public"
28
28
  },
29
- "gitHead": "a4a717f1aa0deee5f86b7c74b53a9ccaee11552d"
29
+ "gitHead": "c1e8ede153723c733a0ae3209cf5f13f93367d69"
30
30
  }