genesys-spark 4.10.1 → 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 +2 -2
- package/dist/src/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/src/intl.d.ts +0 -29
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.
|
|
251
|
-
var CHART_COMPONENT_ASSET_PREFIX = '/spark-components/build-assets/4.
|
|
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
|
*/
|
package/dist/src/index.d.ts
CHANGED
package/package.json
CHANGED
package/dist/src/intl.d.ts
DELETED
|
@@ -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;
|