@compass-framework/core 1.0.7 → 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.
Files changed (2) hide show
  1. package/@types/Slot.d.ts +8 -2
  2. package/package.json +1 -1
package/@types/Slot.d.ts CHANGED
@@ -1,5 +1,11 @@
1
1
  import {View} from "./View";
2
2
 
3
- export declare class Slot extends View {
4
- public replace(target: View): void
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
+ }
5
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compass-framework/core",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "@compass-framework/core public api",
5
5
  "types": "./index.d.ts",
6
6
  "main": "./index.js",