genesys-spark 4.11.0 → 4.12.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/dist/index.js CHANGED
@@ -247,8 +247,8 @@ var intl = /*#__PURE__*/Object.freeze({
247
247
  relativeTimeFormat: relativeTimeFormat
248
248
  });
249
249
 
250
- var COMPONENT_ASSET_PREFIX = '/spark-components/build-assets/4.11.0-84/genesys-webcomponents/';
251
- var CHART_COMPONENT_ASSET_PREFIX = '/spark-components/build-assets/4.11.0-84/genesys-chart-webcomponents/';
250
+ var COMPONENT_ASSET_PREFIX = '/spark-components/build-assets/4.12.0-85/genesys-webcomponents/';
251
+ var CHART_COMPONENT_ASSET_PREFIX = '/spark-components/build-assets/4.12.0-85/genesys-chart-webcomponents/';
252
252
  /**
253
253
  * TODO
254
254
  */
@@ -16,4 +16,4 @@ export declare function registerSparkComponents(): Promise<void>;
16
16
  * TODO
17
17
  */
18
18
  export declare function registerSparkChartComponents(): Promise<void>;
19
- export * as Intl from './intl';
19
+ export * as Intl from './utils/intl';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesys-spark",
3
- "version": "4.11.0",
3
+ "version": "4.12.0",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",
@@ -1,29 +0,0 @@
1
- /**
2
- * Provides an [Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat)
3
- * object for formatting dates and times. Unlike the native version, `locale` is
4
- * an optional argument. If not provided, the function will try to determine the
5
- * locale from the DOM, where it should be set for a11y reasons.
6
- * @param locale optional locale to use for formatting
7
- * @param options options to pass to the Intl.DateTimeFormat constructor
8
- * @returns a new DateTimeFormat
9
- */
10
- export declare function dateTimeFormat(localeOrOptions: string | Intl.DateTimeFormatOptions, options?: Intl.DateTimeFormatOptions): Intl.DateTimeFormat;
11
- /**
12
- * Provides an [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat)
13
- * object for formatting dates and times. Unlike the native version, `locale` is
14
- * an optional argument. If not provided, the function will try to determine the
15
- * locale from the DOM, where it should be set for a11y reasons.
16
- * @param locale optional locale to use for formatting
17
- * @param options options to pass to the Intl.RelativeTimeFormat constructor
18
- * @returns a new RelativeTimeFormat
19
- */
20
- export declare function relativeTimeFormat(localeOrOptions: string | Intl.RelativeTimeFormatOptions, options?: Intl.RelativeTimeFormatOptions): Intl.RelativeTimeFormat;
21
- /**
22
- * Makes a best effort to return the locale that should be used for a given element
23
- * by checking language tags on ancestors. If no element is provided, it will
24
- * start with the document's <body> tag. If no locale can be found, it will use
25
- * the browser's locale preference. It will also try to add a region to regionless
26
- * locales when there is a partial match with the browser's locale.
27
- * @returns a locale string (e.g. 'en-US', 'en', 'de-DE', etc)
28
- */
29
- export declare function determineDisplayLocale(element?: HTMLElement): string;