@skyux/forms 10.10.0 → 10.11.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.
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
1
+ import { EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { Subject } from 'rxjs';
4
4
  import { SkyRadioChange } from './types/radio-change';
@@ -78,6 +78,19 @@ export declare class SkyRadioComponent implements OnInit, OnDestroy, ControlValu
78
78
  */
79
79
  set value(value: any);
80
80
  get value(): any;
81
+ /**
82
+ * The content of the help popover. When specified along with `labelText`, a [help inline](https://developer.blackbaud.com/skyux/components/help-inline)
83
+ * button is added to radio button. The help inline button displays a [popover](https://developer.blackbaud.com/skyux/components/popover)
84
+ * when clicked using the specified content and optional title.
85
+ * @preview
86
+ */
87
+ helpPopoverContent: string | TemplateRef<unknown> | undefined;
88
+ /**
89
+ * The title of the help popover. This property only applies when `helpPopoverContent` is
90
+ * also specified.
91
+ * @preview
92
+ */
93
+ helpPopoverTitle: string | undefined;
81
94
  /**
82
95
  * The icon to display in place of the radio button. To group radio buttons like in
83
96
  * the demo above, place the `sky-switch-icon-group` class on the direct parent element of the
@@ -143,6 +156,6 @@ export declare class SkyRadioComponent implements OnInit, OnDestroy, ControlValu
143
156
  onInputChange(event: Event): void;
144
157
  onInputFocusChange(): void;
145
158
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyRadioComponent, never>;
146
- static ɵcmp: i0.ɵɵComponentDeclaration<SkyRadioComponent, "sky-radio", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelledBy": { "alias": "labelledBy"; "required": false; }; "name": { "alias": "name"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "value": { "alias": "value"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "radioType": { "alias": "radioType"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "labelHidden": { "alias": "labelHidden"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; }, { "change": "change"; "checkedChange": "checkedChange"; "disabledChange": "disabledChange"; }, never, ["sky-radio-label"], false, never>;
159
+ static ɵcmp: i0.ɵɵComponentDeclaration<SkyRadioComponent, "sky-radio", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelledBy": { "alias": "labelledBy"; "required": false; }; "name": { "alias": "name"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "value": { "alias": "value"; "required": false; }; "helpPopoverContent": { "alias": "helpPopoverContent"; "required": false; }; "helpPopoverTitle": { "alias": "helpPopoverTitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "radioType": { "alias": "radioType"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "labelHidden": { "alias": "labelHidden"; "required": false; }; "hintText": { "alias": "hintText"; "required": false; }; }, { "change": "change"; "checkedChange": "checkedChange"; "disabledChange": "disabledChange"; }, never, ["sky-radio-label"], false, never>;
147
160
  static ngAcceptInputType_labelHidden: unknown;
148
161
  }
@@ -6,11 +6,12 @@ import * as i4 from "@angular/common";
6
6
  import * as i5 from "@angular/forms";
7
7
  import * as i6 from "../form-error/form-error.module";
8
8
  import * as i7 from "../form-error/form-errors.module";
9
- import * as i8 from "@skyux/indicators";
10
- import * as i9 from "@skyux/core";
11
- import * as i10 from "../shared/sky-forms-resources.module";
9
+ import * as i8 from "@skyux/help-inline";
10
+ import * as i9 from "@skyux/indicators";
11
+ import * as i10 from "@skyux/core";
12
+ import * as i11 from "../shared/sky-forms-resources.module";
12
13
  export declare class SkyRadioModule {
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyRadioModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<SkyRadioModule, [typeof i1.SkyRadioComponent, typeof i2.SkyRadioGroupComponent, typeof i3.SkyRadioLabelComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.SkyFormErrorModule, typeof i7.SkyFormErrorsModule, typeof i8.SkyIconModule, typeof i9.SkyIdModule, typeof i10.SkyFormsResourcesModule, typeof i9.SkyTrimModule], [typeof i6.SkyFormErrorModule, typeof i1.SkyRadioComponent, typeof i2.SkyRadioGroupComponent, typeof i3.SkyRadioLabelComponent]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SkyRadioModule, [typeof i1.SkyRadioComponent, typeof i2.SkyRadioGroupComponent, typeof i3.SkyRadioLabelComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.SkyFormErrorModule, typeof i7.SkyFormErrorsModule, typeof i8.SkyHelpInlineModule, typeof i9.SkyIconModule, typeof i10.SkyIdModule, typeof i11.SkyFormsResourcesModule, typeof i10.SkyTrimModule], [typeof i6.SkyFormErrorModule, typeof i1.SkyRadioComponent, typeof i2.SkyRadioGroupComponent, typeof i3.SkyRadioLabelComponent]>;
15
16
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyRadioModule>;
16
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/forms",
3
- "version": "10.10.0",
3
+ "version": "10.11.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -41,13 +41,13 @@
41
41
  "@angular/core": "^17.3.4",
42
42
  "@angular/forms": "^17.3.4",
43
43
  "@angular/platform-browser": "^17.3.4",
44
- "@skyux-sdk/testing": "10.10.0",
45
- "@skyux/core": "10.10.0",
46
- "@skyux/help-inline": "10.10.0",
47
- "@skyux/i18n": "10.10.0",
48
- "@skyux/indicators": "10.10.0",
49
- "@skyux/popovers": "10.10.0",
50
- "@skyux/theme": "10.10.0"
44
+ "@skyux-sdk/testing": "10.11.0",
45
+ "@skyux/core": "10.11.0",
46
+ "@skyux/help-inline": "10.11.0",
47
+ "@skyux/i18n": "10.11.0",
48
+ "@skyux/indicators": "10.11.0",
49
+ "@skyux/popovers": "10.11.0",
50
+ "@skyux/theme": "10.11.0"
51
51
  },
52
52
  "dependencies": {
53
53
  "tslib": "^2.6.2"