@porsche-design-system/components-angular 3.8.0 → 3.9.0-rc.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.
Files changed (143) hide show
  1. package/CHANGELOG.md +44 -2
  2. package/esm/lib/components/accordion.wrapper.d.ts +3 -5
  3. package/esm/lib/components/banner.wrapper.d.ts +3 -5
  4. package/esm/lib/components/barrel.d.ts +1 -64
  5. package/esm/lib/components/button-group.wrapper.d.ts +2 -5
  6. package/esm/lib/components/button-pure.wrapper.d.ts +5 -6
  7. package/esm/lib/components/button-tile.wrapper.d.ts +2 -5
  8. package/esm/lib/components/button.wrapper.d.ts +5 -6
  9. package/esm/lib/components/carousel.wrapper.d.ts +3 -5
  10. package/esm/lib/components/checkbox-wrapper.wrapper.d.ts +2 -5
  11. package/esm/lib/components/content-wrapper.wrapper.d.ts +2 -5
  12. package/esm/lib/components/crest.wrapper.d.ts +2 -5
  13. package/esm/lib/components/display.wrapper.d.ts +2 -5
  14. package/esm/lib/components/divider.wrapper.d.ts +2 -5
  15. package/esm/lib/components/fieldset-wrapper.wrapper.d.ts +2 -5
  16. package/esm/lib/components/fieldset.wrapper.d.ts +2 -5
  17. package/esm/lib/components/flex-item.wrapper.d.ts +2 -5
  18. package/esm/lib/components/flex.wrapper.d.ts +2 -5
  19. package/esm/lib/components/flyout.wrapper.d.ts +3 -5
  20. package/esm/lib/components/grid-item.wrapper.d.ts +2 -5
  21. package/esm/lib/components/grid.wrapper.d.ts +2 -5
  22. package/esm/lib/components/heading.wrapper.d.ts +2 -5
  23. package/esm/lib/components/headline.wrapper.d.ts +2 -5
  24. package/esm/lib/components/icon.wrapper.d.ts +2 -5
  25. package/esm/lib/components/inline-notification.wrapper.d.ts +3 -5
  26. package/esm/lib/components/link-pure.wrapper.d.ts +2 -5
  27. package/esm/lib/components/link-social.wrapper.d.ts +2 -5
  28. package/esm/lib/components/link-tile-model-signature.wrapper.d.ts +2 -5
  29. package/esm/lib/components/link-tile.wrapper.d.ts +2 -5
  30. package/esm/lib/components/link.wrapper.d.ts +2 -5
  31. package/esm/lib/components/marque.wrapper.d.ts +2 -5
  32. package/esm/lib/components/modal.wrapper.d.ts +3 -5
  33. package/esm/lib/components/model-signature.wrapper.d.ts +2 -5
  34. package/esm/lib/components/multi-select-option.wrapper.d.ts +2 -5
  35. package/esm/lib/components/multi-select.wrapper.d.ts +3 -5
  36. package/esm/lib/components/pagination.wrapper.d.ts +3 -5
  37. package/esm/lib/components/pin-code.wrapper.d.ts +3 -5
  38. package/esm/lib/components/popover.wrapper.d.ts +2 -5
  39. package/esm/lib/components/radio-button-wrapper.wrapper.d.ts +2 -5
  40. package/esm/lib/components/scroller.wrapper.d.ts +2 -5
  41. package/esm/lib/components/segmented-control-item.wrapper.d.ts +2 -5
  42. package/esm/lib/components/segmented-control.wrapper.d.ts +3 -5
  43. package/esm/lib/components/select-wrapper.wrapper.d.ts +2 -5
  44. package/esm/lib/components/spinner.wrapper.d.ts +2 -5
  45. package/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -5
  46. package/esm/lib/components/stepper-horizontal.wrapper.d.ts +3 -5
  47. package/esm/lib/components/switch.wrapper.d.ts +3 -5
  48. package/esm/lib/components/table-body.wrapper.d.ts +2 -5
  49. package/esm/lib/components/table-cell.wrapper.d.ts +2 -5
  50. package/esm/lib/components/table-head-cell.wrapper.d.ts +2 -5
  51. package/esm/lib/components/table-head-row.wrapper.d.ts +2 -5
  52. package/esm/lib/components/table-head.wrapper.d.ts +2 -5
  53. package/esm/lib/components/table-row.wrapper.d.ts +2 -5
  54. package/esm/lib/components/table.wrapper.d.ts +6 -8
  55. package/esm/lib/components/tabs-bar.wrapper.d.ts +3 -5
  56. package/esm/lib/components/tabs-item.wrapper.d.ts +2 -5
  57. package/esm/lib/components/tabs.wrapper.d.ts +6 -8
  58. package/esm/lib/components/tag-dismissible.wrapper.d.ts +2 -5
  59. package/esm/lib/components/tag.wrapper.d.ts +2 -5
  60. package/esm/lib/components/text-field-wrapper.wrapper.d.ts +3 -5
  61. package/esm/lib/components/text-list-item.wrapper.d.ts +2 -5
  62. package/esm/lib/components/text-list.wrapper.d.ts +2 -5
  63. package/esm/lib/components/text.wrapper.d.ts +2 -5
  64. package/esm/lib/components/textarea-wrapper.wrapper.d.ts +2 -5
  65. package/esm/lib/components/toast.wrapper.d.ts +2 -5
  66. package/esm/lib/components/wordmark.wrapper.d.ts +2 -5
  67. package/esm/lib/types.d.ts +15 -0
  68. package/esm/porsche-design-system.module.d.ts +5 -1
  69. package/esm/public-api.d.ts +2 -2
  70. package/esm/utils.d.ts +26 -7
  71. package/esm2020/lib/components/accordion.wrapper.mjs +16 -31
  72. package/esm2020/lib/components/banner.wrapper.mjs +14 -31
  73. package/esm2020/lib/components/button-group.wrapper.mjs +10 -29
  74. package/esm2020/lib/components/button-pure.wrapper.mjs +10 -29
  75. package/esm2020/lib/components/button-tile.wrapper.mjs +10 -29
  76. package/esm2020/lib/components/button.wrapper.mjs +10 -29
  77. package/esm2020/lib/components/carousel.wrapper.mjs +16 -31
  78. package/esm2020/lib/components/checkbox-wrapper.wrapper.mjs +10 -29
  79. package/esm2020/lib/components/content-wrapper.wrapper.mjs +10 -29
  80. package/esm2020/lib/components/crest.wrapper.mjs +10 -29
  81. package/esm2020/lib/components/display.wrapper.mjs +10 -29
  82. package/esm2020/lib/components/divider.wrapper.mjs +10 -29
  83. package/esm2020/lib/components/fieldset-wrapper.wrapper.mjs +10 -29
  84. package/esm2020/lib/components/fieldset.wrapper.mjs +10 -29
  85. package/esm2020/lib/components/flex-item.wrapper.mjs +10 -29
  86. package/esm2020/lib/components/flex.wrapper.mjs +10 -29
  87. package/esm2020/lib/components/flyout.wrapper.mjs +14 -31
  88. package/esm2020/lib/components/grid-item.wrapper.mjs +10 -29
  89. package/esm2020/lib/components/grid.wrapper.mjs +10 -29
  90. package/esm2020/lib/components/heading.wrapper.mjs +10 -29
  91. package/esm2020/lib/components/headline.wrapper.mjs +10 -29
  92. package/esm2020/lib/components/icon.wrapper.mjs +10 -29
  93. package/esm2020/lib/components/inline-notification.wrapper.mjs +15 -31
  94. package/esm2020/lib/components/link-pure.wrapper.mjs +10 -29
  95. package/esm2020/lib/components/link-social.wrapper.mjs +10 -29
  96. package/esm2020/lib/components/link-tile-model-signature.wrapper.mjs +10 -29
  97. package/esm2020/lib/components/link-tile.wrapper.mjs +10 -29
  98. package/esm2020/lib/components/link.wrapper.mjs +10 -29
  99. package/esm2020/lib/components/marque.wrapper.mjs +10 -29
  100. package/esm2020/lib/components/modal.wrapper.mjs +16 -31
  101. package/esm2020/lib/components/model-signature.wrapper.mjs +10 -29
  102. package/esm2020/lib/components/multi-select-option.wrapper.mjs +10 -29
  103. package/esm2020/lib/components/multi-select.wrapper.mjs +14 -31
  104. package/esm2020/lib/components/pagination.wrapper.mjs +16 -31
  105. package/esm2020/lib/components/pin-code.wrapper.mjs +14 -31
  106. package/esm2020/lib/components/popover.wrapper.mjs +10 -29
  107. package/esm2020/lib/components/radio-button-wrapper.wrapper.mjs +10 -29
  108. package/esm2020/lib/components/scroller.wrapper.mjs +10 -29
  109. package/esm2020/lib/components/segmented-control-item.wrapper.mjs +10 -29
  110. package/esm2020/lib/components/segmented-control.wrapper.mjs +16 -31
  111. package/esm2020/lib/components/select-wrapper.wrapper.mjs +10 -29
  112. package/esm2020/lib/components/spinner.wrapper.mjs +10 -29
  113. package/esm2020/lib/components/stepper-horizontal-item.wrapper.mjs +10 -29
  114. package/esm2020/lib/components/stepper-horizontal.wrapper.mjs +16 -31
  115. package/esm2020/lib/components/switch.wrapper.mjs +16 -31
  116. package/esm2020/lib/components/table-body.wrapper.mjs +9 -25
  117. package/esm2020/lib/components/table-cell.wrapper.mjs +10 -29
  118. package/esm2020/lib/components/table-head-cell.wrapper.mjs +10 -29
  119. package/esm2020/lib/components/table-head-row.wrapper.mjs +9 -25
  120. package/esm2020/lib/components/table-head.wrapper.mjs +9 -25
  121. package/esm2020/lib/components/table-row.wrapper.mjs +9 -25
  122. package/esm2020/lib/components/table.wrapper.mjs +16 -31
  123. package/esm2020/lib/components/tabs-bar.wrapper.mjs +16 -31
  124. package/esm2020/lib/components/tabs-item.wrapper.mjs +10 -29
  125. package/esm2020/lib/components/tabs.wrapper.mjs +16 -31
  126. package/esm2020/lib/components/tag-dismissible.wrapper.mjs +10 -29
  127. package/esm2020/lib/components/tag.wrapper.mjs +10 -29
  128. package/esm2020/lib/components/text-field-wrapper.wrapper.mjs +14 -31
  129. package/esm2020/lib/components/text-list-item.wrapper.mjs +9 -25
  130. package/esm2020/lib/components/text-list.wrapper.mjs +10 -29
  131. package/esm2020/lib/components/text.wrapper.mjs +10 -29
  132. package/esm2020/lib/components/textarea-wrapper.wrapper.mjs +10 -29
  133. package/esm2020/lib/components/toast.wrapper.mjs +10 -29
  134. package/esm2020/lib/components/wordmark.wrapper.mjs +10 -29
  135. package/esm2020/lib/types.mjs +1 -1
  136. package/esm2020/porsche-design-system.module.mjs +22 -5
  137. package/esm2020/public-api.mjs +2 -1
  138. package/esm2020/utils.mjs +43 -39
  139. package/fesm2015/porsche-design-system-components-angular.mjs +717 -2038
  140. package/fesm2015/porsche-design-system-components-angular.mjs.map +1 -1
  141. package/fesm2020/porsche-design-system-components-angular.mjs +717 -1782
  142. package/fesm2020/porsche-design-system-components-angular.mjs.map +1 -1
  143. package/package.json +5 -4
