@progress/kendo-angular-buttons 8.2.2 → 11.0.0-develop.80

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 (145) hide show
  1. package/NOTICE.txt +3 -3
  2. package/README.md +7 -7
  3. package/button/{button.directive.d.ts → button.component.d.ts} +26 -29
  4. package/button/button.module.d.ts +4 -3
  5. package/button/button.service.d.ts +5 -5
  6. package/button/selection-settings.d.ts +1 -1
  7. package/buttongroup/buttongroup.component.d.ts +7 -7
  8. package/buttongroup/buttongroup.module.d.ts +1 -1
  9. package/buttons.module.d.ts +1 -1
  10. package/chip/chip-content-click-event-args.interface.d.ts +1 -1
  11. package/chip/chip-list-remove-event-args.interface.d.ts +1 -1
  12. package/chip/chip-list.component.d.ts +1 -1
  13. package/chip/chip-remove-event-args.interface.d.ts +1 -1
  14. package/chip/chip.component.d.ts +17 -3
  15. package/chip/chip.module.d.ts +3 -2
  16. package/chip/models/selection.d.ts +1 -1
  17. package/common/models/fillmode.d.ts +1 -1
  18. package/common/models/rounded.d.ts +1 -1
  19. package/common/models/size.d.ts +1 -1
  20. package/common/models/styling-classes.d.ts +1 -1
  21. package/common/models/theme-color.d.ts +1 -1
  22. package/common/models.d.ts +1 -1
  23. package/direction.d.ts +1 -1
  24. package/dropdownbutton/dropdownbutton.component.d.ts +8 -3
  25. package/dropdownbutton/dropdownbutton.module.d.ts +1 -1
  26. package/{esm2015/button/button.directive.js → esm2020/button/button.component.mjs} +84 -149
  27. package/{esm2015/button/button.module.js → esm2020/button/button.module.mjs} +10 -8
  28. package/{esm2015/button/button.service.js → esm2020/button/button.service.mjs} +4 -4
  29. package/{esm2015/button/selection-settings.js → esm2020/button/selection-settings.mjs} +1 -1
  30. package/{esm2015/buttongroup/buttongroup.component.js → esm2020/buttongroup/buttongroup.component.mjs} +10 -10
  31. package/{esm2015/buttongroup/buttongroup.module.js → esm2020/buttongroup/buttongroup.module.mjs} +5 -5
  32. package/{esm2015/buttons.module.js → esm2020/buttons.module.mjs} +5 -5
  33. package/{esm2015/chip/chip-content-click-event-args.interface.js → esm2020/chip/chip-content-click-event-args.interface.mjs} +1 -1
  34. package/{esm2015/chip/chip-list-remove-event-args.interface.js → esm2020/chip/chip-list-remove-event-args.interface.mjs} +1 -1
  35. package/{esm2015/chip/chip-list.component.js → esm2020/chip/chip-list.component.mjs} +5 -5
  36. package/{esm2015/chip/chip-remove-event-args.interface.js → esm2020/chip/chip-remove-event-args.interface.mjs} +1 -1
  37. package/{esm2015/chip/chip.component.js → esm2020/chip/chip.component.mjs} +68 -71
  38. package/{esm2015/chip/chip.module.js → esm2020/chip/chip.module.mjs} +8 -7
  39. package/esm2020/chip/models/selection.mjs +5 -0
  40. package/esm2020/common/models/fillmode.mjs +5 -0
  41. package/esm2020/common/models/rounded.mjs +5 -0
  42. package/esm2020/common/models/size.mjs +5 -0
  43. package/esm2020/common/models/styling-classes.mjs +5 -0
  44. package/esm2020/common/models/theme-color.mjs +5 -0
  45. package/{esm2015/common/models.js → esm2020/common/models.mjs} +1 -1
  46. package/esm2020/direction.mjs +5 -0
  47. package/{esm2015/dropdownbutton/dropdownbutton.component.js → esm2020/dropdownbutton/dropdownbutton.component.mjs} +17 -11
  48. package/{esm2015/dropdownbutton/dropdownbutton.module.js → esm2020/dropdownbutton/dropdownbutton.module.mjs} +5 -5
  49. package/{esm2015/floatingactionbutton/animations/animations.js → esm2020/floatingactionbutton/animations/animations.mjs} +1 -1
  50. package/{esm2015/floatingactionbutton/dial-item.component.js → esm2020/floatingactionbutton/dial-item.component.mjs} +22 -10
  51. package/{esm2015/floatingactionbutton/dial-list.component.js → esm2020/floatingactionbutton/dial-list.component.mjs} +6 -5
  52. package/{esm2015/floatingactionbutton/floatingactionbutton.component.js → esm2020/floatingactionbutton/floatingactionbutton.component.mjs} +27 -12
  53. package/{esm2015/floatingactionbutton/floatingactionbutton.module.js → esm2020/floatingactionbutton/floatingactionbutton.module.mjs} +8 -7
  54. package/esm2020/floatingactionbutton/models/align.mjs +5 -0
  55. package/esm2020/floatingactionbutton/models/item-animation.interface.mjs +5 -0
  56. package/esm2020/floatingactionbutton/models/item-click.event.mjs +5 -0
  57. package/esm2020/floatingactionbutton/models/item.interface.mjs +5 -0
  58. package/esm2020/floatingactionbutton/models/offset.mjs +5 -0
  59. package/esm2020/floatingactionbutton/models/position-mode.mjs +5 -0
  60. package/{esm2015/floatingactionbutton/templates/dial-item-template.directive.js → esm2020/floatingactionbutton/templates/dial-item-template.directive.mjs} +5 -5
  61. package/{esm2015/floatingactionbutton/templates/fab-template.directive.js → esm2020/floatingactionbutton/templates/fab-template.directive.mjs} +5 -5
  62. package/{esm2015/floatingactionbutton/utils.js → esm2020/floatingactionbutton/utils.mjs} +3 -3
  63. package/{esm2015/focusable/focus.service.js → esm2020/focusable/focus.service.mjs} +4 -4
  64. package/{esm2015/focusable/focusable.directive.js → esm2020/focusable/focusable.directive.mjs} +6 -5
  65. package/{esm2015/main.js → esm2020/index.mjs} +2 -2
  66. package/{esm2015/listbutton/button-item-template.directive.js → esm2020/listbutton/button-item-template.directive.mjs} +5 -5
  67. package/{esm2015/listbutton/container.service.js → esm2020/listbutton/container.service.mjs} +4 -4
  68. package/{esm2015/listbutton/list-button.js → esm2020/listbutton/list-button.mjs} +15 -11
  69. package/esm2020/listbutton/list-item-model.mjs +5 -0
  70. package/{esm2015/listbutton/list.component.js → esm2020/listbutton/list.component.mjs} +5 -4
  71. package/{esm2015/listbutton/list.module.js → esm2020/listbutton/list.module.mjs} +5 -5
  72. package/esm2020/listbutton/popup-settings.mjs +5 -0
  73. package/{esm2015/listbutton/template-context.directive.js → esm2020/listbutton/template-context.directive.mjs} +5 -5
  74. package/{esm2015/navigation/key-events.js → esm2020/navigation/key-events.mjs} +1 -1
  75. package/{esm2015/navigation/navigation-action.js → esm2020/navigation/navigation-action.mjs} +1 -1
  76. package/{esm2015/navigation/navigation-config.js → esm2020/navigation/navigation-config.mjs} +1 -1
  77. package/{esm2015/navigation/navigation.service.js → esm2020/navigation/navigation.service.mjs} +4 -4
  78. package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
  79. package/{esm2015/preventable-event.js → esm2020/preventable-event.mjs} +1 -1
  80. package/{esm2015/kendo-angular-buttons.js → esm2020/progress-kendo-angular-buttons.mjs} +2 -2
  81. package/{esm2015/splitbutton/localization/custom-messages.component.js → esm2020/splitbutton/localization/custom-messages.component.mjs} +5 -4
  82. package/{esm2015/splitbutton/localization/localized-messages.directive.js → esm2020/splitbutton/localization/localized-messages.directive.mjs} +5 -4
  83. package/{esm2015/splitbutton/localization/messages.js → esm2020/splitbutton/localization/messages.mjs} +4 -4
  84. package/{esm2015/splitbutton/splitbutton.component.js → esm2020/splitbutton/splitbutton.component.mjs} +55 -25
  85. package/{esm2015/splitbutton/splitbutton.module.js → esm2020/splitbutton/splitbutton.module.mjs} +5 -5
  86. package/{esm2015/util.js → esm2020/util.mjs} +1 -1
  87. package/fesm2015/progress-kendo-angular-buttons.mjs +5251 -0
  88. package/{fesm2015/kendo-angular-buttons.js → fesm2020/progress-kendo-angular-buttons.mjs} +450 -464
  89. package/floatingactionbutton/animations/animations.d.ts +1 -1
  90. package/floatingactionbutton/dial-item.component.d.ts +4 -3
  91. package/floatingactionbutton/dial-list.component.d.ts +1 -1
  92. package/floatingactionbutton/floatingactionbutton.component.d.ts +9 -3
  93. package/floatingactionbutton/floatingactionbutton.module.d.ts +3 -2
  94. package/floatingactionbutton/models/align.d.ts +1 -1
  95. package/floatingactionbutton/models/item-animation.interface.d.ts +1 -1
  96. package/floatingactionbutton/models/item-click.event.d.ts +1 -1
  97. package/floatingactionbutton/models/item.interface.d.ts +6 -1
  98. package/floatingactionbutton/models/offset.d.ts +1 -1
  99. package/floatingactionbutton/models/position-mode.d.ts +1 -1
  100. package/floatingactionbutton/templates/dial-item-template.directive.d.ts +1 -1
  101. package/floatingactionbutton/templates/fab-template.directive.d.ts +1 -1
  102. package/floatingactionbutton/utils.d.ts +1 -1
  103. package/focusable/focus.service.d.ts +1 -1
  104. package/focusable/focusable.directive.d.ts +1 -1
  105. package/{main.d.ts → index.d.ts} +3 -2
  106. package/listbutton/button-item-template.directive.d.ts +1 -1
  107. package/listbutton/container.service.d.ts +1 -1
  108. package/listbutton/list-button.d.ts +1 -1
  109. package/listbutton/list-item-model.d.ts +1 -1
  110. package/listbutton/list.component.d.ts +1 -1
  111. package/listbutton/list.module.d.ts +1 -1
  112. package/listbutton/popup-settings.d.ts +1 -1
  113. package/listbutton/template-context.directive.d.ts +1 -1
  114. package/navigation/key-events.d.ts +1 -1
  115. package/navigation/navigation-action.d.ts +1 -1
  116. package/navigation/navigation-config.d.ts +1 -1
  117. package/navigation/navigation.service.d.ts +1 -1
  118. package/package-metadata.d.ts +1 -1
  119. package/package.json +30 -57
  120. package/preventable-event.d.ts +1 -1
  121. package/{kendo-angular-buttons.d.ts → progress-kendo-angular-buttons.d.ts} +2 -2
  122. package/schematics/ngAdd/index.js +5 -7
  123. package/splitbutton/localization/custom-messages.component.d.ts +1 -1
  124. package/splitbutton/localization/localized-messages.directive.d.ts +1 -1
  125. package/splitbutton/localization/messages.d.ts +1 -1
  126. package/splitbutton/splitbutton.component.d.ts +22 -3
  127. package/splitbutton/splitbutton.module.d.ts +1 -1
  128. package/util.d.ts +1 -1
  129. package/bundles/kendo-angular-buttons.umd.js +0 -5
  130. package/esm2015/chip/models/selection.js +0 -5
  131. package/esm2015/common/models/fillmode.js +0 -5
  132. package/esm2015/common/models/rounded.js +0 -5
  133. package/esm2015/common/models/size.js +0 -5
  134. package/esm2015/common/models/styling-classes.js +0 -5
  135. package/esm2015/common/models/theme-color.js +0 -5
  136. package/esm2015/direction.js +0 -5
  137. package/esm2015/floatingactionbutton/models/align.js +0 -5
  138. package/esm2015/floatingactionbutton/models/item-animation.interface.js +0 -5
  139. package/esm2015/floatingactionbutton/models/item-click.event.js +0 -5
  140. package/esm2015/floatingactionbutton/models/item.interface.js +0 -5
  141. package/esm2015/floatingactionbutton/models/offset.js +0 -5
  142. package/esm2015/floatingactionbutton/models/position-mode.js +0 -5
  143. package/esm2015/listbutton/list-item-model.js +0 -5
  144. package/esm2015/listbutton/popup-settings.js +0 -5
  145. package/schematics/ngAdd/index.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { AnimationMetadata } from '@angular/animations';
