@compass-framework/core 1.0.6 → 1.0.8

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.
@@ -0,0 +1,11 @@
1
+ import {View} from "./View";
2
+
3
+ export interface Slot {
4
+ replace(target: View, options?: Slot.Options): void
5
+ }
6
+
7
+ export namespace Slot {
8
+ export interface Options {
9
+ wrap?: boolean
10
+ }
11
+ }
package/@types/View.d.ts CHANGED
@@ -146,6 +146,8 @@ export declare class View implements Drawable.Callback {
146
146
 
147
147
  public getScaleY(): number;
148
148
 
149
+ public getTag(): string;
150
+
149
151
  public getOverlay(): ViewOverlay;
150
152
 
151
153
  public getViewTreeObserver(): ViewTreeObserver;
@@ -196,6 +198,8 @@ export declare class View implements Drawable.Callback {
196
198
 
197
199
  public setVisibility(visibility: number): void;
198
200
 
201
+ public setTag(tag: string): void;
202
+
199
203
  public setOutlineProvider(provider: ViewOutlineProvider): void;
200
204
 
201
205
  public setFocusable(focusable: boolean): void;
package/index.d.ts CHANGED
@@ -103,3 +103,4 @@ export * from './@types/CornerPathEffect';
103
103
  export * from './@types/DensityMetrics';
104
104
  export * from './@types/ApplicationFrameContext';
105
105
  export * from './@types/ResourcesInflater';
106
+ export * from './@types/Slot';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compass-framework/core",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "@compass-framework/core public api",
5
5
  "types": "./index.d.ts",
6
6
  "main": "./index.js",