@progress/kendo-angular-buttons 19.1.1-develop.2 → 19.1.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.
Files changed (61) hide show
  1. package/button/button.component.d.ts +26 -22
  2. package/button/button.module.d.ts +8 -18
  3. package/button/selection-settings.d.ts +4 -1
  4. package/buttongroup/buttongroup.component.d.ts +22 -18
  5. package/buttongroup/buttongroup.module.d.ts +18 -1
  6. package/buttons.module.d.ts +3 -13
  7. package/chip/chip-list.component.d.ts +19 -13
  8. package/chip/chip.component.d.ts +32 -46
  9. package/chip/chip.module.d.ts +8 -15
  10. package/chip/models/avatar-settings.interface.d.ts +9 -9
  11. package/chip/models/selection.d.ts +0 -1
  12. package/common/models/arrow-settings.d.ts +4 -4
  13. package/common/models/fillmode.d.ts +2 -2
  14. package/common/models/rounded.d.ts +2 -2
  15. package/common/models/size.d.ts +2 -3
  16. package/common/models/theme-color.d.ts +20 -19
  17. package/directives.d.ts +88 -8
  18. package/dropdownbutton/dropdownbutton.component.d.ts +38 -76
  19. package/dropdownbutton/dropdownbutton.module.d.ts +20 -4
  20. package/esm2022/button/button.component.mjs +28 -24
  21. package/esm2022/button/button.module.mjs +8 -18
  22. package/esm2022/buttongroup/buttongroup.component.mjs +22 -18
  23. package/esm2022/buttongroup/buttongroup.module.mjs +18 -1
  24. package/esm2022/buttons.module.mjs +3 -13
  25. package/esm2022/chip/chip-list.component.mjs +19 -13
  26. package/esm2022/chip/chip.component.mjs +34 -48
  27. package/esm2022/chip/chip.module.mjs +8 -15
  28. package/esm2022/directives.mjs +88 -8
  29. package/esm2022/dropdownbutton/dropdownbutton.component.mjs +38 -76
  30. package/esm2022/dropdownbutton/dropdownbutton.module.mjs +20 -4
  31. package/esm2022/floatingactionbutton/floatingactionbutton.component.mjs +33 -75
  32. package/esm2022/floatingactionbutton/floatingactionbutton.module.mjs +9 -17
  33. package/esm2022/floatingactionbutton/templates/dial-item-template.directive.mjs +12 -4
  34. package/esm2022/floatingactionbutton/templates/fab-template.directive.mjs +12 -3
  35. package/esm2022/listbutton/button-item-template.directive.mjs +15 -37
  36. package/esm2022/listbutton/list-button.mjs +12 -14
  37. package/esm2022/package-metadata.mjs +2 -2
  38. package/esm2022/splitbutton/localization/custom-messages.component.mjs +2 -2
  39. package/esm2022/splitbutton/localization/messages.mjs +14 -15
  40. package/esm2022/splitbutton/splitbutton.component.mjs +35 -135
  41. package/esm2022/splitbutton/splitbutton.module.mjs +3 -2
  42. package/fesm2022/progress-kendo-angular-buttons.mjs +435 -544
  43. package/floatingactionbutton/floatingactionbutton.component.d.ts +33 -75
  44. package/floatingactionbutton/floatingactionbutton.module.d.ts +9 -16
  45. package/floatingactionbutton/models/align.d.ts +6 -1
  46. package/floatingactionbutton/models/item-animation.interface.d.ts +6 -1
  47. package/floatingactionbutton/models/item-click.event.d.ts +8 -1
  48. package/floatingactionbutton/models/item.interface.d.ts +6 -6
  49. package/floatingactionbutton/models/offset.d.ts +7 -2
  50. package/floatingactionbutton/models/position-mode.d.ts +5 -5
  51. package/floatingactionbutton/templates/dial-item-template.directive.d.ts +12 -4
  52. package/floatingactionbutton/templates/fab-template.directive.d.ts +12 -3
  53. package/listbutton/button-item-template.directive.d.ts +15 -37
  54. package/listbutton/list-button.d.ts +12 -14
  55. package/listbutton/list-item-model.d.ts +12 -24
  56. package/listbutton/popup-settings.d.ts +17 -12
  57. package/package.json +7 -7
  58. package/splitbutton/localization/custom-messages.component.d.ts +2 -2
  59. package/splitbutton/localization/messages.d.ts +14 -15
  60. package/splitbutton/splitbutton.component.d.ts +35 -135
  61. package/splitbutton/splitbutton.module.d.ts +2 -1