@@ -1,10 +1,11 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { AfterViewInit, ElementRef, Renderer2, TemplateRef } from "@angular/core";
6
6
  import { LocalizationService } from '@progress/kendo-angular-l10n';
7
7
  import { FabAlign } from './models/align';
8
+ import { DialItem } from "./models/item.interface";
8
9
  import * as i0 from "@angular/core";
9
10
  /**
10
11
  * @hidden
@@ -22,12 +23,12 @@ export declare class DialItemComponent implements AfterViewInit {
22
23
  cssStyle: any;
23
24
  isFocused: boolean;
24
25
  index: any;
25
- item: any;
26
+ item: DialItem;
26
27
  dialItemTemplate: TemplateRef<any>;
27
28
  align: FabAlign;
28
29
  constructor(element: ElementRef, renderer: Renderer2, localisationService: LocalizationService);
29
30
  get iconClasses(): string[];
30
- get itemTitle(): boolean;
31
+ get itemTitle(): string;
31
32
  ngAfterViewInit(): void;
32
33
  private getTextDirectionClass;
33
34
  static ɵfac: i0.ɵɵFactoryDeclaration<DialItemComponent, never>;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ChangeDetectorRef, OnDestroy, TemplateRef } from "@angular/core";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { AnimationBuilder } from '@angular/animations';
@@ -20,6 +20,8 @@ import { PreventableEvent } from '../preventable-event';
20
20
  import { DialItemTemplateDirective } from './templates/dial-item-template.directive';
21
21
  import { FloatingActionButtonTemplateDirective } from './templates/fab-template.directive';
22
22
  import { ButtonRounded } from '../common/models';
23
+ import { SVGIcon } from '@progress/kendo-svg-icons';
24
+ import { DialItem } from './models/item.interface';
23
25
  import * as i0 from "@angular/core";
24
26
  /**
25
27
  *
@@ -128,6 +130,10 @@ export declare class FloatingActionButtonComponent implements AfterViewInit, OnD
128
130
  * If provided, the icon will be rendered inside the FloatingActionButton by a `span.k-icon` element.
129
131
  */
