@limetech/lime-elements 39.44.0 → 39.44.2-beta.1

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [39.44.2-beta.1](https://github.com/Lundalogik/lime-elements/compare/v39.44.1...v39.44.2-beta.1) (2026-08-12)
2
+
3
+ ### Bug Fixes
4
+
5
+
6
+ * **form:** allow clearing a field that has a schema default ([c417ada](https://github.com/Lundalogik/lime-elements/commit/c417ada44625fadbc4285dd863e30c549e3827d0)), closes [#5125](https://github.com/Lundalogik/lime-elements/issues/5125)
7
+
8
+ ## [39.44.1](https://github.com/Lundalogik/lime-elements/compare/v39.44.0...v39.44.1) (2026-07-14)
9
+
10
+ ### Bug Fixes
11
+
12
+
13
+ * **file:** match extension accept specifiers by filename ([b59f4ec](https://github.com/Lundalogik/lime-elements/commit/b59f4ec5dc77430c621d6a7aa94270b5dff406fa)), closes [#4183](https://github.com/Lundalogik/lime-elements/issues/4183)
14
+
1
15
  ## [39.44.0](https://github.com/Lundalogik/lime-elements/compare/v39.43.0...v39.44.0) (2026-07-10)
2
16
 
3
17
  ### Features
@@ -41,8 +41,11 @@ function isTypeAccepted(file, accept) {
41
41
  return file.contentType.startsWith(`${baseType}/`);
42
42
  }
43
43
  if (acceptedType.startsWith('.')) {
44
- const fileType = acceptedType.split('.')[1];
45
- return file.contentType.endsWith(`/${fileType}`);
44
+ // An extension specifier matches by file name (like the native
45
+ // `accept` attribute), not by MIME type.
46
+ return file.filename
47
+ .toLowerCase()
48
+ .endsWith(acceptedType.toLowerCase());
46
49
  }
47
50
  });
48
51
  }
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DYg_7kkT.js');
4
- var files = require('./files-Bt11HLi4.js');
4
+ var files = require('./files-DI4jItxi.js');
5
5
  var _baseEach = require('./_baseEach-Bygi-un6.js');
6
6
  var _baseIteratee = require('./_baseIteratee-DDklwtn9.js');
7
7
  var isArray = require('./isArray-BuFVIU_i.js');