package/CHANGELOG.md CHANGED
@@ -14,9 +14,51 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
14
14
 
15
15
  ### [Unreleased]
16
16
 
17
- ### 3.8.0 - 2023-10-24
17
+ ### [3.9.0-rc.0] - 2023-11-23
18
18
 
19
- ### 3.8.0-rc.0 - 2023-10-23
19
+ #### Added
20
+
21
+ - Angular: `theme: 'light' | 'dark' | 'auto'` option to `PorscheDesignSystemModule.load()` to set `theme` on all child
22
+ components
23
+ ([#2872](https://github.com/porsche-design-system/porsche-design-system/pull/2872))
24
+ - React: `theme: 'light' | 'dark' | 'auto'` prop to `PorscheDesignSystemProvider` to set `theme` on all child
25
+ components
26
+ ([#2872](https://github.com/porsche-design-system/porsche-design-system/pull/2872))
27
+ - Vue: `theme: 'light' | 'dark' | 'auto'` prop to `PorscheDesignSystemProvider` to set `theme` on all child components
28
+ ([#2872](https://github.com/porsche-design-system/porsche-design-system/pull/2872))
29
+ - Validation for usage of different PDS versions
30
+ ([#2867](https://github.com/porsche-design-system/porsche-design-system/pull/2867))
31
+
32
+ #### Changed
33
+
34
+ - `Text Field Wrapper`, `Textarea Wrapper`, `Select Wrapper`, `Multi Select`, `Pin Code`, `Checkbox Wrapper` and
35
+ `Radio Button Wrapper` have improved visual alignment
36
+ ([#2854](https://github.com/porsche-design-system/porsche-design-system/pull/2854))
37
+ - `Text Field Wrapper` fully supports RTL (right-to-left) mode
38
+ ([#2854](https://github.com/porsche-design-system/porsche-design-system/pull/2854))
39
+ - `Pin Code`: Prop values from `1` to `6` are now supported for `length` prop
40
+ ([#2859](https://github.com/porsche-design-system/porsche-design-system/pull/2859))
41
+ - `Model Signature` asset for `model="macan"`
42
+ ([#2857](https://github.com/porsche-design-system/porsche-design-system/pull/2857))
43
+ - Use motion tokens in all components
44
+ ([#2834](https://github.com/porsche-design-system/porsche-design-system/pull/2834))
45
+
46
+ #### Fixed
47
+
48
+ - `Select Wrapper` keyboard and scroll behavior
49
+ ([#2864](https://github.com/porsche-design-system/porsche-design-system/pull/2864))
50
+ - Safari 15 default margin of button elements in several components
51
+ ([#2858](https://github.com/porsche-design-system/porsche-design-system/pull/2858))
52
+ - `Checkbox Wrapper` and `Radio Button Wrapper` border-color/background-color does not reset on hover
53
+ ([#2852](https://github.com/porsche-design-system/porsche-design-system/pull/2852))
54
+ - `Tabs Bar` losing `activeTabIndex` and underline in certain framework scenarios
55
+ ([#2896](https://github.com/porsche-design-system/porsche-design-system/pull/2896))
56
+ - `Modal` and `Flyout` body jumping in the background and scrolling back to the top in Next Js and Remix
57
+ ([#2890](https://github.com/porsche-design-system/porsche-design-system/pull/2890))
58
+
59
+ ### [3.8.0] - 2023-10-24
60
+
61
+ ### [3.8.0-rc.0] - 2023-10-23
20
62
 
21
63
  #### Added
22
64
 
@@ -1,9 +1,8 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { BaseComponentWithTheme } from '../../utils';
2
3
  import type { AccordionUpdateEvent, BreakpointCustomizable, AccordionSize, AccordionTag, Theme } from '../types';
3
4
  import * as i0 from "@angular/core";
4
- export declare class PAccordion {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
5
+ export declare class PAccordion extends BaseComponentWithTheme {
7
6
  compact?: boolean;
8
7
  heading?: string;
9
8
  open?: boolean;
@@ -13,7 +12,6 @@ export declare class PAccordion {
13
12
  /** @deprecated */
14
13
  accordionChange: EventEmitter<CustomEvent<AccordionUpdateEvent>>;
15
14
  update: EventEmitter<CustomEvent<AccordionUpdateEvent>>;
16
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
17
15
  static ɵfac: i0.ɵɵFactoryDeclaration<PAccordion, never>;
18
16
  static ɵcmp: i0.ɵɵComponentDeclaration<PAccordion, "p-accordion,[p-accordion]", never, { "compact": "compact"; "heading": "heading"; "open": "open"; "size": "size"; "tag": "tag"; "theme": "theme"; }, { "accordionChange": "accordionChange"; "update": "update"; }, never, ["*"], false, never>;
19
17
  }
@@ -1,9 +1,8 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { BaseComponentWithTheme } from '../../utils';
2
3
  import type { BannerState, Theme, BannerWidth } from '../types';
3
4
  import * as i0 from "@angular/core";
4
- export declare class PBanner {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
5
+ export declare class PBanner extends BaseComponentWithTheme {
7
6
  description?: string;
8
7
  dismissButton?: boolean;
9
8
  heading?: string;
@@ -15,7 +14,6 @@ export declare class PBanner {
15
14
  /** @deprecated */
16
15
  width?: BannerWidth;
17
16
  dismiss: EventEmitter<CustomEvent<void>>;
18
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
19
17
  static ɵfac: i0.ɵɵFactoryDeclaration<PBanner, never>;
20
18
  static ɵcmp: i0.ɵɵComponentDeclaration<PBanner, "p-banner,[p-banner]", never, { "description": "description"; "dismissButton": "dismissButton"; "heading": "heading"; "open": "open"; "persistent": "persistent"; "state": "state"; "theme": "theme"; "width": "width"; }, { "dismiss": "dismiss"; }, never, ["*"], false, never>;
21
19
  }
@@ -1,68 +1,5 @@
1
- import { PAccordion } from './accordion.wrapper';
2
- import { PBanner } from './banner.wrapper';
3
- import { PButton } from './button.wrapper';
4
- import { PButtonGroup } from './button-group.wrapper';
5
- import { PButtonPure } from './button-pure.wrapper';
6
- import { PButtonTile } from './button-tile.wrapper';
7
- import { PCarousel } from './carousel.wrapper';
8
- import { PCheckboxWrapper } from './checkbox-wrapper.wrapper';
9
- import { PContentWrapper } from './content-wrapper.wrapper';
10
- import { PCrest } from './crest.wrapper';
11
- import { PDisplay } from './display.wrapper';
12
- import { PDivider } from './divider.wrapper';
13
- import { PFieldset } from './fieldset.wrapper';
14
- import { PFieldsetWrapper } from './fieldset-wrapper.wrapper';
15
- import { PFlex } from './flex.wrapper';
16
- import { PFlexItem } from './flex-item.wrapper';
17
- import { PFlyout } from './flyout.wrapper';
18
- import { PGrid } from './grid.wrapper';
19
- import { PGridItem } from './grid-item.wrapper';
20
- import { PHeading } from './heading.wrapper';
21
- import { PHeadline } from './headline.wrapper';
22
- import { PIcon } from './icon.wrapper';
23
- import { PInlineNotification } from './inline-notification.wrapper';
24
- import { PLink } from './link.wrapper';
25
- import { PLinkPure } from './link-pure.wrapper';
26
- import { PLinkSocial } from './link-social.wrapper';
27
- import { PLinkTile } from './link-tile.wrapper';
28
- import { PLinkTileModelSignature } from './link-tile-model-signature.wrapper';
29
- import { PMarque } from './marque.wrapper';
30
- import { PModal } from './modal.wrapper';
31
- import { PModelSignature } from './model-signature.wrapper';
32
- import { PMultiSelect } from './multi-select.wrapper';
33
- import { PMultiSelectOption } from './multi-select-option.wrapper';
34
- import { PPagination } from './pagination.wrapper';
35
- import { PPinCode } from './pin-code.wrapper';
36
- import { PPopover } from './popover.wrapper';
37
- import { PRadioButtonWrapper } from './radio-button-wrapper.wrapper';
38
- import { PScroller } from './scroller.wrapper';
39
- import { PSegmentedControl } from './segmented-control.wrapper';
40
- import { PSegmentedControlItem } from './segmented-control-item.wrapper';
41
- import { PSelectWrapper } from './select-wrapper.wrapper';
42
- import { PSpinner } from './spinner.wrapper';
43
- import { PStepperHorizontal } from './stepper-horizontal.wrapper';
44
- import { PStepperHorizontalItem } from './stepper-horizontal-item.wrapper';
45
- import { PSwitch } from './switch.wrapper';
46
- import { PTable } from './table.wrapper';
47
1
  import { PTableBody } from './table-body.wrapper';
48
- import { PTableCell } from './table-cell.wrapper';
49
- import { PTableHead } from './table-head.wrapper';
50
- import { PTableHeadCell } from './table-head-cell.wrapper';
51
- import { PTableHeadRow } from './table-head-row.wrapper';
52
- import { PTableRow } from './table-row.wrapper';
53
- import { PTabs } from './tabs.wrapper';
54
- import { PTabsBar } from './tabs-bar.wrapper';
55
- import { PTabsItem } from './tabs-item.wrapper';
56
- import { PTag } from './tag.wrapper';
57
- import { PTagDismissible } from './tag-dismissible.wrapper';
58
- import { PText } from './text.wrapper';
59
- import { PTextFieldWrapper } from './text-field-wrapper.wrapper';
60
- import { PTextList } from './text-list.wrapper';
61
- import { PTextListItem } from './text-list-item.wrapper';
62
- import { PTextareaWrapper } from './textarea-wrapper.wrapper';
63
- import { PToast } from './toast.wrapper';
64
- import { PWordmark } from './wordmark.wrapper';
65
- export declare const DECLARATIONS: (typeof PAccordion | typeof PBanner | typeof PButton | typeof PButtonGroup | typeof PButtonPure | typeof PButtonTile | typeof PCarousel | typeof PCheckboxWrapper | typeof PContentWrapper | typeof PCrest | typeof PDisplay | typeof PDivider | typeof PFieldset | typeof PFieldsetWrapper | typeof PFlex | typeof PFlexItem | typeof PFlyout | typeof PGrid | typeof PGridItem | typeof PHeading | typeof PHeadline | typeof PIcon | typeof PInlineNotification | typeof PLink | typeof PLinkPure | typeof PLinkSocial | typeof PLinkTile | typeof PLinkTileModelSignature | typeof PMarque | typeof PModal | typeof PModelSignature | typeof PMultiSelect | typeof PMultiSelectOption | typeof PPagination | typeof PPinCode | typeof PPopover | typeof PRadioButtonWrapper | typeof PScroller | typeof PSegmentedControl | typeof PSegmentedControlItem | typeof PSelectWrapper | typeof PSpinner | typeof PStepperHorizontal | typeof PStepperHorizontalItem | typeof PSwitch | typeof PTable | typeof PTableBody | typeof PTableCell | typeof PTableHead | typeof PTableHeadCell | typeof PTableHeadRow | typeof PTableRow | typeof PTabs | typeof PTabsBar | typeof PTabsItem | typeof PTag | typeof PTagDismissible | typeof PText | typeof PTextFieldWrapper | typeof PTextList | typeof PTextListItem | typeof PTextareaWrapper | typeof PToast | typeof PWordmark)[];
2
+ export declare const DECLARATIONS: (typeof PTableBody)[];
66
3
  export * from './accordion.wrapper';
67
4
  export * from './banner.wrapper';
68
5
  export * from './button.wrapper';
@@ -1,11 +1,8 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponent } from '../../utils';
2
2
  import type { BreakpointCustomizable, ButtonGroupDirection } from '../types';
3
3
  import * as i0 from "@angular/core";
4
- export declare class PButtonGroup {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
4
+ export declare class PButtonGroup extends BaseComponent {
7
5
  direction?: BreakpointCustomizable<ButtonGroupDirection>;
8
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
9
6
  static ɵfac: i0.ɵɵFactoryDeclaration<PButtonGroup, never>;
10
7
  static ɵcmp: i0.ɵɵComponentDeclaration<PButtonGroup, "p-button-group,[p-button-group]", never, { "direction": "direction"; }, {}, never, ["*"], false, never>;
11
8
  }
@@ -1,9 +1,7 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponentWithTheme } from '../../utils';
2
2
  import type { BreakpointCustomizable, ButtonPureAlignLabel, SelectedAriaAttributes, ButtonPureAriaAttribute, ButtonPureIcon, ButtonPureSize, Theme, ButtonPureType, ButtonPureWeight } from '../types';
3
3
  import * as i0 from "@angular/core";
4
- export declare class PButtonPure {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
4
+ export declare class PButtonPure extends BaseComponentWithTheme {
7
5
  active?: boolean;
8
6
  alignLabel?: BreakpointCustomizable<ButtonPureAlignLabel>;
9
7
  aria?: SelectedAriaAttributes<ButtonPureAriaAttribute>;
@@ -12,13 +10,14 @@ export declare class PButtonPure {
12
10
  icon?: ButtonPureIcon;
13
11
  iconSource?: string;
14
12
  loading?: boolean;
13
+ name?: string;
15
14
  size?: BreakpointCustomizable<ButtonPureSize>;
16
15
  stretch?: BreakpointCustomizable<boolean>;
17
16
  theme?: Theme;
18
17
  type?: ButtonPureType;
18
+ value?: string;
19
19
  /** @deprecated */
20
20
  weight?: ButtonPureWeight;
21
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
22
21
  static ɵfac: i0.ɵɵFactoryDeclaration<PButtonPure, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<PButtonPure, "p-button-pure,[p-button-pure]", never, { "active": "active"; "alignLabel": "alignLabel"; "aria": "aria"; "disabled": "disabled"; "hideLabel": "hideLabel"; "icon": "icon"; "iconSource": "iconSource"; "loading": "loading"; "size": "size"; "stretch": "stretch"; "theme": "theme"; "type": "type"; "weight": "weight"; }, {}, never, ["*"], false, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<PButtonPure, "p-button-pure,[p-button-pure]", never, { "active": "active"; "alignLabel": "alignLabel"; "aria": "aria"; "disabled": "disabled"; "hideLabel": "hideLabel"; "icon": "icon"; "iconSource": "iconSource"; "loading": "loading"; "name": "name"; "size": "size"; "stretch": "stretch"; "theme": "theme"; "type": "type"; "value": "value"; "weight": "weight"; }, {}, never, ["*"], false, never>;
24
23
  }
@@ -1,9 +1,7 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponent } from '../../utils';
2
2
  import type { ButtonTileAlign, SelectedAriaAttributes, ButtonTileAriaAttribute, BreakpointCustomizable, ButtonTileAspectRatio, ButtonTileBackground, ButtonTileIcon, ButtonTileSize, ButtonTileType, ButtonTileWeight } from '../types';
3
3
  import * as i0 from "@angular/core";
4
- export declare class PButtonTile {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
4
+ export declare class PButtonTile extends BaseComponent {
7
5
  align?: ButtonTileAlign;
8
6
  aria?: SelectedAriaAttributes<ButtonTileAriaAttribute>;
9
7
  aspectRatio?: BreakpointCustomizable<ButtonTileAspectRatio>;
@@ -19,7 +17,6 @@ export declare class PButtonTile {
19
17
  size?: BreakpointCustomizable<ButtonTileSize>;
20
18
  type?: ButtonTileType;
21
19
  weight?: BreakpointCustomizable<ButtonTileWeight>;
22
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
23
20
  static ɵfac: i0.ɵɵFactoryDeclaration<PButtonTile, never>;
24
21
  static ɵcmp: i0.ɵɵComponentDeclaration<PButtonTile, "p-button-tile,[p-button-tile]", never, { "align": "align"; "aria": "aria"; "aspectRatio": "aspectRatio"; "background": "background"; "compact": "compact"; "description": "description"; "disabled": "disabled"; "gradient": "gradient"; "icon": "icon"; "iconSource": "iconSource"; "label": "label"; "loading": "loading"; "size": "size"; "type": "type"; "weight": "weight"; }, {}, never, ["*"], false, never>;
25
22
  }
@@ -1,19 +1,18 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponentWithTheme } from '../../utils';
2
2
  import type { SelectedAriaAttributes, ButtonAriaAttribute, BreakpointCustomizable, ButtonIcon, Theme, ButtonType, ButtonVariant } from '../types';
3
3
  import * as i0 from "@angular/core";
4
- export declare class PButton {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
4
+ export declare class PButton extends BaseComponentWithTheme {
7
5
  aria?: SelectedAriaAttributes<ButtonAriaAttribute>;
8
6
  disabled?: boolean;
9
7
  hideLabel?: BreakpointCustomizable<boolean>;
10
8
  icon?: ButtonIcon;
11
9
  iconSource?: string;
12
10
  loading?: boolean;
11
+ name?: string;
13
12
  theme?: Theme;
14
13
  type?: ButtonType;
14
+ value?: string;
15
15
  variant?: ButtonVariant;
16
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
17
16
  static ɵfac: i0.ɵɵFactoryDeclaration<PButton, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<PButton, "p-button,[p-button]", never, { "aria": "aria"; "disabled": "disabled"; "hideLabel": "hideLabel"; "icon": "icon"; "iconSource": "iconSource"; "loading": "loading"; "theme": "theme"; "type": "type"; "variant": "variant"; }, {}, never, ["*"], false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<PButton, "p-button,[p-button]", never, { "aria": "aria"; "disabled": "disabled"; "hideLabel": "hideLabel"; "icon": "icon"; "iconSource": "iconSource"; "loading": "loading"; "name": "name"; "theme": "theme"; "type": "type"; "value": "value"; "variant": "variant"; }, {}, never, ["*"], false, never>;
19
18
  }
@@ -1,9 +1,8 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { BaseComponentWithTheme } from '../../utils';
2
3
  import type { CarouselAlignHeader, BreakpointCustomizable, CarouselInternationalization, CarouselUpdateEvent, Theme, CarouselWidth } from '../types';
3
4
  import * as i0 from "@angular/core";
4
- export declare class PCarousel {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
5
+ export declare class PCarousel extends BaseComponentWithTheme {
7
6
  activeSlideIndex?: number;
8
7
  alignHeader?: CarouselAlignHeader;
9
8
  description?: string;
@@ -22,7 +21,6 @@ export declare class PCarousel {
22
21
  /** @deprecated */
23
22
  carouselChange: EventEmitter<CustomEvent<CarouselUpdateEvent>>;
24
23
  update: EventEmitter<CustomEvent<CarouselUpdateEvent>>;
25
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
26
24
  static ɵfac: i0.ɵɵFactoryDeclaration<PCarousel, never>;
27
25
  static ɵcmp: i0.ɵɵComponentDeclaration<PCarousel, "p-carousel,[p-carousel]", never, { "activeSlideIndex": "activeSlideIndex"; "alignHeader": "alignHeader"; "description": "description"; "disablePagination": "disablePagination"; "heading": "heading"; "intl": "intl"; "pagination": "pagination"; "rewind": "rewind"; "skipLinkTarget": "skipLinkTarget"; "slidesPerPage": "slidesPerPage"; "theme": "theme"; "width": "width"; "wrapContent": "wrapContent"; }, { "carouselChange": "carouselChange"; "update": "update"; }, never, ["*"], false, never>;
28
26
  }
@@ -1,16 +1,13 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponentWithTheme } from '../../utils';
2
2
  import type { BreakpointCustomizable, CheckboxWrapperState, Theme } from '../types';
3
3
  import * as i0 from "@angular/core";
4
- export declare class PCheckboxWrapper {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
4
+ export declare class PCheckboxWrapper extends BaseComponentWithTheme {
7
5
  hideLabel?: BreakpointCustomizable<boolean>;
8
6
  label?: string;
9
7
  loading?: boolean;
10
8
  message?: string;
11
9
  state?: CheckboxWrapperState;
12
10
  theme?: Theme;
13
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
14
11
  static ɵfac: i0.ɵɵFactoryDeclaration<PCheckboxWrapper, never>;
15
12
  static ɵcmp: i0.ɵɵComponentDeclaration<PCheckboxWrapper, "p-checkbox-wrapper,[p-checkbox-wrapper]", never, { "hideLabel": "hideLabel"; "label": "label"; "loading": "loading"; "message": "message"; "state": "state"; "theme": "theme"; }, {}, never, ["*"], false, never>;
16
13
  }
@@ -1,16 +1,13 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponentWithTheme } from '../../utils';
2
2
  import type { ContentWrapperBackgroundColor, Theme, ContentWrapperWidth } from '../types';
3
3
  import * as i0 from "@angular/core";
4
4
  /** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
5
- export declare class PContentWrapper {
6
- protected z: NgZone;
7
- protected el: HTMLElement;
5
+ export declare class PContentWrapper extends BaseComponentWithTheme {
8
6
  /** @deprecated */
9
7
  backgroundColor?: ContentWrapperBackgroundColor;
10
8
  /** @deprecated */
11
9
  theme?: Theme;
12
10
  width?: ContentWrapperWidth;
13
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
14
11
  static ɵfac: i0.ɵɵFactoryDeclaration<PContentWrapper, never>;
15
12
  static ɵcmp: i0.ɵɵComponentDeclaration<PContentWrapper, "p-content-wrapper,[p-content-wrapper]", never, { "backgroundColor": "backgroundColor"; "theme": "theme"; "width": "width"; }, {}, never, ["*"], false, never>;
16
13
  }
@@ -1,13 +1,10 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponent } from '../../utils';
2
2
  import type { SelectedAriaAttributes, CrestAriaAttribute, CrestTarget } from '../types';
3
3
  import * as i0 from "@angular/core";
4
- export declare class PCrest {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
4
+ export declare class PCrest extends BaseComponent {
7
5
  aria?: SelectedAriaAttributes<CrestAriaAttribute>;
8
6
  href?: string;
9
7
  target?: CrestTarget;
10
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
11
8
  static ɵfac: i0.ɵɵFactoryDeclaration<PCrest, never>;
12
9
  static ɵcmp: i0.ɵɵComponentDeclaration<PCrest, "p-crest,[p-crest]", never, { "aria": "aria"; "href": "href"; "target": "target"; }, {}, never, ["*"], false, never>;
13
10
  }
@@ -1,16 +1,13 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponentWithTheme } from '../../utils';
2
2
  import type { DisplayAlign, DisplayColor, BreakpointCustomizable, DisplaySize, DisplayTag, Theme } from '../types';
3
3
  import * as i0 from "@angular/core";
4
- export declare class PDisplay {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
4
+ export declare class PDisplay extends BaseComponentWithTheme {
7
5
  align?: DisplayAlign;
8
6
  color?: DisplayColor;
9
7
  ellipsis?: boolean;
10
8
  size?: BreakpointCustomizable<DisplaySize>;
11
9
  tag?: DisplayTag;
12
10
  theme?: Theme;
13
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
14
11
  static ɵfac: i0.ɵɵFactoryDeclaration<PDisplay, never>;
15
12
  static ɵcmp: i0.ɵɵComponentDeclaration<PDisplay, "p-display,[p-display]", never, { "align": "align"; "color": "color"; "ellipsis": "ellipsis"; "size": "size"; "tag": "tag"; "theme": "theme"; }, {}, never, ["*"], false, never>;
16
13
  }
@@ -1,15 +1,12 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponentWithTheme } from '../../utils';
2
2
  import type { DividerColor, BreakpointCustomizable, DividerDirection, DividerOrientation, Theme } from '../types';
3
3
  import * as i0 from "@angular/core";
4
- export declare class PDivider {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
4
+ export declare class PDivider extends BaseComponentWithTheme {
7
5
  color?: DividerColor;
8
6
  direction?: BreakpointCustomizable<DividerDirection>;
9
7
  /** @deprecated */
10
8
  orientation?: BreakpointCustomizable<DividerOrientation>;
11
9
  theme?: Theme;
12
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
13
10
  static ɵfac: i0.ɵɵFactoryDeclaration<PDivider, never>;
14
11
  static ɵcmp: i0.ɵɵComponentDeclaration<PDivider, "p-divider,[p-divider]", never, { "color": "color"; "direction": "direction"; "orientation": "orientation"; "theme": "theme"; }, {}, never, ["*"], false, never>;
15
12
  }
@@ -1,17 +1,14 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponentWithTheme } from '../../utils';
2
2
  import type { FieldsetWrapperLabelSize, FieldsetWrapperState, Theme } from '../types';
3
3
  import * as i0 from "@angular/core";
4
4
  /** @deprecated since v3.0.0, will be removed with next major release. Please use "p-fieldset" instead. */
5
- export declare class PFieldsetWrapper {
6
- protected z: NgZone;
7
- protected el: HTMLElement;
5
+ export declare class PFieldsetWrapper extends BaseComponentWithTheme {
8
6
  label?: string;
9
7
  labelSize?: FieldsetWrapperLabelSize;
10
8
  message?: string;
11
9
  required?: boolean;
12
10
  state?: FieldsetWrapperState;
13
11
  theme?: Theme;
14
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
15
12
  static ɵfac: i0.ɵɵFactoryDeclaration<PFieldsetWrapper, never>;
16
13
  static ɵcmp: i0.ɵɵComponentDeclaration<PFieldsetWrapper, "p-fieldset-wrapper,[p-fieldset-wrapper]", never, { "label": "label"; "labelSize": "labelSize"; "message": "message"; "required": "required"; "state": "state"; "theme": "theme"; }, {}, never, ["*"], false, never>;
17
14
  }
@@ -1,16 +1,13 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponentWithTheme } from '../../utils';
2
2
  import type { FieldsetLabelSize, FieldsetState, Theme } from '../types';
3
3
  import * as i0 from "@angular/core";
4
- export declare class PFieldset {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
4
+ export declare class PFieldset extends BaseComponentWithTheme {
7
5
  label?: string;
8
6
  labelSize?: FieldsetLabelSize;
9
7
  message?: string;
10
8
  required?: boolean;
11
9
  state?: FieldsetState;
12
10
  theme?: Theme;
13
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
14
11
  static ɵfac: i0.ɵɵFactoryDeclaration<PFieldset, never>;
15
12
  static ɵcmp: i0.ɵɵComponentDeclaration<PFieldset, "p-fieldset,[p-fieldset]", never, { "label": "label"; "labelSize": "labelSize"; "message": "message"; "required": "required"; "state": "state"; "theme": "theme"; }, {}, never, ["*"], false, never>;
16
13
  }
@@ -1,17 +1,14 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponent } from '../../utils';
2
2
  import type { BreakpointCustomizable, FlexItemAlignSelf, FlexItemFlex, FlexItemGrow, FlexItemOffset, FlexItemShrink, FlexItemWidth } from '../types';
3
3
  import * as i0 from "@angular/core";
4
4
  /** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Flex instead. */
5
- export declare class PFlexItem {
6
- protected z: NgZone;
7
- protected el: HTMLElement;
5
+ export declare class PFlexItem extends BaseComponent {
8
6
  alignSelf?: BreakpointCustomizable<FlexItemAlignSelf>;
9
7
  flex?: BreakpointCustomizable<FlexItemFlex>;
10
8
  grow?: BreakpointCustomizable<FlexItemGrow>;
11
9
  offset?: BreakpointCustomizable<FlexItemOffset>;
12
10
  shrink?: BreakpointCustomizable<FlexItemShrink>;
13
11
  width?: BreakpointCustomizable<FlexItemWidth>;
14
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
15
12
  static ɵfac: i0.ɵɵFactoryDeclaration<PFlexItem, never>;
16
13
  static ɵcmp: i0.ɵɵComponentDeclaration<PFlexItem, "p-flex-item,[p-flex-item]", never, { "alignSelf": "alignSelf"; "flex": "flex"; "grow": "grow"; "offset": "offset"; "shrink": "shrink"; "width": "width"; }, {}, never, ["*"], false, never>;
17
14
  }
@@ -1,17 +1,14 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponent } from '../../utils';
2
2
  import type { BreakpointCustomizable, FlexAlignContent, FlexAlignItems, FlexDirection, FlexInline, FlexJustifyContent, FlexWrap } from '../types';
3
3
  import * as i0 from "@angular/core";
4
4
  /** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Flex instead. */
5
- export declare class PFlex {
6
- protected z: NgZone;
7
- protected el: HTMLElement;
5
+ export declare class PFlex extends BaseComponent {
8
6
  alignContent?: BreakpointCustomizable<FlexAlignContent>;
9
7
  alignItems?: BreakpointCustomizable<FlexAlignItems>;
10
8
  direction?: BreakpointCustomizable<FlexDirection>;
11
9
  inline?: BreakpointCustomizable<FlexInline>;
12
10
  justifyContent?: BreakpointCustomizable<FlexJustifyContent>;
13
11
  wrap?: BreakpointCustomizable<FlexWrap>;
14
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
15
12
  static ɵfac: i0.ɵɵFactoryDeclaration<PFlex, never>;
16
13
  static ɵcmp: i0.ɵɵComponentDeclaration<PFlex, "p-flex,[p-flex]", never, { "alignContent": "alignContent"; "alignItems": "alignItems"; "direction": "direction"; "inline": "inline"; "justifyContent": "justifyContent"; "wrap": "wrap"; }, {}, never, ["*"], false, never>;
17
14
  }
@@ -1,15 +1,13 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { BaseComponentWithTheme } from '../../utils';
2
3
  import type { SelectedAriaAttributes, FlyoutAriaAttribute, FlyoutPosition, Theme } from '../types';
3
4
  import * as i0 from "@angular/core";
4
- export declare class PFlyout {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
5
+ export declare class PFlyout extends BaseComponentWithTheme {
7
6
  aria?: SelectedAriaAttributes<FlyoutAriaAttribute>;
8
7
  open: boolean;
9
8
  position?: FlyoutPosition;
10
9
  theme?: Theme;
11
10
  dismiss: EventEmitter<CustomEvent<void>>;
12
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
13
11
  static ɵfac: i0.ɵɵFactoryDeclaration<PFlyout, never>;
14
12
  static ɵcmp: i0.ɵɵComponentDeclaration<PFlyout, "p-flyout,[p-flyout]", never, { "aria": "aria"; "open": "open"; "position": "position"; "theme": "theme"; }, { "dismiss": "dismiss"; }, never, ["*"], false, never>;
15
13
  }
@@ -1,13 +1,10 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponent } from '../../utils';
2
2
  import type { BreakpointCustomizable, GridItemOffset, GridItemSize } from '../types';
3
3
  import * as i0 from "@angular/core";
4
4
  /** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
5
- export declare class PGridItem {
6
- protected z: NgZone;
7
- protected el: HTMLElement;
5
+ export declare class PGridItem extends BaseComponent {
8
6
  offset?: BreakpointCustomizable<GridItemOffset>;
9
7
  size?: BreakpointCustomizable<GridItemSize>;
10
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
11
8
  static ɵfac: i0.ɵɵFactoryDeclaration<PGridItem, never>;
12
9
  static ɵcmp: i0.ɵɵComponentDeclaration<PGridItem, "p-grid-item,[p-grid-item]", never, { "offset": "offset"; "size": "size"; }, {}, never, ["*"], false, never>;
13
10
  }
@@ -1,15 +1,12 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponent } from '../../utils';
2
2
  import type { BreakpointCustomizable, GridDirection, GridGutter, GridWrap } from '../types';
3
3
  import * as i0 from "@angular/core";
4
4
  /** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
5
- export declare class PGrid {
6
- protected z: NgZone;
7
- protected el: HTMLElement;
5
+ export declare class PGrid extends BaseComponent {
8
6
  direction?: BreakpointCustomizable<GridDirection>;
9
7
  /** @deprecated */
10
8
  gutter?: BreakpointCustomizable<GridGutter>;
11
9
  wrap?: BreakpointCustomizable<GridWrap>;
12
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
13
10
  static ɵfac: i0.ɵɵFactoryDeclaration<PGrid, never>;
14
11
  static ɵcmp: i0.ɵɵComponentDeclaration<PGrid, "p-grid,[p-grid]", never, { "direction": "direction"; "gutter": "gutter"; "wrap": "wrap"; }, {}, never, ["*"], false, never>;
15
12
  }
@@ -1,16 +1,13 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponentWithTheme } from '../../utils';
2
2
  import type { HeadingAlign, HeadingColor, BreakpointCustomizable, HeadingSize, HeadingTag, Theme } from '../types';
3
3
  import * as i0 from "@angular/core";
4
- export declare class PHeading {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
4
+ export declare class PHeading extends BaseComponentWithTheme {
7
5
  align?: HeadingAlign;
8
6
  color?: HeadingColor;
9
7
  ellipsis?: boolean;
10
8
  size?: BreakpointCustomizable<HeadingSize>;
11
9
  tag?: HeadingTag;
12
10
  theme?: Theme;
13
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
14
11
  static ɵfac: i0.ɵɵFactoryDeclaration<PHeading, never>;
15
12
  static ɵcmp: i0.ɵɵComponentDeclaration<PHeading, "p-heading,[p-heading]", never, { "align": "align"; "color": "color"; "ellipsis": "ellipsis"; "size": "size"; "tag": "tag"; "theme": "theme"; }, {}, never, ["*"], false, never>;
16
13
  }
@@ -1,17 +1,14 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponentWithTheme } from '../../utils';
2
2
  import type { HeadlineAlign, HeadlineColor, HeadlineTag, Theme, HeadlineVariant } from '../types';
3
3
  import * as i0 from "@angular/core";
4
4
  /** @deprecated since v3.0.0, will be removed with next major release. Please use "p-heading" instead. */
5
- export declare class PHeadline {
6
- protected z: NgZone;
7
- protected el: HTMLElement;
5
+ export declare class PHeadline extends BaseComponentWithTheme {
8
6
  align?: HeadlineAlign;
9
7
  color?: HeadlineColor;
10
8
  ellipsis?: boolean;
11
9
  tag?: HeadlineTag;
12
10
  theme?: Theme;
13
11
  variant?: HeadlineVariant;
14
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
15
12
  static ɵfac: i0.ɵɵFactoryDeclaration<PHeadline, never>;
16
13
  static ɵcmp: i0.ɵɵComponentDeclaration<PHeadline, "p-headline,[p-headline]", never, { "align": "align"; "color": "color"; "ellipsis": "ellipsis"; "tag": "tag"; "theme": "theme"; "variant": "variant"; }, {}, never, ["*"], false, never>;
17
14
  }
@@ -1,9 +1,7 @@
1
- import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
1
+ import { BaseComponentWithTheme } from '../../utils';
2
2
  import type { SelectedAriaAttributes, IconAriaAttribute, IconColor, IconName, IconSize, Theme } from '../types';
3
3
  import * as i0 from "@angular/core";
4
- export declare class PIcon {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
4
+ export declare class PIcon extends BaseComponentWithTheme {
7
5
  aria?: SelectedAriaAttributes<IconAriaAttribute>;
8
6
  color?: IconColor;
9
7
  /** @deprecated */
@@ -12,7 +10,6 @@ export declare class PIcon {
12
10
  size?: IconSize;
13
11
  source?: string;
14
12
  theme?: Theme;
15
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
16
13
  static ɵfac: i0.ɵɵFactoryDeclaration<PIcon, never>;
17
14
  static ɵcmp: i0.ɵɵComponentDeclaration<PIcon, "p-icon,[p-icon]", never, { "aria": "aria"; "color": "color"; "lazy": "lazy"; "name": "name"; "size": "size"; "source": "source"; "theme": "theme"; }, {}, never, ["*"], false, never>;
18
15
  }
@@ -1,9 +1,8 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { BaseComponentWithTheme } from '../../utils';
2
3
  import type { InlineNotificationActionIcon, InlineNotificationState, Theme } from '../types';
3
4
  import * as i0 from "@angular/core";
4
- export declare class PInlineNotification {
5
- protected z: NgZone;
6
- protected el: HTMLElement;
5
+ export declare class PInlineNotification extends BaseComponentWithTheme {
7
6
  actionIcon?: InlineNotificationActionIcon;
8
7
  actionLabel?: string;
9
8
  actionLoading?: boolean;
@@ -16,7 +15,6 @@ export declare class PInlineNotification {
16
15
  theme?: Theme;
17
16
  action: EventEmitter<CustomEvent<void>>;
18
17
  dismiss: EventEmitter<CustomEvent<void>>;
19
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
20
18
  static ɵfac: i0.ɵɵFactoryDeclaration<PInlineNotification, never>;
21
19
  static ɵcmp: i0.ɵɵComponentDeclaration<PInlineNotification, "p-inline-notification,[p-inline-notification]", never, { "actionIcon": "actionIcon"; "actionLabel": "actionLabel"; "actionLoading": "actionLoading"; "description": "description"; "dismissButton": "dismissButton"; "heading": "heading"; "persistent": "persistent"; "state": "state"; "theme": "theme"; }, { "action": "action"; "dismiss": "dismiss"; }, never, ["*"], false, never>;
22
20
  }