130
132
  icon: string;
133
+ /**
134
+ * Defines an [`SVGIcon`](slug:api_icons_svgicon) to be rendered within the FloatingActionButton.
135
+ */
136
+ svgIcon: SVGIcon;
131
137
  /**
132
138
  * Defines a CSS class or multiple classes separated by spaces which are applied to a `span` element.
133
139
  * Allows the usage of custom icons, rendered inside the FloatingActionButton by a `span` element.
@@ -167,7 +173,7 @@ export declare class FloatingActionButtonComponent implements AfterViewInit, OnD
167
173
  /**
168
174
  * Specifies the collection of the dial items that will be rendered in the FloatingActionButton popup.
169
175
  */
170
- dialItems: any[];
176
+ dialItems: DialItem[];
171
177
  /**
172
178
  * Fires each time the FloatingActionButton gets blurred.
173
179
  */
@@ -319,5 +325,5 @@ export declare class FloatingActionButtonComponent implements AfterViewInit, OnD
319
325
  private animationGap;
320
326
  private animationDuration;
321
327
  static ɵfac: i0.ɵɵFactoryDeclaration<FloatingActionButtonComponent, never>;
322
- static ɵcmp: i0.ɵɵComponentDeclaration<FloatingActionButtonComponent, "kendo-floatingactionbutton", never, { "themeColor": "themeColor"; "size": "size"; "rounded": "rounded"; "disabled": "disabled"; "align": "align"; "offset": "offset"; "positionMode": "positionMode"; "icon": "icon"; "iconClass": "iconClass"; "buttonClass": "buttonClass"; "dialClass": "dialClass"; "text": "text"; "dialItemAnimation": "dialItemAnimation"; "tabIndex": "tabIndex"; "dialItems": "dialItems"; }, { "onBlur": "blur"; "onFocus": "focus"; "dialItemClick": "dialItemClick"; "open": "open"; "close": "close"; }, ["dialItemTemplate", "fabTemplate"], never>;
328
+ static ɵcmp: i0.ɵɵComponentDeclaration<FloatingActionButtonComponent, "kendo-floatingactionbutton", never, { "themeColor": "themeColor"; "size": "size"; "rounded": "rounded"; "disabled": "disabled"; "align": "align"; "offset": "offset"; "positionMode": "positionMode"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "buttonClass": "buttonClass"; "dialClass": "dialClass"; "text": "text"; "dialItemAnimation": "dialItemAnimation"; "tabIndex": "tabIndex"; "dialItems": "dialItems"; }, { "onBlur": "blur"; "onFocus": "focus"; "dialItemClick": "dialItemClick"; "open": "open"; "close": "close"; }, ["dialItemTemplate", "fabTemplate"], never>;
323
329
  }
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from "@angular/core";
@@ -12,6 +12,7 @@ import * as i6 from "@angular/common";
12
12
  import * as i7 from "@progress/kendo-angular-popup";
