element-book 7.0.4 → 7.0.5

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,7 +1,6 @@
1
- import { Overwrite, RequireNonVoid } from '@augment-vir/common';
1
+ import { Overwrite, RequireNonVoid, SetOptionalAndNullable } from '@augment-vir/common';
2
2
  import { PropertyInitMapBase, RenderParams, TypedEvent } from 'element-vir';
3
3
  import { CSSResult } from 'lit';
4
- import { SetOptional } from 'type-fest';
5
4
  import { BaseBookEntry } from '../base-book-entry';
6
5
  import { BookEntryTypeEnum } from '../book-entry-type';
7
6
  import { BookPage } from '../book-page/book-page';
@@ -29,4 +28,4 @@ export type BookElementExample<ControlsInit extends BookPageControlsInitBase = {
29
28
  * The properties that are necessary to initialize an element example. Missing properties will be
30
29
  * filling in by the parent.
31
30
  */
32
- export type BookElementExampleInit<Controls extends BookPageControlsInitBase, StateInit extends PropertyInitMapBase, RenderOutput> = SetOptional<Omit<BookElementExample<Controls, StateInit, RenderOutput>, 'entryType' | 'parent' | 'errors'>, 'descriptionParagraphs'>;
31
+ export type BookElementExampleInit<Controls extends BookPageControlsInitBase, StateInit extends PropertyInitMapBase, RenderOutput> = SetOptionalAndNullable<Omit<BookElementExample<Controls, StateInit, RenderOutput>, 'entryType' | 'parent' | 'errors'>, 'descriptionParagraphs'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "element-book",
3
- "version": "7.0.4",
3
+ "version": "7.0.5",
4
4
  "keywords": [
5
5
  "book",
6
6
  "design system",