@vsn-ux/ngx-gaia 0.8.1 → 0.8.3

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
@@ -561,6 +561,14 @@ declare class GaModalDescriptionDirective implements AfterViewInit {
561
561
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaModalDescriptionDirective, [{ attribute: "id"; }]>;
562
562
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaModalDescriptionDirective, "[gaModalDescription]", never, {}, {}, never, never, true, never>;
563
563
  }
564
+ declare class GaModalLabelDirective {
565
+ private readonly renderer;
566
+ private readonly elementRef;
567
+ private readonly id;
568
+ constructor(id?: string);
569
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaModalLabelDirective, [{ attribute: "id"; }]>;
570
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<GaModalLabelDirective, "[gaModalLabel]", never, {}, {}, never, never, true, never>;
571
+ }
564
572
 
565
573
  declare class GaModalDescriptionComponent {
566
574
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaModalDescriptionComponent, never>;
@@ -602,12 +610,12 @@ declare class GaModalHeaderComponent {
602
610
  protected readonly modalRef: GaModalRef<any>;
603
611
  protected readonly i18n: GaModalI18n;
604
612
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaModalHeaderComponent, never>;
605
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaModalHeaderComponent, "ga-modal-header", never, {}, {}, never, ["[gaModalTitle]", "ga-modal-description"], true, never>;
613
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaModalHeaderComponent, "ga-modal-header", never, {}, {}, never, ["[gaModalLabel]", "[gaModalTitle]", "ga-modal-description"], true, never>;
606
614
  }
607
615
 
608
616
  declare class GaModalModule {
609
617
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaModalModule, never>;
610
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<GaModalModule, never, [typeof GaModalCloseDirective, typeof GaModalTitleDirective, typeof GaModalDescriptionDirective, typeof GaModalDescriptionComponent, typeof GaModalContentComponent, typeof GaModalActionsComponent, typeof GaModalHeaderComponent], [typeof GaModalCloseDirective, typeof GaModalTitleDirective, typeof GaModalDescriptionDirective, typeof GaModalDescriptionComponent, typeof GaModalContentComponent, typeof GaModalActionsComponent, typeof GaModalHeaderComponent]>;
618
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<GaModalModule, never, [typeof GaModalCloseDirective, typeof GaModalTitleDirective, typeof GaModalLabelDirective, typeof GaModalDescriptionDirective, typeof GaModalDescriptionComponent, typeof GaModalContentComponent, typeof GaModalActionsComponent, typeof GaModalHeaderComponent], [typeof GaModalCloseDirective, typeof GaModalTitleDirective, typeof GaModalLabelDirective, typeof GaModalDescriptionDirective, typeof GaModalDescriptionComponent, typeof GaModalContentComponent, typeof GaModalActionsComponent, typeof GaModalHeaderComponent]>;
611
619
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaModalModule>;
612
620
  }
613
621
 
@@ -907,6 +915,61 @@ declare class GaRadioModule {
907
915
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaRadioModule>;
908
916
  }
909
917
 
918
+ declare const SWITCH_CONTROL_VALUE_ACCESSOR: Provider;
919
+ declare class GaSwitchComponent implements ControlValueAccessor, DoCheck {
920
+ protected readonly icons: {
921
+ Check: lucide_angular.LucideIconData;
922
+ };
923
+ /** @ignore */
924
+ readonly _uniqueId: string;
925
+ private readonly injector;
926
+ /** @ignore */
927
+ protected readonly tabindex: _angular_core.InputSignal<string | number>;
928
+ /** @ignore */
929
+ private _onTouched?;
930
+ /** @ignore */
931
+ private _onModelChanged?;
932
+ /** @ignore */
933
+ private _invalidNgModel;
934
+ private _ngModelName;
935
+ readonly checked: _angular_core.InputSignalWithTransform<boolean, unknown>;
936
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
937
+ readonly ariaInvalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
938
+ readonly label: _angular_core.InputSignal<string>;
939
+ readonly ariaLabel: _angular_core.InputSignal<string | null>;
940
+ readonly ariaLabelledby: _angular_core.InputSignal<string | null>;
941
+ readonly ariaDescribedby: _angular_core.InputSignal<string | null>;
942
+ readonly ariaErrormessage: _angular_core.InputSignal<string | null>;
943
+ readonly nameInput: _angular_core.InputSignal<string | null>;
944
+ readonly id: _angular_core.InputSignal<string | null>;
945
+ readonly disabledModel: _angular_core.WritableSignal<boolean>;
946
+ readonly checkedModel: _angular_core.WritableSignal<boolean>;
947
+ readonly checkedChange: _angular_core.OutputEmitterRef<boolean>;
948
+ /** @ignore */
949
+ readonly inputId: _angular_core.Signal<string>;
950
+ /** @ignore */
951
+ readonly name: _angular_core.Signal<string | number>;
952
+ /** @ignore */
953
+ readonly invalidComputed: _angular_core.Signal<boolean>;
954
+ ngDoCheck(): void;
955
+ /** @ignore */
956
+ onInputChange(event: Event): void;
957
+ /** @ignore */
958
+ onBlur(): void;
959
+ writeValue(value: any): void;
960
+ registerOnChange(fn: any): void;
961
+ registerOnTouched(fn: any): void;
962
+ setDisabledState(disabled: boolean): void;
963
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaSwitchComponent, never>;
964
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<GaSwitchComponent, "ga-switch", never, { "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaInvalid": { "alias": "aria-invalid"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "ariaErrormessage": { "alias": "aria-errormessage"; "required": false; "isSignal": true; }; "nameInput": { "alias": "name"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, { "checkedChange": "checkedChange"; }, never, never, true, never>;
965
+ }
966
+
967
+ declare class GaSwitchModule {
968
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<GaSwitchModule, never>;
969
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<GaSwitchModule, never, [typeof GaSwitchComponent], [typeof GaSwitchComponent]>;
970
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaSwitchModule>;
971
+ }
972
+
910
973
  /**
911
974
  * Injection token that provides the base root font size in pixels.
912
975
  * This token is used for accurate rem calculations when the default
@@ -960,5 +1023,5 @@ declare class GaTextAreaModule {
960
1023
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<GaTextAreaModule>;
961
1024
  }
962
1025
 
963
- export { CHECKBOX_CONTROL_VALUE_ACCESSOR, DEFAULT_MODAL_OPTIONS, GA_ALERT_I18N_FACTORY, GA_BASE_FONT_SIZE, GA_BUTTON_I18N_FACTORY, GA_CHECKBOX_REQUIRED_VALIDATOR, GA_FORM_CONTROL, GA_ICON_DEFAULT_SIZE, GA_MODAL_DATA, GA_MODAL_I18N_FACTORY, GA_SELECT_REQUIRED_VALIDATOR, GA_TOOLTIP_DEFAULT_OFFSET, GaAlertComponent, GaAlertI18n, GaAlertI18nDefault, GaAlertModule, GaAlertTitleActionsComponent, GaAlertTitleComponent, GaBadgeComponent, GaBadgeModule, GaButtonDirective, GaButtonI18n, GaButtonI18nDefault, GaButtonModule, GaCardComponent, GaCardModule, GaCheckboxComponent, GaCheckboxModule, GaCheckboxRequiredValidator, GaFieldInfoComponent, GaFieldLabelComponent, GaFormControlDirective, GaFormFieldComponent, GaFormFieldModule, GaIconButtonDirective, GaIconComponent, GaIconModule, GaInputComponent, GaInputDirective, GaInputModule, GaLabelledByFormFieldDirective, GaLinkDirective, GaLinkModule, GaMenuComponent, GaMenuItemComponent, GaMenuModule, GaMenuSeparatorComponent, GaMenuTitleComponent, GaMenuTriggerDirective, GaMenuTriggerIconComponent, GaModalActionsComponent, GaModalCloseDirective, GaModalComponent, GaModalContentComponent, GaModalDescriptionComponent, GaModalDescriptionDirective, GaModalHeaderComponent, GaModalI18n, GaModalI18nDefault, GaModalModule, GaModalOptions, GaModalRef, GaModalService, GaModalTitleDirective, GaOptgroupComponent, GaOptionComponent, GaRadioButtonComponent, GaRadioGroupComponent, GaRadioModule, GaSegmentedControlButtonDirective, GaSegmentedControlComponent, GaSegmentedControlIconButtonComponent, GaSegmentedControlModule, GaSegmentedControlTextButtonComponent, GaSelectComponent, GaSelectDropdownComponent, GaSelectDropdownSpinnerComponent, GaSelectModule, GaSelectRequiredValidator, GaSelectValueComponent, GaSpinnerComponent, GaSpinnerModule, GaTextAreaDirective, GaTextAreaModule, GaTooltipComponent, GaTooltipDirective, GaTooltipModule, RADIO_CONTROL_VALUE_ACCESSOR, provideGaAlertI18n, provideGaBaseFontSize, provideGaButtonI18n, provideGaModalI18n, provideGaModalOptions };
1026
+ export { CHECKBOX_CONTROL_VALUE_ACCESSOR, DEFAULT_MODAL_OPTIONS, GA_ALERT_I18N_FACTORY, GA_BASE_FONT_SIZE, GA_BUTTON_I18N_FACTORY, GA_CHECKBOX_REQUIRED_VALIDATOR, GA_FORM_CONTROL, GA_ICON_DEFAULT_SIZE, GA_MODAL_DATA, GA_MODAL_I18N_FACTORY, GA_SELECT_REQUIRED_VALIDATOR, GA_TOOLTIP_DEFAULT_OFFSET, GaAlertComponent, GaAlertI18n, GaAlertI18nDefault, GaAlertModule, GaAlertTitleActionsComponent, GaAlertTitleComponent, GaBadgeComponent, GaBadgeModule, GaButtonDirective, GaButtonI18n, GaButtonI18nDefault, GaButtonModule, GaCardComponent, GaCardModule, GaCheckboxComponent, GaCheckboxModule, GaCheckboxRequiredValidator, GaFieldInfoComponent, GaFieldLabelComponent, GaFormControlDirective, GaFormFieldComponent, GaFormFieldModule, GaIconButtonDirective, GaIconComponent, GaIconModule, GaInputComponent, GaInputDirective, GaInputModule, GaLabelledByFormFieldDirective, GaLinkDirective, GaLinkModule, GaMenuComponent, GaMenuItemComponent, GaMenuModule, GaMenuSeparatorComponent, GaMenuTitleComponent, GaMenuTriggerDirective, GaMenuTriggerIconComponent, GaModalActionsComponent, GaModalCloseDirective, GaModalComponent, GaModalContentComponent, GaModalDescriptionComponent, GaModalDescriptionDirective, GaModalHeaderComponent, GaModalI18n, GaModalI18nDefault, GaModalLabelDirective, GaModalModule, GaModalOptions, GaModalRef, GaModalService, GaModalTitleDirective, GaOptgroupComponent, GaOptionComponent, GaRadioButtonComponent, GaRadioGroupComponent, GaRadioModule, GaSegmentedControlButtonDirective, GaSegmentedControlComponent, GaSegmentedControlIconButtonComponent, GaSegmentedControlModule, GaSegmentedControlTextButtonComponent, GaSelectComponent, GaSelectDropdownComponent, GaSelectDropdownSpinnerComponent, GaSelectModule, GaSelectRequiredValidator, GaSelectValueComponent, GaSpinnerComponent, GaSpinnerModule, GaSwitchComponent, GaSwitchModule, GaTextAreaDirective, GaTextAreaModule, GaTooltipComponent, GaTooltipDirective, GaTooltipModule, RADIO_CONTROL_VALUE_ACCESSOR, SWITCH_CONTROL_VALUE_ACCESSOR, provideGaAlertI18n, provideGaBaseFontSize, provideGaButtonI18n, provideGaModalI18n, provideGaModalOptions };
964
1027
  export type { GaAlertVariant, GaBadgeType, GaBadgeVariant, GaButtonType, GaFormControl, GaIconButtonVariant, GaIconData, GaLinkSize, GaLinkVariant, GaModalRole, GaModalSize, GaModalType, GaTooltipControlMode, GaTooltipDirection, GaTooltipPlacement, GaTooltipPosition };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vsn-ux/ngx-gaia",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^20.0.0",
6
6
  "@angular/common": "^20.0.0",