13
13
  import * as i8 from "../listbutton/list.module";
14
14
  import * as i9 from "@progress/kendo-angular-common";
15
+ import * as i10 from "@progress/kendo-angular-icons";
15
16
  /**
16
17
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
17
18
  * definition for the FloatingActionButton component.
@@ -42,6 +43,6 @@ import * as i9 from "@progress/kendo-angular-common";
42
43
  */
43
44
  export declare class FloatingActionButtonModule {
44
45
  static ɵfac: i0.ɵɵFactoryDeclaration<FloatingActionButtonModule, never>;
45
- static ɵmod: i0.ɵɵNgModuleDeclaration<FloatingActionButtonModule, [typeof i1.FloatingActionButtonComponent, typeof i2.DialItemTemplateDirective, typeof i3.FloatingActionButtonTemplateDirective, typeof i4.DialListComponent, typeof i5.DialItemComponent], [typeof i6.CommonModule, typeof i7.PopupModule, typeof i8.ListModule, typeof i9.EventsModule], [typeof i1.FloatingActionButtonComponent, typeof i2.DialItemTemplateDirective, typeof i3.FloatingActionButtonTemplateDirective]>;
46
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FloatingActionButtonModule, [typeof i1.FloatingActionButtonComponent, typeof i2.DialItemTemplateDirective, typeof i3.FloatingActionButtonTemplateDirective, typeof i4.DialListComponent, typeof i5.DialItemComponent], [typeof i6.CommonModule, typeof i7.PopupModule, typeof i8.ListModule, typeof i9.EventsModule, typeof i10.IconsModule], [typeof i1.FloatingActionButtonComponent, typeof i2.DialItemTemplateDirective, typeof i3.FloatingActionButtonTemplateDirective]>;
46
47
  static ɵinj: i0.ɵɵInjectorDeclaration<FloatingActionButtonModule>;
47
48
  }
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,7 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import { SVGIcon } from "@progress/kendo-svg-icons";
5
6
  /**
6
7
  * An interface for the dial items of the FloatingActionButton
7
8
  * ([see example]({% slug dialitems_floatingactionbutton %}#toc-dial-items)).
@@ -31,6 +32,10 @@ export interface DialItem {
31
32
  * Allows the usage of custom icons, rendered inside the dial item instead of the default numeric or text content.
32
33
  */
