@ni/ok-components 1.18.2 → 1.18.3

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.
@@ -111271,8 +111271,13 @@ focus outline in that case.
111271
111271
  return '';
111272
111272
  }
111273
111273
  if (type !== 'date') {
111274
- const time = text.slice(length + 1);
111275
- const milliseconds = maskitoParseTime(time, timeFormat(locale, mode));
111274
+ // maskitoParseTime matches the day period case-sensitively, so compare in lower case.
111275
+ const timeParams = timeFormat(locale, mode);
111276
+ const [am, pm] = timeParams.dayPeriod;
111277
+ const milliseconds = maskitoParseTime(text.slice(length + 1).toLocaleLowerCase(locale), {
111278
+ ...timeParams,
111279
+ dayPeriod: [am.toLocaleLowerCase(locale), pm.toLocaleLowerCase(locale)]
111280
+ });
111276
111281
  if (!Number.isFinite(milliseconds)) {
111277
111282
  return '';
111278
111283
  }
@@ -111663,7 +111668,7 @@ focus outline in that case.
111663
111668
  </div>
111664
111669
  ${when(x => !x.open, entryErrorTemplate)}
111665
111670
  ${when(x => x.open, html `
111666
- <${anchoredRegionTag} ${ref('region')} auto-update-mode="auto"
111671
+ <${anchoredRegionTag} ${ref('region')} auto-update-mode="auto" fixed-placement
111667
111672
  @loaded="${x => x.focusDay(true)}"
111668
111673
  vertical-default-position="bottom" vertical-positioning-mode="dynamic"
111669
111674
  horizontal-inset