@skyux/core 11.27.0 → 11.28.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/index.d.ts CHANGED
@@ -28,6 +28,7 @@ export { SkyDynamicComponentLocation } from './lib/modules/dynamic-component/dyn
28
28
  export { SkyDynamicComponentOptions } from './lib/modules/dynamic-component/dynamic-component-options';
29
29
  export { SkyDynamicComponentModule } from './lib/modules/dynamic-component/dynamic-component.module';
30
30
  export { SkyDynamicComponentLegacyService, SkyDynamicComponentService, } from './lib/modules/dynamic-component/dynamic-component.service';
31
+ export { SkyFileReaderService } from './lib/modules/file-reader/file-reader.service';
31
32
  export { SkyAppFormat } from './lib/modules/format/app-format';
32
33
  export { SkyHelpGlobalOptions } from './lib/modules/help/help-global-options';
33
34
  export { SKY_HELP_GLOBAL_OPTIONS } from './lib/modules/help/help-global-options-token';
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Wraps the FileReader API so it can be mocked in tests.
4
+ * @internal
5
+ */
6
+ export declare class SkyFileReaderService {
7
+ readAsDataURL(file: File): Promise<string>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileReaderService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkyFileReaderService>;
10
+ }
@@ -22,9 +22,8 @@ export declare class SkyLogService {
22
22
  * `args` parameter.
23
23
  * @param name The name of the deprecated class, property, function, etc.
24
24
  * @param args Information about the deprecation and replacement recommendations.
25
- * @returns
26
25
  */
27
- deprecated(name: string, args?: SkyLogDeprecatedArgs): Promise<void>;
26
+ deprecated(name: string, args?: SkyLogDeprecatedArgs): void;
28
27
  /**
29
28
  * Logs a console error if the application's log level is `SkyLogLevel.Error`.
30
29
  * @param message The error message
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/core",
3
- "version": "11.27.0",
3
+ "version": "11.28.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -41,7 +41,7 @@
41
41
  "@angular/core": "^18.2.13",
42
42
  "@angular/platform-browser": "^18.2.13",
43
43
  "@angular/router": "^18.2.13",
44
- "@skyux/i18n": "11.27.0"
44
+ "@skyux/i18n": "11.28.0"
45
45
  },
46
46
  "dependencies": {
47
47
  "tslib": "^2.6.3"
@@ -0,0 +1,10 @@
1
+ import { SkyFileReaderService } from '@skyux/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare class SkyFileReaderTestingService extends SkyFileReaderService {
7
+ readAsDataURL(file: File): Promise<string>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SkyFileReaderTestingService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<SkyFileReaderTestingService>;
10
+ }
@@ -0,0 +1,12 @@
1
+ import { Provider } from '@angular/core';
2
+ /**
3
+ * Provides mocks for file reader testing.
4
+ * @internal
5
+ * @example
6
+ * ```typescript
7
+ * TestBed.configureTestingModule({
8
+ * providers: [provideSkyFileReaderTesting()]
9
+ * });
10
+ * ```
11
+ */
12
+ export declare function provideSkyFileReaderTesting(): Provider[];
@@ -2,6 +2,7 @@ export { SkyCoreTestingModule } from './legacy/core-testing.module';
2
2
  export { MockSkyMediaQueryService } from './legacy/mock-media-query.service';
3
3
  export { MockSkyUIConfigService } from './legacy/mock-ui-config.service';
4
4
  export { mockResizeObserver, mockResizeObserverEntry, mockResizeObserverHandle, } from './legacy/resize-observer-mock';
5
+ export { provideSkyFileReaderTesting } from './modules/file-reader/provide-file-reader-testing';
5
6
  export { SkyHelpTestingController } from './modules/help/help-testing-controller';
6
7
  export { SkyHelpTestingModule } from './modules/help/help-testing.module';
7
8
  export { SkyMediaQueryTestingController } from './modules/media-query/media-query-testing-controller';