33
34
  iconClass?: string;
35
+ /**
36
+ * Defines an [`SVGIcon`](slug:api_icons_svgicon) to be rendered within the dial item.
37
+ */
38
+ svgIcon?: SVGIcon;
34
39
  /**
35
40
  * Specifies the `title` attribute of the dial item.
36
41
  * If provided, the `title` value will be rendered in `aria-label` attribute on the element of the dial item.
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { TemplateRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { TemplateRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { EventEmitter } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ElementRef, OnDestroy, Renderer2, OnInit } from '@angular/core';
@@ -1,9 +1,10 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- export { ButtonDirective, ButtonDirective as Button } from './button/button.directive';
5
+ export { ButtonComponent as ButtonDirective, ButtonComponent as Button } from './button/button.component';
6
6
  export { ButtonGroupComponent, ButtonGroupComponent as ButtonGroup } from './buttongroup/buttongroup.component';
7
+ export { ButtonGroupSelection } from './button/selection-settings';
7
8
  export { ButtonGroupModule } from './buttongroup/buttongroup.module';
8
9
  export { ButtonModule } from './button/button.module';
9
10
  export { ButtonsModule } from './buttons.module';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { TemplateRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { TemplateRef, ViewContainerRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { EventEmitter, ElementRef, OnDestroy, NgZone, ChangeDetectorRef, SimpleChanges } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { EventEmitter } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from "@angular/core";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ViewContainerRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ViewContainerRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { InjectionToken } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { EventEmitter } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PackageMetadata } from '@progress/kendo-licensing';
package/package.json CHANGED
@@ -1,14 +1,10 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-buttons",
3
- "version": "8.2.2",
3
+ "version": "11.0.0-develop.80",
4
4
  "description": "Buttons Package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
7
7
  "homepage": "https://www.telerik.com/kendo-angular-ui/components/",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/telerik/kendo-angular-buttons.git"
11
- },
12
8
  "bugs": {
13
9
  "url": "https://github.com/telerik/kendo-angular"
14
10
  },
@@ -23,65 +19,42 @@
23
19
  "@progress": {
24
20
  "friendlyName": "Buttons"
25
21
  },
26
- "dependencies": {
27
- "@progress/kendo-common": "^0.2.1",
28
- "@progress/kendo-schematics": "^3.0.0",
29
- "tslib": "^2.3.1"
30
- },
31
22
  "peerDependencies": {
32
- "@angular/animations": "12 - 15",
33
- "@angular/common": "12 - 15",
34
- "@angular/core": "12 - 15",
35
- "@angular/forms": "12 - 15",
36
- "@progress/kendo-angular-common": "^3.0.0",
37
- "@progress/kendo-angular-l10n": "^4.0.0",
38
- "@progress/kendo-angular-popup": "^5.0.0",
23
+ "@angular/animations": "13 - 15",
24
+ "@angular/common": "13 - 15",
25
+ "@angular/core": "13 - 15",
26
+ "@angular/platform-browser": "13 - 15",
27
+ "@progress/kendo-common": "^0.2.1",
39
28
  "@progress/kendo-licensing": "^1.0.2",
29
+ "@progress/kendo-angular-common": "11.0.0-develop.80",
30
+ "@progress/kendo-angular-l10n": "11.0.0-develop.80",
31
+ "@progress/kendo-angular-popup": "11.0.0-develop.80",
32
+ "@progress/kendo-angular-icons": "11.0.0-develop.80",
33
+ "@progress/kendo-angular-schematics": "11.0.0-develop.80",
40
34
  "rxjs": "^6.5.3 || ^7.0.0"
41
35
  },
42
- "config": {
43
- "commitizen": {
44
- "path": "./node_modules/cz-conventional-changelog"
45
- },
46
- "ghooks": {
47
- "commit-msg": "validate-commit-msg"
48
- },
49
- "validate-commit-msg": {
50
- "types": [
51
- "feat",
52
- "fix",
53
- "docs",
54
- "style",
55
- "refactor",
56
- "perf",
57
- "test",
58
- "chore",
59
- "revert"
60
- ],
61
- "warnOnFail": false,
62
- "maxSubjectLength": 100
63
- }
36
+ "dependencies": {
37
+ "tslib": "^2.3.1"
64
38
  },
65
39
  "schematics": "./schematics/collection.json",
66
- "release": {
67
- "debug": false,
68
- "branchTags": {
69
- "develop": "dev"
70
- },
71
- "fallbackTags": {
72
- "dev": "latest"
40
+ "module": "fesm2015/progress-kendo-angular-buttons.mjs",
41
+ "es2020": "fesm2020/progress-kendo-angular-buttons.mjs",
42
+ "esm2020": "esm2020/progress-kendo-angular-buttons.mjs",
43
+ "fesm2020": "fesm2020/progress-kendo-angular-buttons.mjs",
44
+ "fesm2015": "fesm2015/progress-kendo-angular-buttons.mjs",
45
+ "typings": "progress-kendo-angular-buttons.d.ts",
46
+ "exports": {
47
+ "./package.json": {
48
+ "default": "./package.json"
73
49
  },
74
- "analyzeCommits": "@progress/semantic-prerelease/analyzeCommits",
75
- "generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
76
- "getLastRelease": "@progress/semantic-prerelease/getLastRelease",
77
- "verifyConditions": "@progress/semantic-prerelease/verifyConditions",
78
- "verifyRelease": "@progress/semantic-prerelease/verifyRelease"
50
+ ".": {
51
+ "types": "./progress-kendo-angular-buttons.d.ts",
52
+ "esm2020": "./esm2020/progress-kendo-angular-buttons.mjs",
53
+ "es2020": "./fesm2020/progress-kendo-angular-buttons.mjs",
54
+ "es2015": "./fesm2015/progress-kendo-angular-buttons.mjs",
55
+ "node": "./fesm2015/progress-kendo-angular-buttons.mjs",
56
+ "default": "./fesm2020/progress-kendo-angular-buttons.mjs"
57
+ }
79
58
  },
80
- "main": "bundles/kendo-angular-buttons.umd.js",
81
- "module": "fesm2015/kendo-angular-buttons.js",
82
- "es2015": "fesm2015/kendo-angular-buttons.js",
83
- "esm2015": "esm2015/kendo-angular-buttons.js",
84
- "fesm2015": "fesm2015/kendo-angular-buttons.js",
85
- "typings": "kendo-angular-buttons.d.ts",
86
59
  "sideEffects": false
87
60
  }
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,9 +1,9 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
6
  * Generated bundle index. Do not edit.
7
7
  */
