@skyux/avatar 9.0.0-alpha.0 → 9.0.0-alpha.1

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.
@@ -660,9 +660,9 @@
660
660
  },
661
661
  "codeExamples": [
662
662
  {
663
- "fileName": "avatar-demo.component.html",
664
- "filePath": "/projects/avatar/documentation/code-examples/avatar/avatar-demo.component.html",
665
- "rawContents": "<sky-avatar\n [canChange]=\"true\"\n [name]=\"name\"\n [src]=\"avatarUrl\"\n (avatarChanged)=\"updateSrc($event)\"\n>\n</sky-avatar>\n"
663
+ "fileName": "avatar-demo.module.ts",
664
+ "filePath": "/projects/avatar/documentation/code-examples/avatar/avatar-demo.module.ts",
665
+ "rawContents": "import { NgModule } from '@angular/core';\nimport { SkyAvatarModule } from '@skyux/avatar';\n\nimport { AvatarDemoComponent } from './avatar-demo.component';\n\n@NgModule({\n declarations: [AvatarDemoComponent],\n imports: [SkyAvatarModule],\n exports: [AvatarDemoComponent],\n})\nexport class AvatarDemoModule {}\n"
666
666
  },
667
667
  {
668
668
  "fileName": "avatar-demo.component.ts",
@@ -670,9 +670,9 @@
670
670
  "rawContents": "import { Component } from '@angular/core';\nimport { SkyFileItem } from '@skyux/forms';\n\n@Component({\n selector: 'app-avatar-demo',\n templateUrl: './avatar-demo.component.html',\n})\nexport class AvatarDemoComponent {\n public avatarUrl: string | File = 'https://imgur.com/tBiGElW.png';\n\n public name = 'Robert C. Hernandez';\n\n public updateSrc(fileItem: SkyFileItem): void {\n /*\n This is where you might upload the new avatar,\n but for this demo we'll just update it locally.\n */\n if (fileItem) {\n this.avatarUrl = fileItem.file;\n }\n }\n}\n"
671
671
  },
672
672
  {
673
- "fileName": "avatar-demo.module.ts",
674
- "filePath": "/projects/avatar/documentation/code-examples/avatar/avatar-demo.module.ts",
675
- "rawContents": "import { NgModule } from '@angular/core';\nimport { SkyAvatarModule } from '@skyux/avatar';\n\nimport { AvatarDemoComponent } from './avatar-demo.component';\n\n@NgModule({\n declarations: [AvatarDemoComponent],\n imports: [SkyAvatarModule],\n exports: [AvatarDemoComponent],\n})\nexport class AvatarDemoModule {}\n"
673
+ "fileName": "avatar-demo.component.html",
674
+ "filePath": "/projects/avatar/documentation/code-examples/avatar/avatar-demo.component.html",
675
+ "rawContents": "<sky-avatar\n [canChange]=\"true\"\n [name]=\"name\"\n [src]=\"avatarUrl\"\n (avatarChanged)=\"updateSrc($event)\"\n>\n</sky-avatar>\n"
676
676
  }
677
677
  ]
678
678
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/avatar",
3
- "version": "9.0.0-alpha.0",
3
+ "version": "9.0.0-alpha.1",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -39,12 +39,12 @@
39
39
  "@angular/common": "^16.1.7",
40
40
  "@angular/core": "^16.1.7",
41
41
  "@angular/platform-browser": "^16.1.7",
42
- "@skyux-sdk/testing": "9.0.0-alpha.0",
43
- "@skyux/core": "9.0.0-alpha.0",
44
- "@skyux/errors": "9.0.0-alpha.0",
45
- "@skyux/forms": "9.0.0-alpha.0",
46
- "@skyux/i18n": "9.0.0-alpha.0",
47
- "@skyux/theme": "9.0.0-alpha.0"
42
+ "@skyux-sdk/testing": "9.0.0-alpha.1",
43
+ "@skyux/core": "9.0.0-alpha.1",
44
+ "@skyux/errors": "9.0.0-alpha.1",
45
+ "@skyux/forms": "9.0.0-alpha.1",
46
+ "@skyux/i18n": "9.0.0-alpha.1",
47
+ "@skyux/theme": "9.0.0-alpha.1"
48
48
  },
49
49
  "dependencies": {
50
50
  "tslib": "^2.5.0"