@skyux/tabs 6.12.0 → 6.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.
@@ -5506,7 +5506,7 @@
5506
5506
  {
5507
5507
  "fileName": "tabs-demo.component.html",
5508
5508
  "filePath": "/projects/tabs/documentation/code-examples/tabs/counts/tabs-demo.component.html",
5509
- "rawContents": "<sky-tabset ariaLabel=\"Tab demonstration\">\n <sky-tab [tabHeaderCount]=\"25012\" [tabHeading]=\"'Tab 1'\">\n A list containing 25012 items\n </sky-tab>\n <sky-tab [tabHeaderCount]=\"280\" [tabHeading]=\"'Tab 2'\">\n A list containing 280 items\n </sky-tab>\n <sky-tab [tabHeading]=\"'Tab 3'\">\n This tab doesn't have a list of items\n </sky-tab>\n</sky-tabset>\n"
5509
+ "rawContents": "<sky-tabset ariaLabel=\"Tab demonstration\">\n <sky-tab [tabHeaderCount]=\"'25012'\" [tabHeading]=\"'Tab 1'\">\n A list containing 25012 items\n </sky-tab>\n <sky-tab [tabHeaderCount]=\"'280'\" [tabHeading]=\"'Tab 2'\">\n A list containing 280 items\n </sky-tab>\n <sky-tab [tabHeading]=\"'Tab 3'\">\n This tab doesn't have a list of items\n </sky-tab>\n</sky-tabset>\n"
5510
5510
  },