8
8
  /// <amd-module name="@progress/kendo-angular-buttons" />
9
- export * from './main';
9
+ export * from './index';
@@ -1,13 +1,11 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
1
  "use strict";
6
2
  Object.defineProperty(exports, "__esModule", { value: true });
7
3
  const schematics_1 = require("@angular-devkit/schematics");
8
4
  function default_1(options) {
9
- const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'ButtonsModule', package: 'buttons' //package name, e.g grid
10
- });
11
- return schematics_1.externalSchematic('@progress/kendo-schematics', 'ng-add', finalOptions);
5
+ const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'ButtonsModule', package: 'buttons', peerDependencies: {
6
+ // peer dep of the icons
7
+ '@progress/kendo-svg-icons': '^0.6.0',
8
+ } });
9
+ return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
12
10
  }
13
11
  exports.default = default_1;
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { LocalizationService } from '@progress/kendo-angular-l10n';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { LocalizationService } from '@progress/kendo-angular-l10n';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ComponentMessages } from '@progress/kendo-angular-l10n';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ElementRef, TemplateRef, EventEmitter, ViewContainerRef, AfterViewInit, OnChanges, SimpleChanges, NgZone, ChangeDetectorRef, Renderer2 } from '@angular/core';
@@ -13,6 +13,7 @@ import { NavigationService } from './../navigation/navigation.service';
13
13
  import { PreventableEvent } from '../preventable-event';
