@limetech/lime-elements 37.65.12 → 37.66.0

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,20 @@
1
+ ## [37.66.0](https://github.com/Lundalogik/lime-elements/compare/v37.65.13...v37.66.0) (2024-11-14)
2
+
3
+
4
+ ### Features
5
+
6
+
7
+ * **text-editor:** add uiType as a type ([239ea3d](https://github.com/Lundalogik/lime-elements/commit/239ea3de43e9ac43b7db677726aeaf6496cd136c))
8
+ * **text-editor:** use uiType in editor ([b56fcbb](https://github.com/Lundalogik/lime-elements/commit/b56fcbbef73c5cf292139a549b78f976e54d6a3a))
9
+
10
+ ## [37.65.13](https://github.com/Lundalogik/lime-elements/compare/v37.65.12...v37.65.13) (2024-11-13)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+
16
+ * **flatpickr-adapter:** handle missing `formatter` property ([05a1b06](https://github.com/Lundalogik/lime-elements/commit/05a1b06aefcb4eade4e86221541fb9952b40d1b2))
17
+
1
18
  ## [37.65.12](https://github.com/Lundalogik/lime-elements/compare/v37.65.11...v37.65.12) (2024-11-12)
2
19
 
3
20
 
@@ -6469,6 +6469,7 @@ const ARIA_DATE_FORMAT = 'F j, Y';
6469
6469
  class Picker {
6470
6470
  constructor(dateFormat, language, change) {
6471
6471
  this.change = change;
6472
+ this.formatter = (date) => moment.moment(date).locale(this.getMomentLang()).format(this.dateFormat);
6472
6473
  this.language = 'en';
6473
6474
  this.language = language;
6474
6475
  const isMobile = device.isIOSDevice() || device.isAndroidDevice();
@@ -7615,7 +7616,9 @@ const DatePickerCalendar = class {
7615
7616
  this.picker = new DatetimePicker(this.format, this.language, this.change);
7616
7617
  break;
7617
7618
  }
7618
- this.picker.formatter = this.formatter;
7619
+ if (this.formatter) {
7620
+ this.picker.formatter = this.formatter;
7621
+ }
7619
7622
  }
7620
7623
  componentDidUpdate() {
7621
7624
  if (!this.flatPickrCreated) {