@pumpkin-tech/pumpkin-tech-ng 0.2.54 → 0.2.55

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.
package/index.d.ts CHANGED
@@ -280,6 +280,16 @@ declare class ButtonComponent extends BaseField {
280
280
  };
281
281
  private readonly DEFAULT_TEXT_COLOR;
282
282
  get dashedTextColor(): string | null;
283
+ /**
284
+ * `textColor`'s default (white "on-accent") is only correct for variants Material actually
285
+ * fills with the theme color (raised/flat/fab/etc) - for unfilled variants (basic/stroked/
286
+ * link, transparent or outlined-only background) it made the label/icon invisible (white on
287
+ * white/transparent) unless every single consumer remembered to override [textColor]
288
+ * manually. Same "only apply when explicitly customized" pattern as dashedTextColor above;
289
+ * when not customized, returning null here lets Material's own [color]="themeColor" binding
290
+ * (already correct for these variants out of the box) take over unopposed.
291
+ */
292
+ get unfilledTextColor(): string | null;
283
293
  get dashedColor(): string;
284
294
  get isThemeColor(): boolean;
285
295
  get themeColor(): ThemePalette | undefined;
@@ -508,7 +518,7 @@ declare class BreadcrumbComponent {
508
518
  hasStartIcon: boolean;
509
519
  isLast(route: BreadcrumbRoute): boolean;
510
520
  static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
511
- static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "ptech-breadcrumb", never, { "routes": { "alias": "routes"; "required": false; }; "hasStartIcon": { "alias": "hasStartIcon"; "required": false; }; }, {}, never, ["[start-icon]"], true, never>;
521
+ static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "ptech-breadcrumb", never, { "routes": { "alias": "routes"; "required": false; }; "hasStartIcon": { "alias": "hasStartIcon"; "required": false; }; }, {}, never, ["[start-icon]", "[end-content]"], true, never>;
512
522
  }
513
523
 
514
524
  interface HeaderData {
@@ -1492,7 +1502,8 @@ declare class ExpansionPanelComponent {
1492
1502
 
1493
1503
  type PtechAutocompleteDataSource<T> = (term: string) => Observable<T[]> | Promise<T[]> | T[];
1494
1504
  declare class PtechAutocompleteComponent<T = any> extends BaseField implements ControlValueAccessor, OnChanges, OnDestroy {
1495
- constructor(el: ElementRef<HTMLElement>);
1505
+ private cdr;
1506
+ constructor(el: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
1496
1507
  searchInput?: ElementRef<HTMLInputElement>;
1497
1508
  optionTemplate?: TemplateRef<any>;
1498
1509
  multiple: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pumpkin-tech/pumpkin-tech-ng",
3
- "version": "0.2.54",
3
+ "version": "0.2.55",
4
4
  "description": "Biblioteca Angular com utilitários e componentes Pumpkin Tech",
5
5
  "license": "MIT",
6
6
  "keywords": [