@wandelbots/wandelbots-js-react-components 2.51.0-pr.feature-localize-timer-component-as-well.396.64c32ed → 2.52.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/wandelbots-js-react-components",
3
- "version": "2.51.0-pr.feature-localize-timer-component-as-well.396.64c32ed",
3
+ "version": "2.52.0",
4
4
  "description": "React UI toolkit for building applications on top of the Wandelbots platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -55,7 +55,10 @@ export const formatTimeLocalized = (
55
55
  duration.seconds = remainingSeconds
56
56
  }
57
57
 
58
- // @ts-expect-error - DurationFormat is not yet in TypeScript types
58
+ // @ts-expect-error
59
+ // TODO: Remove suppression once Intl.DurationFormat is supported in TypeScript types.
60
+ // See: https://github.com/microsoft/TypeScript/issues/53971
61
+ // DurationFormat is a proposed API and not yet available in TypeScript's standard library types.
59
62
  const formatter = new Intl.DurationFormat(locale, { style: "narrow" })
60
63
  return formatter.format(duration)
61
64
  } catch {