14
14
  import { ButtonFillMode, ButtonRounded, ButtonSize, ButtonThemeColor } from '../common/models';
15
15
  import { PopupContainerService } from '../listbutton/container.service';
16
+ import { SVGIcon } from '@progress/kendo-svg-icons';
16
17
  import * as i0 from "@angular/core";
17
18
  /**
18
19
  * Represents the Kendo UI SplitButton component for Angular.
@@ -63,10 +64,14 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
63
64
  */
64
65
  text: string;
65
66
  /**
66
- * Defines an icon to be rendered next to the button text
67
+ * Defines an icon to be rendered next to the button text.
67
68
  * ([see example]({% slug databinding_splitbutton %}#toc-arrays-of-complex-data)).
68
69
  */
69
70
  icon: string;
71
+ /**
72
+ * Defines an SVGIcon to be rendered next to the button text.
73
+ */
74
+ svgIcon: SVGIcon;
70
75
  /**
71
76
  * Defines an icon with a custom CSS class to be rendered next to the button text
72
77
  * ([see example]({% slug databinding_splitbutton %}#toc-arrays-of-complex-data)).
@@ -184,6 +189,11 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
184
189
  * be rendered for the button which opens the popup.
185
190
  */
186
191
  arrowButtonIcon: string;
192
+ /**
193
+ * Specifies the [`SVGIcon`](slug:api_icons_svgicon) that will
194
+ * be rendered for the button which opens the popup.
195
+ */
196
+ arrowButtonSvgIcon: SVGIcon;
187
197
  /**
188
198
  * Fires each time the user clicks the main button.
189
199
  *
@@ -266,6 +276,10 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
266
276
  activeArrow: boolean;
267
277
  popupRef: PopupRef;
268
278
  listId: string;
279
+ /**
280
+ * @hidden
281
+ */
282
+ get hasContent(): boolean;
269
283
  /**
270
284
  * @hidden
271
285
  */
