@3mo/date-time-fields 0.18.1 → 0.18.2

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,6 @@
1
+ ## 0.18.2 (2026-10-15)
2
+ - **🐛 Fix**: Derive letter placeholders for Cyrillic and Greek scripts as well ([b151df6](https://github.com/3mo-esolutions/web-components/commit/b151df6ac781331a1af5d8dd33a111ad0083b24b))
3
+
1
4
  ## 0.18.1 (2026-10-09)
2
5
  - **⚡️ Performance Improvement**: Build a field's segmenter once per configuration ([b102c75](https://github.com/3mo-esolutions/web-components/commit/b102c756a8746113babab3d7b7a827d1e42cb10d))
3
6
 
@@ -146,7 +146,7 @@ export class DateTimeSegmenter {
146
146
  return type === 'dayPeriod' && this.direction === 'rtl' ? `\u200F${timePlaceholder}` : timePlaceholder;
147
147
  }
148
148
  const word = this.labelOf(type);
149
- return /^\p{Script=Latin}/u.test(word) ? word[0].toLocaleLowerCase(this.language).repeat(width) : word;
149
+ return /^[\p{Script=Latin}\p{Script=Cyrillic}\p{Script=Greek}]/u.test(word) ? word[0].toLocaleLowerCase(this.language).repeat(width) : word;
150
150
  }
151
151
  limits(date, type) {
152
152
  date = this.adopt(date);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3mo/date-time-fields",
3
- "version": "0.18.1",
3
+ "version": "0.18.2",
4
4
  "description": "Web components for date, date-time, time and range fields with locale-aware segmented entry and a calendar picker.",
5
5
  "repository": {
6
6
  "type": "git",