@fluid-topics/ft-reader-topic-context 2.1.10 → 2.1.11

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.
@@ -8,6 +8,7 @@ export type FtReaderTopicComponentInterface = {
8
8
  tocNode?: FtReaderTocNode;
9
9
  disableContextInteractions: boolean;
10
10
  headingLevelsShift: number;
11
+ headingStartLevel?: number;
11
12
  };
12
13
  export declare const toFtReaderTopicComponent: <T extends Constructor<FtLitElement>>(c: T) => T & Constructor<FtReaderTopicComponentInterface>;
13
14
  declare const FtReaderTopicComponent_base: typeof FtReaderComponent & Constructor<FtReaderTopicComponentInterface>;
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { state } from "lit/decorators.js";
8
- import { applyMixinOnce } from "@fluid-topics/ft-wc-utils";
8
+ import { applyMixinOnce, } from "@fluid-topics/ft-wc-utils";
9
9
  import { FtReaderComponent } from "@fluid-topics/ft-reader-context/build/registration";
10
10
  export class RegisterReaderTopicComponentEvent extends Event {
11
11
  constructor() {
@@ -49,6 +49,9 @@ export const toFtReaderTopicComponent = applyMixinOnce(Symbol("toFtReaderTopicCo
49
49
  __decorate([
50
50
  state()
51
51
  ], FtReaderTopicComponentClass.prototype, "headingLevelsShift", void 0);
52
+ __decorate([
53
+ state()
54
+ ], FtReaderTopicComponentClass.prototype, "headingStartLevel", void 0);
52
55
  return FtReaderTopicComponentClass;
53
56
  });
54
57
  export class FtReaderTopicComponent extends toFtReaderTopicComponent(FtReaderComponent) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-reader-topic-context",
3
- "version": "2.1.10",
3
+ "version": "2.1.11",
4
4
  "description": "Context block for integrated reader topic components.",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,8 +19,8 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "2.1.10",
22
+ "@fluid-topics/ft-wc-utils": "2.1.11",
23
23
  "lit": "3.1.0"
24
24
  },
25
- "gitHead": "2e92a83b868bd3944d7f807c6d232e06c63d12fa"
25
+ "gitHead": "0bd65ae6c78742b2e7f43789ecf6145f2a476ecb"
26
26
  }