@@ -346,6 +360,10 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
346
360
  * @hidden
347
361
  */
348
362
  get popupAlign(): Align;
363
+ /**
364
+ * @hidden
365
+ */
366
+ get isIconButton(): boolean;
349
367
  /**
350
368
  * Focuses the SplitButton component.
351
369
  */
@@ -361,6 +379,7 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
361
379
  get isOpen(): boolean;
362
380
  private updateButtonText;
363
381
  private handleClasses;
382
+ private toggleButtonIconClass;
364
383
  static ɵfac: i0.ɵɵFactoryDeclaration<SplitButtonComponent, never>;
365
- static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "kendo-splitbutton", ["kendoSplitButton"], { "text": "text"; "icon": "icon"; "iconClass": "iconClass"; "type": "type"; "imageUrl": "imageUrl"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; "disabled": "disabled"; "popupSettings": "popupSettings"; "tabIndex": "tabIndex"; "textField": "textField"; "data": "data"; "buttonClass": "buttonClass"; "arrowButtonClass": "arrowButtonClass"; "arrowButtonIcon": "arrowButtonIcon"; }, { "buttonClick": "buttonClick"; "itemClick": "itemClick"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; }, ["itemTemplate"], ["*"]>;
384
+ static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "kendo-splitbutton", ["kendoSplitButton"], { "text": "text"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "type": "type"; "imageUrl": "imageUrl"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; "disabled": "disabled"; "popupSettings": "popupSettings"; "tabIndex": "tabIndex"; "textField": "textField"; "data": "data"; "buttonClass": "buttonClass"; "arrowButtonClass": "arrowButtonClass"; "arrowButtonIcon": "arrowButtonIcon"; "arrowButtonSvgIcon": "arrowButtonSvgIcon"; }, { "buttonClick": "buttonClick"; "itemClick": "itemClick"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; }, ["itemTemplate"], ["*"]>;
366
385
  }
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from "@angular/core";
package/util.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ButtonStylingClasses } from "./common/models";