itc-components-library20 1.0.1 → 2.0.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.
package/index.d.ts CHANGED
@@ -10,6 +10,7 @@ import { PrimeNG } from 'primeng/config';
10
10
  import { HttpClient } from '@angular/common/http';
11
11
  import { Observable } from 'rxjs';
12
12
  import * as AWS from 'aws-sdk';
13
+ import { IconProp } from '@fortawesome/fontawesome-svg-core';
13
14
 
14
15
  declare class ItcLibrary20 {
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ItcLibrary20, never>;
@@ -1940,5 +1941,29 @@ declare class ApiReportService {
1940
1941
  static ɵprov: i0.ɵɵInjectableDeclaration<ApiReportService>;
1941
1942
  }
1942
1943
 
1943
- export { API_CONFIG, ApiAccountDictionaryService, ApiAccountService, ApiAdministrationService, ApiEventService, ApiExamAppointmentService, ApiExamDictionaryService, ApiExamService, ApiGeographyService, ApiKitService, ApiPatientDictionaryService, ApiPatientService, ApiReportService, ApiRequestDictionaryService, ApiRequestService, ApiStructureDictionaryService, ApiStructureService, ApiSurveyDictionaryService, ApiSurveyService, BasicTable, Calendar, CalendarView, FormatDate, ItcLibrary20, Message, Minio, PRIMENG_ITALIAN_LOCALE, PrimaryButton, PrimengItalianLocale, SecondaryButton, SortableTable, Survey, SurveyRadio, SurveyText, SurveyValuebox, ThirdButton };
1944
- export type { IAppointment, IColumn, IMinio, IQuestionAnswer };
1944
+ type ButtonVariant = 'primary' | 'secondary' | 'third' | 'fourth';
1945
+ declare class Button {
1946
+ variant: i0.InputSignal<ButtonVariant>;
1947
+ label: i0.InputSignal<string | undefined>;
1948
+ icon: i0.InputSignal<IconProp | undefined>;
1949
+ disabled: i0.InputSignal<boolean>;
1950
+ ariaLabel: i0.InputSignal<string | undefined>;
1951
+ bgColor: i0.InputSignal<string>;
1952
+ textColor: i0.InputSignal<string>;
1953
+ borderColor: i0.InputSignal<string>;
1954
+ iconColor: i0.InputSignal<string>;
1955
+ clicked: i0.OutputEmitterRef<void>;
1956
+ protected classes: i0.Signal<string>;
1957
+ protected styles: i0.Signal<{
1958
+ '--btn-bg': string;
1959
+ '--btn-color': string;
1960
+ '--btn-border-color': string;
1961
+ '--btn-icon-color': string;
1962
+ }>;
1963
+ protected handleClick(): void;
1964
+ static ɵfac: i0.ɵɵFactoryDeclaration<Button, never>;
1965
+ static ɵcmp: i0.ɵɵComponentDeclaration<Button, "lib-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "bgColor": { "alias": "bgColor"; "required": false; "isSignal": true; }; "textColor": { "alias": "textColor"; "required": false; "isSignal": true; }; "borderColor": { "alias": "borderColor"; "required": false; "isSignal": true; }; "iconColor": { "alias": "iconColor"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
1966
+ }
1967
+
1968
+ export { API_CONFIG, ApiAccountDictionaryService, ApiAccountService, ApiAdministrationService, ApiEventService, ApiExamAppointmentService, ApiExamDictionaryService, ApiExamService, ApiGeographyService, ApiKitService, ApiPatientDictionaryService, ApiPatientService, ApiReportService, ApiRequestDictionaryService, ApiRequestService, ApiStructureDictionaryService, ApiStructureService, ApiSurveyDictionaryService, ApiSurveyService, BasicTable, Button, Calendar, CalendarView, FormatDate, ItcLibrary20, Message, Minio, PRIMENG_ITALIAN_LOCALE, PrimaryButton, PrimengItalianLocale, SecondaryButton, SortableTable, Survey, SurveyRadio, SurveyText, SurveyValuebox, ThirdButton };
1969
+ export type { ButtonVariant, IAppointment, IColumn, IMinio, IQuestionAnswer };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itc-components-library20",
3
- "version": "1.0.1",
3
+ "version": "2.0.0",
4
4
  "description": "Library of Angular components for ITC projects, compatible with Angular 20.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.2.0",