@sapphire-ion/framework 1.2.32 → 1.2.36

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.
@@ -9,7 +9,7 @@ export declare class StepComponent implements OnInit {
9
9
  get index(): number;
10
10
  get fill(): boolean;
11
11
  get selected(): boolean;
12
- get _fill(): 1 | 0;
12
+ get _fill(): 0 | 1;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<StepComponent, never>;
14
14
  static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "step", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["ion-icon, ion-text"], false, never>;
15
15
  }
@@ -1,12 +1,14 @@
1
1
  import { InjectionToken, ModuleWithProviders } from '@angular/core';
2
2
  import { Environment } from './classes/environment';
3
3
  import { ModalFocusTrapService } from './services/modal-focus-trap.service';
4
+ import { PopoverFocusTrapService } from './services/popover-focus-trap.service';
4
5
  import * as i0 from "@angular/core";
5
6
  import * as i1 from "@angular/common";
6
7
  export declare const EnvironmentInjectionToken: InjectionToken<Environment>;
7
8
  export declare class SapphireIonFrameworkModule {
8
9
  private mis;
9
- constructor(mis: ModalFocusTrapService);
10
+ private pos;
11
+ constructor(mis: ModalFocusTrapService, pos: PopoverFocusTrapService);
10
12
  static forRoot(config: Environment): ModuleWithProviders<SapphireIonFrameworkModule>;
11
13
  static ɵfac: i0.ɵɵFactoryDeclaration<SapphireIonFrameworkModule, never>;
12
14
  static ɵmod: i0.ɵɵNgModuleDeclaration<SapphireIonFrameworkModule, never, [typeof i1.CommonModule], never>;
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Corrige o focus trap em modais do Ionic, permite que o foco não fique preso dentro do popover.
4
+ * Utilizado para concertar interatividade com popovers e outros elementos que podem ser interativos fora do popover.
5
+ */
6
+ export declare class PopoverFocusTrapService {
7
+ constructor();
8
+ private initGlobalFocusTrapDisable;
9
+ private setuppopoverObserver;
10
+ private disableFocusTrap;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopoverFocusTrapService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<PopoverFocusTrapService>;
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire-ion/framework",
3
- "version": "1.2.32",
3
+ "version": "1.2.36",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^18.2.8",