5511
5511
  {
5512
5512
  "fileName": "tabs-demo.component.ts",
@@ -5541,7 +5541,7 @@
5541
5541
  {
5542
5542
  "fileName": "tabs-demo.component.ts",
5543
5543
  "filePath": "/projects/tabs/documentation/code-examples/tabs/dynamic/tabs-demo.component.ts",
5544
- "rawContents": "import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-tabs-demo',\n templateUrl: './tabs-demo.component.html',\n})\nexport class TabsDemoComponent {\n public tabArray = [\n {\n tabHeading: 'Tab 1',\n tabContent: 'A list containing 25012 items',\n tabHeaderCount: 25012,\n },\n {\n tabHeading: 'Tab 2',\n tabContent: 'A list containing 280 items',\n tabHeaderCount: 280,\n },\n {\n tabHeading: 'Tab 3',\n tabContent: \"This tab doesn't have a list of items\",\n },\n ];\n}\n"
5544
+ "rawContents": "import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-tabs-demo',\n templateUrl: './tabs-demo.component.html',\n})\nexport class TabsDemoComponent {\n public tabArray = [\n {\n tabHeading: 'Tab 1',\n tabContent: 'A list containing 25012 items',\n tabHeaderCount: '25012',\n },\n {\n tabHeading: 'Tab 2',\n tabContent: 'A list containing 280 items',\n tabHeaderCount: '280',\n },\n {\n tabHeading: 'Tab 3',\n tabContent: \"This tab doesn't have a list of items\",\n },\n ];\n}\n"
5545
5545
  },
5546
5546
  {
5547
5547
  "fileName": "tabs-demo.module.ts",
@@ -5581,7 +5581,7 @@
5581
5581
  {
5582
5582
  "fileName": "vertical-tabs-demo.component.html",
5583
5583
  "filePath": "/projects/tabs/documentation/code-examples/vertical-tabs/basic/vertical-tabs-demo.component.html",
5584
- "rawContents": "<sky-vertical-tabset>\n <sky-vertical-tab tabHeading=\"Tab 1\"> Tab 1 content </sky-vertical-tab>\n <sky-vertical-tab tabHeading=\"Tab 2\" active=\"true\">\n Tab 2 content\n </sky-vertical-tab>\n <sky-vertical-tab tabHeading=\"Tab 3\"> Tab 3 content </sky-vertical-tab>\n</sky-vertical-tabset>\n"
5584
+ "rawContents": "<sky-vertical-tabset>\n <sky-vertical-tab tabHeading=\"Tab 1\"> Tab 1 content </sky-vertical-tab>\n <sky-vertical-tab tabHeading=\"Tab 2\" [active]=\"true\">\n Tab 2 content\n </sky-vertical-tab>\n <sky-vertical-tab tabHeading=\"Tab 3\"> Tab 3 content </sky-vertical-tab>\n</sky-vertical-tabset>\n"
5585
5585
  },
5586
5586
  {
5587
5587
  "fileName": "vertical-tabs-demo.component.ts",
@@ -5616,7 +5616,7 @@
5616
5616
  {
5617
5617
  "fileName": "wizard-demo-modal.component.ts",
5618
5618
  "filePath": "/projects/tabs/documentation/code-examples/wizard/basic/wizard-demo-modal.component.ts",
5619
- "rawContents": "import { Component, OnInit } from '@angular/core';\nimport {\n FormBuilder,\n FormControl,\n FormGroup,\n Validators,\n} from '@angular/forms';\nimport { SkyModalInstance } from '@skyux/modals';\n\n@Component({\n selector: 'app-wizard-demo-modal',\n templateUrl: './wizard-demo-modal.component.html',\n})\nexport class WizardDemoModalComponent implements OnInit {\n constructor(\n public instance: SkyModalInstance,\n private formBuilder: FormBuilder\n ) {}\n\n public newMemberForm: FormGroup;\n public title = 'New Member Sign-up';\n public activeIndex = 0;\n public step2Disabled = true;\n public step3Disabled = true;\n public saveDisabled = true;\n\n public firstName: FormControl;\n public middleName: FormControl;\n public lastName: FormControl;\n public phoneNumber: FormControl;\n public email: FormControl;\n public termsAccepted: FormControl;\n public mailingList: FormControl;\n\n public ngOnInit(): void {\n this.firstName = new FormControl('', Validators.required);\n this.middleName = new FormControl();\n this.lastName = new FormControl('', Validators.required);\n this.phoneNumber = new FormControl('', Validators.required);\n this.email = new FormControl('', Validators.required);\n this.termsAccepted = new FormControl(false);\n this.mailingList = new FormControl(false);\n\n this.newMemberForm = this.formBuilder.group({\n firstName: this.firstName,\n middleName: this.middleName,\n lastName: this.lastName,\n phoneNumber: this.phoneNumber,\n email: this.email,\n termsAccepted: this.termsAccepted,\n mailingList: this.mailingList,\n });\n\n this.newMemberForm.valueChanges.subscribe(() => {\n this.checkRequirementsMet();\n });\n }\n\n public checkRequirementsMet(): void {\n this.step2Disabled = !(\n this.newMemberForm.get('firstName').value &&\n this.newMemberForm.get('lastName').value\n );\n this.step3Disabled = !(\n this.newMemberForm.get('phoneNumber').value &&\n this.newMemberForm.get('phoneNumber').valid &&\n this.newMemberForm.get('email').value\n );\n this.saveDisabled = !this.newMemberForm.get('termsAccepted').value;\n }\n\n public onCancelClick(): void {\n this.instance.cancel();\n }\n\n public onSave(): void {\n this.instance.save();\n }\n}\n"
5619
+ "rawContents": "import { Component, OnInit } from '@angular/core';\nimport {\n FormBuilder,\n FormControl,\n FormGroup,\n Validators,\n} from '@angular/forms';\nimport { SkyModalInstance } from '@skyux/modals';\nimport { SkyTabIndex } from '@skyux/tabs';\n\n@Component({\n selector: 'app-wizard-demo-modal',\n templateUrl: './wizard-demo-modal.component.html',\n})\nexport class WizardDemoModalComponent implements OnInit {\n constructor(\n public instance: SkyModalInstance,\n private formBuilder: FormBuilder\n ) {}\n\n public newMemberForm: FormGroup;\n public title = 'New Member Sign-up';\n public activeIndex: SkyTabIndex = 0;\n public step2Disabled = true;\n public step3Disabled = true;\n public saveDisabled = true;\n\n public firstName: FormControl;\n public middleName: FormControl;\n public lastName: FormControl;\n public phoneNumber: FormControl;\n public email: FormControl;\n public termsAccepted: FormControl;\n public mailingList: FormControl;\n\n public ngOnInit(): void {\n this.firstName = new FormControl('', Validators.required);\n this.middleName = new FormControl();\n this.lastName = new FormControl('', Validators.required);\n this.phoneNumber = new FormControl('', Validators.required);\n this.email = new FormControl('', Validators.required);\n this.termsAccepted = new FormControl(false);\n this.mailingList = new FormControl(false);\n\n this.newMemberForm = this.formBuilder.group({\n firstName: this.firstName,\n middleName: this.middleName,\n lastName: this.lastName,\n phoneNumber: this.phoneNumber,\n email: this.email,\n termsAccepted: this.termsAccepted,\n mailingList: this.mailingList,\n });\n\n this.newMemberForm.valueChanges.subscribe(() => {\n this.checkRequirementsMet();\n });\n }\n\n public checkRequirementsMet(): void {\n this.step2Disabled = !(\n this.newMemberForm.get('firstName').value &&\n this.newMemberForm.get('lastName').value\n );\n this.step3Disabled = !(\n this.newMemberForm.get('phoneNumber').value &&\n this.newMemberForm.get('phoneNumber').valid &&\n this.newMemberForm.get('email').value\n );\n this.saveDisabled = !this.newMemberForm.get('termsAccepted').value;\n }\n\n public onCancelClick(): void {\n this.instance.cancel();\n }\n\n public onSave(): void {\n this.instance.save();\n }\n}\n"
5620
5620
  },
5621
5621
  {
5622
5622
  "fileName": "wizard-demo.component.html",
@@ -5631,7 +5631,7 @@
5631
5631
  {
5632
5632
  "fileName": "wizard-demo.module.ts",
5633
5633
  "filePath": "/projects/tabs/documentation/code-examples/wizard/basic/wizard-demo.module.ts",
5634
- "rawContents": "import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { SkyIdModule } from '@skyux/core';\nimport { SkyCheckboxModule, SkyInputBoxModule } from '@skyux/forms';\nimport { SkyFluidGridModule } from '@skyux/layout';\nimport { SkyModalModule } from '@skyux/modals';\nimport { SkyPhoneFieldModule } from '@skyux/phone-field';\nimport { SkyTabsModule } from '@skyux/tabs';\nimport { SkyThemeModule } from '@skyux/theme';\n\nimport { WizardDemoModalComponent } from './wizard-demo-modal.component';\nimport { WizardDemoComponent } from './wizard-demo.component';\n\n@NgModule({\n declarations: [WizardDemoComponent, WizardDemoModalComponent],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyCheckboxModule,\n SkyFluidGridModule,\n SkyIdModule,\n SkyInputBoxModule,\n SkyModalModule,\n SkyPhoneFieldModule,\n SkyTabsModule,\n SkyThemeModule,\n ],\n})\nexport class WizardDemoModule {}\n"
5634
+ "rawContents": "import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { SkyIdModule } from '@skyux/core';\nimport { SkyCheckboxModule, SkyInputBoxModule } from '@skyux/forms';\nimport { SkyFluidGridModule } from '@skyux/layout';\nimport { SkyModalModule } from '@skyux/modals';\nimport { SkyPhoneFieldModule } from '@skyux/phone-field';\nimport { SkyTabsModule } from '@skyux/tabs';\nimport { SkyThemeModule } from '@skyux/theme';\n\nimport { WizardDemoModalComponent } from './wizard-demo-modal.component';\nimport { WizardDemoComponent } from './wizard-demo.component';\n\n@NgModule({\n declarations: [WizardDemoComponent, WizardDemoModalComponent],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n SkyCheckboxModule,\n SkyFluidGridModule,\n SkyIdModule,\n SkyInputBoxModule,\n SkyModalModule,\n SkyPhoneFieldModule,\n SkyTabsModule,\n SkyThemeModule,\n ],\n exports: [WizardDemoComponent],\n})\nexport class WizardDemoModule {}\n"
5635
5635
  }
5636
5636
  ]
5637
5637
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/tabs",
3
- "version": "6.12.0",
3
+ "version": "6.15.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -45,14 +45,14 @@
45
45
  "@angular/core": "^13.3.2",
46
46
  "@angular/platform-browser": "^13.3.2",
47
47
  "@angular/router": "^13.3.2",
48
- "@skyux-sdk/testing": "6.12.0",
49
- "@skyux/animations": "6.12.0",
50
- "@skyux/core": "6.12.0",
51
- "@skyux/forms": "6.12.0",
52
- "@skyux/i18n": "6.12.0",
53
- "@skyux/indicators": "6.12.0",
54
- "@skyux/popovers": "6.12.0",
55
- "@skyux/theme": "6.12.0"
48
+ "@skyux-sdk/testing": "6.15.0",
49
+ "@skyux/animations": "6.15.0",
50
+ "@skyux/core": "6.15.0",
51
+ "@skyux/forms": "6.15.0",
52
+ "@skyux/i18n": "6.15.0",
53
+ "@skyux/indicators": "6.15.0",
54
+ "@skyux/popovers": "6.15.0",
55
+ "@skyux/theme": "6.15.0"
56
56
  },
57
57
  "dependencies": {
58
58
  "tslib": "^2.3.1"