@nativescript-community/ui-material-bottomsheet 7.1.3 → 7.2.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.
@@ -17,7 +17,7 @@ export declare enum StateBottomSheet {
17
17
  EXPANDED = 1,
18
18
  DRAGGING = 2
19
19
  }
20
- export declare type onChangeStateBottomSheet = (stateBottomSheet: StateBottomSheet, slideOffset?: number) => void;
20
+ export type onChangeStateBottomSheet = (stateBottomSheet: StateBottomSheet, slideOffset?: number) => void;
21
21
  export declare const shownInBottomSheetEvent = "shownInBottomSheet";
22
22
  export declare const showingInBottomSheetEvent = "showingInBottomSheet";
23
23
  export declare const closedSheetEvent = "closedBottomSheet";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript-community/ui-material-bottomsheet",
3
- "version": "7.1.3",
3
+ "version": "7.2.0",
4
4
  "description": "Material Design Bottom Sheets slide up from the bottom of the screen to reveal more content. Bottom sheets integrate with the app to display supporting content or present deep-linked content from other apps.",
5
5
  "main": "./bottomsheet",
6
6
  "sideEffects": false,
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "readmeFilename": "README.md",
48
48
  "dependencies": {
49
- "@nativescript-community/ui-material-core": "^7.1.3"
49
+ "@nativescript-community/ui-material-core": "^7.2.0"
50
50
  },
51
- "gitHead": "2902e9a81d5064501c06aa5c21334774634747c6"
51
+ "gitHead": "6f0934230139071de6eb0579837644924313334d"
52
52
  }
package/svelte/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="svelte-native" />
2
1
  import { BottomSheetOptions } from '../bottomsheet';
3
2
  import { View } from '@nativescript/core';
4
3
  import { NativeViewElementNode } from 'svelte-native/dom';
@@ -1,10 +0,0 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NativeScriptMaterialBottomSheetModule {
4
- private static initialized;
5
- static forRoot(): ModuleWithProviders<NativeScriptMaterialBottomSheetModule>;
6
- constructor();
7
- static ɵfac: i0.ɵɵFactoryDeclaration<NativeScriptMaterialBottomSheetModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<NativeScriptMaterialBottomSheetModule, never, never, never>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<NativeScriptMaterialBottomSheetModule>;
10
- }
@@ -1,28 +0,0 @@
1
- import { Type, ViewContainerRef } from '@angular/core';
2
- import type { BottomSheetOptions as MaterialBottomSheetOptions } from '@nativescript-community/ui-material-bottomsheet';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare type BaseShowBottomSheetOptions = Omit<MaterialBottomSheetOptions, 'closeCallback' | 'view'>;
6
- export interface BottomSheetOptions extends BaseShowBottomSheetOptions {
7
- viewContainerRef?: ViewContainerRef;
8
- }
9
- export declare class BottomSheetParams {
10
- readonly context: any;
11
- readonly closeCallback: (...args: any[]) => void;
12
- constructor(context: any, closeCallback: (...args: any[]) => void);
13
- }
14
- export declare class BottomSheetService {
15
- show<TResult = any>(type: Type<any>, options: BottomSheetOptions): Observable<TResult>;
16
- showWithCloseCallback<TResult = any>(type: Type<any>, options: BottomSheetOptions): {
17
- observable: Observable<TResult>;
18
- closeCallback: () => void;
19
- };
20
- private getParentView;
21
- private getFactoryResolver;
22
- private createChildInjector;
23
- private getBottomSheetParams;
24
- private createDetachedLoader;
25
- private loadComponent;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<BottomSheetService, never>;
27
- static ɵprov: i0.ɵɵInjectableDeclaration<BottomSheetService>;
28
- }
@@ -1,2 +0,0 @@
1
- export * from './bottomsheet.module';
2
- export * from './bottomsheet.service';