element-book 0.0.7 → 0.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.
@@ -1,6 +1,6 @@
1
1
  import { PropertyInitMapBase, TypedEvent } from 'element-vir';
2
2
  import { CSSResult } from 'lit';
3
- export type ElementBookPageExample<StateInit extends PropertyInitMapBase = any> = {
3
+ export type ElementBookPageExample<StateInit extends PropertyInitMapBase = {}> = {
4
4
  title: string;
5
5
  /** Initialize the state for this example. */
6
6
  stateInit?: StateInit;
@@ -5,6 +5,6 @@ export type ElementBookPage = {
5
5
  type: ElementBookEntryTypeEnum.Page;
6
6
  title: string;
7
7
  parent?: ElementBookChapter | undefined;
8
- examples: ReadonlyArray<ElementBookPageExample>;
8
+ examples: ReadonlyArray<ElementBookPageExample<any>>;
9
9
  };
10
10
  export declare function defineElementBookPage(pageSetup: Omit<ElementBookPage, 'type'>): ElementBookPage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "element-book",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "keywords": [
5
5
  "book",
6
6
  "design system",