@@ -13,7 +13,12 @@ import * as i0 from "@angular/core";
13
13
  * Represents the Kendo UI Button component for Angular.
14
14
  *
15
15
  * As of package v17, the `span[kendoButton]` and `kendo-button` selectors are removed.
16
- * Please use the `button[kendoButton]` selector only.
16
+ * Use the `button[kendoButton]` selector only.
17
+ *
18
+ * @example
19
+ * ```html
20
+ * <button kendoButton [icon]="'save'" [themeColor]="'primary'">Save</button>
21
+ * ```
17
22
  */
18
23
  export declare class ButtonComponent implements OnDestroy, AfterViewInit {
19
24
  renderer: Renderer2;
@@ -26,7 +31,7 @@ export declare class ButtonComponent implements OnDestroy, AfterViewInit {
26
31
  */
27
32
  arrowIcon: boolean | ArrowIconSettings;
28
33
  /**
29
- * Provides visual styling that indicates if the Button is active.
34
+ * Adds visual styling to indicate when the Button is active.
30
35
  *
31
36
  * @default false
32
37
  */
@@ -43,6 +48,7 @@ export declare class ButtonComponent implements OnDestroy, AfterViewInit {
43
48
  set togglable(value: boolean);
44
49
  /**
45
50
  * Sets the selected state of the Button.
51
+ * Use with the `toggleable` property.
46
52
  *
47
53
  * @default false
48
54
  */
@@ -54,74 +60,72 @@ export declare class ButtonComponent implements OnDestroy, AfterViewInit {
54
60
  set tabIndex(index: number);
55
61
  get tabIndex(): number;
56
62
  /**
57
- * Defines a URL which is used for an `img` element inside the Button.
63
+ * Specifies a URL for an `img` element inside the Button.
58
64
  * The URL can be relative or absolute. If relative, it is evaluated with relation to the web page URL.
59
65
  */
60
66
  imageUrl: string;
61
67
  /**
62
- * Defines a CSS class&mdash;or multiple classes separated by spaces&mdash;
63
- * which are applied to a `span` element inside the Button. Allows the usage of custom icons.
68
+ * Defines a CSS class, or multiple classes separated by spaces applied to a `span` element inside the Button. Use the `iconClass` to add custom icons.
64
69
  */
65
70
  set iconClass(value: string);
66
71
  get iconClass(): string;
67
72
  /**
68
- * Defines the name for an existing font icon in the Kendo UI theme.
73
+ * Sets the name of an existing font icon in the Kendo UI theme.
69
74
  */
70
75
  set icon(name: string);
71
76
  get icon(): string;
72
77
  /**
73
- * If set to `true`, it disables the Button.
78
+ * When `true`, disables the Button and prevents user interaction.
74
79
  *
75
80
  * @default false
76
81
  */
77
82
  set disabled(disabled: boolean);
78
83
  get disabled(): boolean;
79
84
  /**
80
- * The size property specifies the padding of the Button
81
- * ([see example]({% slug appearance_button %}#toc-size)).
85
+ * Sets the padding of the Button.
86
+ * See [Button Appearance]({% slug appearance_button %}#size).
82
87
  *
83
88
  * @default 'medium'
84
89
  */
85
90
  set size(size: ButtonSize);
86
91
  get size(): ButtonSize;
87
92
  /**
88
- * The rounded property specifies the border radius of the Button
89
- * ([see example](slug:appearance_button#toc-roundness)).
93
+ * Sets the border radius of the Button.
94
+ * See [Button Appearance](slug:appearance_button#roundness).
90
95
  *
91
96
  * @default 'medium'
92
97
  */
93
98
  set rounded(rounded: ButtonRounded);
94
99
  get rounded(): ButtonRounded;
95
100
  /**
96
- * The fillMode property specifies the background and border styles of the Button
97
- * ([see example](slug:appearance_button#toc-fill-mode)).
101
+ * Sets the background and border styles of the Button.
102
+ * See [Button Appearance](slug:appearance_button#fill-mode).
98
103
  *
99
104
  * @default 'solid'
100
105
  */
101
106
  set fillMode(fillMode: ButtonFillMode);
102
107
  get fillMode(): ButtonFillMode;
103
108
  /**
104
- * The Button allows you to specify predefined theme colors.
105
- * The theme color will be applied as a background and border color while also amending the text color accordingly
106
- * ([see example](slug:appearance_button#toc-theme-colors)).
109
+ * Sets a predefined theme color for the Button.
110
+ * The theme color applies as a background and border color and adjusts the text color.
111
+ * See [Button Appearance](slug:appearance_button#theme-colors).
107
112
  *
108
113
  * @default 'base'
109
114
  */
110
115
  set themeColor(themeColor: ButtonThemeColor);
111
116
  get themeColor(): ButtonThemeColor;
112
117
  /**
113
- * Defines an SVGIcon to be rendered within the button.
118
+ * Sets an SVG icon to display inside the Button.
114
119
  */
115
120
  set svgIcon(icon: SVGIcon);
116
121
  get svgIcon(): SVGIcon;
117
122
  /**
118
- * Fires each time the selected state of a toggleable button is changed.
119
- *
120
- * The event argument is the new selected state (boolean).
123
+ * Fires when the selected state of a toggleable button changes.
124
+ * The event argument is the new selected state (`boolean`).
121
125
  */
122
126
  selectedChange: EventEmitter<any>;
123
127
  /**
124
- * Fires each time the user clicks the button.
128
+ * Fires when the user clicks the Button.
125
129
  */
126
130
  click: EventEmitter<any>;
127
131
  element: HTMLElement;
@@ -183,7 +187,7 @@ export declare class ButtonComponent implements OnDestroy, AfterViewInit {
183
187
  */
184
188
  focus(): void;
185
189
  /**
186
- * Blurs the Button component.
190
+ * Removes focus from the Button component.
187
191
  */
188
192
  blur(): void;
189
193
  /**
@@ -8,31 +8,21 @@ import * as i1 from "./button.component";
8
8
  * Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
9
9
  * definition for the Button directive.
10
10
  *
11
- * @example
11
+ * Required for adding Button features in NgModule-based Angular applications.
12
12
  *
13
- * ```ts-no-run
14
- * // Import the Button module
13
+ * @example
14
+ * ```typescript
15
15
  * import { ButtonModule } from '@progress/kendo-angular-buttons';
16
- *
17
- * // The browser platform with a compiler
18
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
19
- *
20
16
  * import { NgModule } from '@angular/core';
21
- *
22
- * // Import the app component
17
+ * import { BrowserModule } from '@angular/platform-browser';
23
18
  * import { AppComponent } from './app.component';
24
19
  *
25
- * // Define the app module
26
- * _@NgModule({
27
- * declarations: [AppComponent], // declare app component
28
- * imports: [BrowserModule, ButtonModule], // import Button module
29
- * bootstrap: [AppComponent]
20
+ * @NgModule({
21
+ * declarations: [AppComponent],
22
+ * imports: [BrowserModule, ButtonModule],
23
+ * bootstrap: [AppComponent]
30
24
  * })
31
25
  * export class AppModule {}
32
- *
33
- * // Compile and launch the module
34
- * platformBrowserDynamic().bootstrapModule(AppModule);
35
- *
36
26
  * ```
37
27
  */
38
28
  export declare class ButtonModule {
@@ -3,6 +3,9 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * The selection mode of the [ButtonGroup]({% slug api_buttons_buttongroupcomponent %}).
6
+ * Specifies the selection mode of the [ButtonGroup]({% slug api_buttons_buttongroupcomponent %}).
7
+ *
8
+ * - Use `'single'` to allow only one button to be selected at a time.
9
+ * - Use `'multiple'` to allow multiple buttons to be selected at the same time.
7
10
  */
8
11
  export type ButtonGroupSelection = 'single' | 'multiple';
@@ -11,34 +11,38 @@ import { PreventableEvent } from '../preventable-event';
11
11
  import * as i0 from "@angular/core";
12
12
  /**
13
13
  * Represents the Kendo UI ButtonGroup component for Angular.
14
+ *
15
+ * @example
16
+ * ```html
17
+ * <kendo-buttongroup>
18
+ * <button kendoButton>Left</button>
19
+ * <button kendoButton>Middle</button>
20
+ * <button kendoButton>Right</button>
21
+ * </kendo-buttongroup>
22
+ * ```
23
+ *
24
+ * @remarks
25
+ * Supported children components are: {@link ButtonComponent}.
14
26
  */
15
27
  export declare class ButtonGroupComponent implements OnInit, OnDestroy, AfterContentChecked, AfterViewChecked, AfterContentInit {
16
28
  private service;
17
29
  private renderer;
18
30
  private element;
19
31
  /**
20
- * By default, the ButtonGroup is enabled.
21
- * To disable the whole group of buttons, set its `disabled` attribute to `true`.
22
- *
23
- * To disable a specific button, set its own `disabled` attribute to `true`
24
- * and leave the `disabled` attribute of the ButtonGroup undefined.
25
- * If you define the `disabled` attribute of the ButtonGroup, it will take
26
- * precedence over the `disabled` attributes of the underlying buttons and they will be ignored.
27
- *
28
- * For more information on how to configure the Button, refer to
29
- * its [API documentation]({% slug api_buttons_buttoncomponent %}).
32
+ * To disable a specific button, set **only** its `disabled` property to `true`.
33
+ * If you also set the ButtonGroup `disabled` property, it takes precedence over
34
+ * the `disabled` properties of the underlying buttons and they are ignored.
30
35
  */
31
36
  disabled: boolean;
32
37
  /**
33
- * The selection mode of the ButtonGroup.
38
+ * Sets the selection mode of the ButtonGroup.
39
+ *
34
40
  * @default 'multiple'
35
41
  */
36
42
  selection: ButtonGroupSelection;
37
43
  /**
38
44
  * Sets the width of the ButtonGroup.
39
- * If the width of the ButtonGroup is set:
40
- * - The buttons resize automatically to fill the full width of the group wrapper.
41
- * - The buttons acquire the same width.
45
+ * When set, the buttons resize automatically to fill the full width of the group wrapper and acquire the same width.
42
46
  */
43
47
  width: string;
44
48
  /**
@@ -47,16 +51,16 @@ export declare class ButtonGroupComponent implements OnInit, OnDestroy, AfterCon
47
51
  set tabIndex(value: number);
48
52
  get tabIndex(): number;
49
53
  /**
50
- * When this option is set to `true` (default), the component is a single tab-stop,
51
- * and focus is moved through the inner buttons via the arrow keys.
54
+ * When set to `true`, the component is a single tab-stop,
55
+ * and focus moves through the inner buttons using the arrow keys.
52
56
  *
53
- * When the option is set to `false`, the inner buttons are part of the natural tab sequence of the page.
57
+ * When set to `false`, the inner buttons are part of the natural tab sequence of the page.
54
58
  *
55
59
  * @default true
56
60
  */
57
61
  navigable: boolean;
58
62
  /**
59
- * Fires every time keyboard navigation occurs.
63
+ * Fires every time keyboard navigation occurs within the ButtonGroup.
60
64
  */
61
65
  navigate: EventEmitter<PreventableEvent>;
62
66
  buttons: QueryList<ButtonComponent>;
@@ -6,12 +6,29 @@ import * as i0 from "@angular/core";
6
6
  import * as i1 from "../button/button.component";
7
7
  import * as i2 from "./buttongroup.component";
8
8
  /**
9
+ * Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
10
+ * definition for the ButtonGroup directive.
9
11
  *
10
- * The exported package module.
12
+ * Required for adding ButtonGroup features in NgModule-based Angular applications.
11
13
  *
12
14
  * The package exports:
13
15
  * - `ButtonGroupComponent`&mdash;The ButtonGroup component class.
14
16
  * - `ButtonComponent`&mdash;The Button component class.
17
+ *
18
+ * @example
19
+ * ```typescript
20
+ * import { ButtonGroupModule } from '@progress/kendo-angular-buttons';
21
+ * import { NgModule } from '@angular/core';
22
+ * import { BrowserModule } from '@angular/platform-browser';
23
+ * import { AppComponent } from './app.component';
24
+ *
25
+ * @NgModule({
26
+ * declarations: [AppComponent],
27
+ * imports: [BrowserModule, ButtonGroupModule],
28
+ * bootstrap: [AppComponent]
29
+ * })
30
+ * export class AppModule {}
31
+ * ```
15
32
  */
16
33
  export declare class ButtonGroupModule {
17
34
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupModule, never>;
@@ -19,31 +19,21 @@ import * as i12 from "@progress/kendo-angular-common";
19
19
  * Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
20
20
  * definition for the Buttons components.
21
21
  *
22
+ * Required for adding all Button features in NgModule-based Angular applications.
23
+ *
22
24
  * @example
23
25
  *
24
26
  * ```ts-no-run
25
- * // Import the Buttons module
26
27
  * import { ButtonsModule } from '@progress/kendo-angular-buttons';
27
- *
28
- * // The browser platform with a compiler
29
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
30
- *
31
28
  * import { NgModule } from '@angular/core';
32
- *
33
- * // Import the app component
34
29
  * import { AppComponent } from './app.component';
35
30
  *
36
- * // Define the app module
37
- * _@NgModule({
31
+ * @NgModule({
38
32
  * declarations: [AppComponent], // declare app component
39
33
  * imports: [BrowserModule, ButtonsModule], // import Buttons module
40
34
  * bootstrap: [AppComponent]
41
35
  * })
42
36
  * export class AppModule {}
43
- *
44
- * // Compile and launch the module
45
- * platformBrowserDynamic().bootstrapModule(AppModule);
46
- *
47
37
  * ```
48
38
  */
49
39
  export declare class ButtonsModule {
@@ -9,6 +9,19 @@ import { ChipListSelection } from './models/selection';
9
9
  import { ChipListRemoveEvent } from './chip-list-remove-event-args.interface';
10
10
  import { ChipSize } from '../common/models';
11
11
  import * as i0 from "@angular/core";
12
+ /**
13
+ * Represents the Kendo UI ChipList component for Angular. Displays a list of Chip components.
14
+ *
15
+ * @example
16
+ * ```html
17
+ * <kendo-chiplist selection="multiple">
18
+ * <kendo-chip label="Chip 1"></kendo-chip>
19
+ * <kendo-chip label="Chip 2"></kendo-chip>
20
+ * </kendo-chiplist>
21
+ * ```
22
+ * @remarks
23
+ * Supported children components are: {@link ChipComponent}.
24
+ */
12
25
  export declare class ChipListComponent implements OnInit, AfterViewInit, AfterContentInit, OnDestroy {
13
26
  private localizationService;
14
27
  private renderer;
@@ -23,30 +36,23 @@ export declare class ChipListComponent implements OnInit, AfterViewInit, AfterCo
23
36
  /**
24
37
  * Sets the selection mode of the ChipList.
25
38
  *
26
- * The available values are:
27
- * * `none` (default)
28
- * * `single`
29
- * * `multiple`
39
+ * @default 'none'
30
40
  */
31
41
  selection: ChipListSelection;
32
42
  /**
33
- * The size property specifies the gap between the Chips in the ChipList
34
- * ([see example]({% slug appearance_chiplist %}#toc-size)).
43
+ * Sets the gap between the Chips in the ChipList.
44
+ * See [ChipList Appearance]({% slug appearance_chiplist %}#size).
35
45
  *
36
- * The possible values are:
37
- * * `'small'`
38
- * * `'medium'` (default)
39
- * * `'large'`
40
- * * `none`
46
+ * @default 'medium'
41
47
  */
42
48
  set size(size: ChipSize);
43
49
  get size(): ChipSize;
44
50
  /**
45
- * Fires each time when the ChipList selection is changed.
51
+ * Fires when the ChipList selection changes.
46
52
  */
47
53
  selectedChange: EventEmitter<any[]>;
48
54
  /**
49
- * Fires each time the user clicks on the remove icon of the Chip.
55
+ * Fires when the user clicks the remove icon of a Chip in the ChipList.
50
56
  */
51
57
  remove: EventEmitter<ChipListRemoveEvent>;
52
58
  chips: QueryList<ChipComponent>;
@@ -11,7 +11,12 @@ import { SVGIcon } from '@progress/kendo-svg-icons';
11
11
  import { ChipAvatarSettings } from './models/avatar-settings.interface';
12
12
  import * as i0 from "@angular/core";
13
13
  /**
14
- * Displays a Chip that represents an input, attribute or an action.
14
+ * Displays a Chip that represents an input, attribute, or action.
15
+ *
16
+ * @example
17
+ * ```html
18
+ * <kendo-chip label="Chip Label"></kendo-chip>
19
+ * ```
15
20
  */
16
21
  export declare class ChipComponent implements OnInit, AfterViewInit, OnChanges {
17
22
  element: ElementRef;
@@ -28,14 +33,13 @@ export declare class ChipComponent implements OnInit, AfterViewInit, OnChanges {
28
33
  */
29
34
  icon: string;
30
35
  /**
31
- * Defines an [`SVGIcon`](slug:api_icons_svgicon) icon to be rendered inside the Chip using
36
+ * Defines an [`SVGIcon`](slug:api_icons_svgicon) to render inside the Chip using
32
37
  * a [`KendoSVGIcon`](slug:api_icons_svgiconcomponent) component.
33
38
  */
34
39
  svgIcon: SVGIcon;
35
40
  /**
36
- * Defines a CSS class or multiple classes separated by spaces
37
- * which are applied to a span element.
38
- * Allows the usage of custom icons.
41
+ * Defines a CSS class, or multiple classes separated by spaces,
42
+ * applied to a `span` element. Use the `iconClass` to add custom icons.
39
43
  */
40
44
  iconClass: string;
41
45
  /**
@@ -48,18 +52,18 @@ export declare class ChipComponent implements OnInit, AfterViewInit, OnChanges {
48
52
  */
49
53
  selected: boolean;
50
54
  /**
51
- * Specifies if the Chip will be removable or not.
52
- * If the property is set to `true`, the Chip renders a remove icon.
55
+ * Specifies if the Chip is removable.
56
+ * If set to `true`, the Chip renders a remove icon.
53
57
  * @default false
54
58
  */
55
59
  removable: boolean;
56
60
  /**
57
- * Specifies a custom remove font icon class that will be rendered when the Chip is removable.
61
+ * Specifies a custom remove font icon class to render when the Chip is removable.
58
62
  * [see example]({% slug icons %})
59
63
  */
60
64
  removeIcon: string;
61
65
  /**
62
- * Specifies a custom remove SVG icon that will be rendered when the Chip is removable.
66
+ * Specifies a custom remove SVG icon to render when the Chip is removable.
63
67
  */
64
68
  removeSvgIcon: SVGIcon;
65
69
  /**
@@ -71,83 +75,65 @@ export declare class ChipComponent implements OnInit, AfterViewInit, OnChanges {
71
75
  /**
72
76
  * @hidden
73
77
  *
74
- * Specifies a custom menu font icon class that will be rendered when the Chip has menu.
78
+ * Specifies a custom menu font icon class to render when the Chip has a menu.
75
79
  */
76
80
  menuIcon: string;
77
81
  /**
78
82
  * @hidden
79
83
  *
80
- * Specifies a custom menu SVG icon that will be rendered when the Chip has menu.
84
+ * Specifies a custom menu SVG icon to render when the Chip has a menu.
81
85
  */
82
86
  menuSvgIcon: SVGIcon;
83
87
  /**
84
- * If set to `true`, the Chip will be disabled.
88
+ * If set to `true`, the Chip is disabled.
85
89
  * @default false
86
90
  */
87
91
  disabled: boolean;
88
92
  /**
89
- * The size property specifies the padding of the Chip
90
- * ([see example]({% slug appearance_chip %}#toc-size)).
93
+ * Sets the padding of the Chip.
94
+ * See [Chip Appearance]({% slug appearance_chip %}#size).
91
95
  *
92
- * The possible values are:
93
- * * `small`
94
- * * `medium` (default)
95
- * * `large`
96
- * * `none`
96
+ * @default 'medium'
97
97
  */
98
98
  set size(size: ChipSize);
99
99
  get size(): ChipSize;
100
100
  /**
101
- * The rounded property specifies the border radius of the Chip
102
- * ([see example](slug:appearance_chip#toc-roundness)).
101
+ * Sets the border radius of the Chip.
102
+ * See [Chip Appearance](slug:appearance_chip#roundness).
103
103
  *
104
- * The possible values are:
105
- * * `small`
106
- * * `medium` (default)
107
- * * `large`
108
- * * `full`
109
- * * `none`
104
+ * @default 'medium'
110
105
  */
111
106
  set rounded(rounded: ChipRounded);
112
107
  get rounded(): ChipRounded;
113
108
  /**
114
- * The fillMode property specifies the background and border styles of the Chip
115
- * ([see example](slug:appearance_chip#toc-fill-mode)).
109
+ * Sets the background and border styles of the Chip.
110
+ * See [Chip Appearance](slug:appearance_chip#fill-mode).
116
111
  *
117
- * The possible values are:
118
- * * `solid` (default)
119
- * * `outline`
120
- * * `none`
112
+ * @default 'solid'
121
113
  */
122
114
  set fillMode(fillMode: ChipFillMode);
123
115
  get fillMode(): ChipFillMode;
124
116
  /**
125
- * The Chip allows you to specify predefined theme colors.
126
- * The theme color will be applied as a background and border color while also amending the text color accordingly
127
- * ([see example](slug:appearance_chip#toc-theme-colors)).
117
+ * Sets a predefined theme color for the Chip.
118
+ * The theme color applies as a background and border color and adjusts the text color.
119
+ * See [Chip Appearance](slug:appearance_chip#theme-colors).
128
120
  *
129
- * The possible values are:
130
- * * `base` (default)
131
- * * `info`
132
- * * `success`
133
- * * `warning`
134
- * * `error`
135
- * * `none`
121
+ * @default 'base'
136
122
  */
137
123
  set themeColor(themeColor: ChipThemeColor);
138
124
  get themeColor(): ChipThemeColor;
139
125
  /**
140
- * Fires each time the user clicks the remove icon of the Chip.
126
+ * Fires when the user clicks the remove icon of the Chip.
141
127
  */
142
128
  remove: EventEmitter<ChipRemoveEvent>;
143
129
  /**
144
130
  * @hidden
145
131
  *
146
- * Fires each time the user clicks the menu icon of the Chip.
132
+ * Fires when the user clicks the menu icon of the Chip.
147
133
  */
148
134
  menuToggle: EventEmitter<ChipRemoveEvent>;
149
135
  /**
150
- * Fires each time the user clicks the content of the Chip.
136
+ * Fires when the user clicks the content of the Chip.
151
137
  */
152
138
  contentClick: EventEmitter<ChipContentClickEvent>;
153
139
  tabIndex: number;
@@ -9,28 +9,21 @@ import * as i2 from "./chip-list.component";
9
9
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
10
10
  * definition for the Chip and ChipList components.
11
11
  *
12
- * @example
12
+ * Required for adding Chip and ChipList features in NgModule-based Angular applications.
13
13
  *
14
- * ```ts-no-run
15
- * // Import the Chip module
14
+ * @example
15
+ * ```typescript
16
16
  * import { ChipModule } from '@progress/kendo-angular-buttons';
17
- *
18
- * // The browser platform with a compiler
19
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
20
- *
21
17
  * import { NgModule } from '@angular/core';
22
- *
23
- * // Import the app component
18
+ * import { BrowserModule } from '@angular/platform-browser';
24
19
  * import { AppComponent } from './app.component';
25
20
  *
26
- * // Define the app module
27
- * _@NgModule({
28
- * declarations: [AppComponent], // declare app component
29
- * imports: [BrowserModule, ChipModule], // import Chip module
30
- * bootstrap: [AppComponent]
21
+ * @NgModule({
22
+ * declarations: [AppComponent],
23
+ * imports: [BrowserModule, ChipModule],
24
+ * bootstrap: [AppComponent]
31
25
  * })
32
26
  * export class AppModule {}
33
- *
34
27
  * ```
35
28
  */
36
29
  export declare class ChipModule {
@@ -4,30 +4,30 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  export interface ChipAvatarSettings {
6
6
  /**
7
- * The CSS styles that will be rendered on the wrapper element of the avatar.
8
- * Supports the type of values that are supported by [ngStyle](link:site.data.urls.angular['ngstyleapi']).
7
+ * Sets the CSS styles for the wrapper element of the avatar.
8
+ * Supports the types of values supported by [ngStyle](link:site.data.urls.angular['ngstyleapi']).
9
9
  */
10
10
  cssStyle?: any;
11
11
  /**
12
- * Sets `initials` to the Chip avatar.
12
+ * Sets the initials for the Chip avatar.
13
13
  */
14
14
  initials?: string;
15
15
  /**
16
- * The CSS styles that will be rendered on the wrapper element of the avatar initials.
17
- * Supports the type of values that are supported by [ngStyle](link:site.data.urls.angular['ngstyleapi']).
16
+ * Sets the CSS styles for the wrapper element of the avatar initials.
17
+ * Supports the types of values supported by [ngStyle](link:site.data.urls.angular['ngstyleapi']).
18
18
  */
19
19
  initialsCssStyle?: any;
20
20
  /**
21
- * Sets the `image` source of the Chip avatar.
21
+ * Sets the image source for the Chip avatar.
22
22
  */
23
23
  imageSrc?: string;
24
24
  /**
25
- * Allows setting the `alt` attribute of a Chip avatar image.
25
+ * Sets the `alt` attribute for the Chip avatar image.
26
26
  */
27
27
  imageAltText?: string;
28
28
  /**
29
- * The CSS styles that will be rendered on the avatar image element.
30
- * Supports the type of values that are supported by [ngStyle](link:site.data.urls.angular['ngstyleapi']).
29
+ * Sets the CSS styles for the avatar image element.
30
+ * Supports the types of values supported by [ngStyle](link:site.data.urls.angular['ngstyleapi']).
31
31
  */
32
32
  imageCssStyle?: any;
33
33
  }
@@ -9,6 +9,5 @@
9
9
  * * `none` (default)
10
10
  * * `single`
11
11
  * * `multiple`
12
- *
13
12
  */
14
13
  export type ChipListSelection = 'none' | 'single' | 'multiple';
@@ -4,19 +4,19 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { SVGIcon } from "@progress/kendo-angular-icons";
6
6
  /**
7
- * Used to customize the DropDownButton arrow icon.
7
+ * Customizes the DropDownButton arrow icon.
8
8
  */
9
9
  export interface ArrowIconSettings {
10
10
  /**
11
- * The Kendo font icon to replace the default arrow down icon.
11
+ * Specifies the Kendo font icon to replace the default arrow-down icon.
12
12
  */
13
13
  icon?: string;
14
14
  /**
15
- * The custom font icon class to replace the default arrow down icon.
15
+ * Specifies the custom font icon class to replace the default arrow-down icon.
16
16
  */
17
17
  iconClass?: string;
18
18
  /**
19
- * The SVG icon to replace the default arrow down SVG icon.
19
+ * Specifies the SVG icon to replace the default arrow-down SVG icon.
20
20
  */
21
21
  svgIcon?: SVGIcon;
22
22
  }