@skyux/core 11.14.0 → 11.15.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.
@@ -14,6 +14,10 @@ export interface SkyNumericOptions {
14
14
  * Specifies the format of the currency.
15
15
  */
16
16
  currencySign?: 'accounting' | 'standard';
17
+ /**
18
+ * Specifies the display of the currency. Defaults to 'symbol'.
19
+ */
20
+ currencyDisplay?: 'code' | 'symbol' | 'narrowSymbol' | 'name';
17
21
  /**
18
22
  * Specifies the ISO4217 currency code to use for currency formatting.
19
23
  */
@@ -47,6 +51,7 @@ export declare class NumericOptions implements SkyNumericOptions {
47
51
  digits?: number;
48
52
  format?: string;
49
53
  currencySign?: 'accounting' | 'standard';
54
+ currencyDisplay?: 'code' | 'symbol' | 'narrowSymbol' | 'name';
50
55
  iso?: string;
51
56
  locale?: string;
52
57
  minDigits?: number;
@@ -1,5 +1,5 @@
1
1
  import { SkyIntlNumberFormatStyle } from '@skyux/i18n';
2
2
  export declare class SkyNumberFormatUtility {
3
3
  private static _NUMBER_FORMAT_REGEXP;
4
- static formatNumber(locale: string, value: number | string, style: SkyIntlNumberFormatStyle, digits?: string | null, currency?: string | null, currencyAsSymbol?: boolean, currencySign?: 'accounting' | 'standard'): string | null;
4
+ static formatNumber(locale: string, value: number | string, style: SkyIntlNumberFormatStyle, digits?: string | null, currency?: string | null, currencyDisplay?: 'code' | 'symbol' | 'narrowSymbol' | 'name', currencySign?: 'accounting' | 'standard'): string | null;
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/core",
3
- "version": "11.14.0",
3
+ "version": "11.15.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -41,7 +41,7 @@
41
41
  "@angular/core": "^18.2.8",
42
42
  "@angular/platform-browser": "^18.2.8",
43
43
  "@angular/router": "^18.2.8",
44
- "@skyux/i18n": "11.14.0"
44
+ "@skyux/i18n": "11.15.0"
45
45
  },
46
46
  "dependencies": {
47
47
  "tslib": "^2.6.3"
@@ -6,6 +6,7 @@ export { SkyOverlayHarnessFilters } from './overlay/overlay-harness-filters';
6
6
  export { mockResizeObserver, mockResizeObserverEntry, mockResizeObserverHandle, } from './resize-observer-mock';
7
7
  export { SkyComponentHarness } from './shared/component-harness';
8
8
  export { SkyHarnessFilters } from './shared/harness-filters';
9
+ export { SkyHarnessUtility } from './shared/harness-utility';
9
10
  export { SkyQueryableComponentHarness } from './shared/queryable-component-harness';
10
11
  export { SkyHelpTestingController } from './help/help-testing-controller';
11
12
  export { SkyHelpTestingModule } from './help/help-testing.module';
@@ -0,0 +1,4 @@
1
+ import { TestElement } from '@angular/cdk/testing';
2
+ export declare class SkyHarnessUtility {
3
+ static getBackgroundImageUrl(el: TestElement): Promise<string | undefined>;
4
+ }