@fluid-topics/ft-reader-topic-context 1.2.58 → 1.2.60

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.
@@ -7,6 +7,7 @@ export declare class RegisterReaderTopicComponentEvent extends Event {
7
7
  export type FtReaderTopicComponentInterface = {
8
8
  tocNode?: FtReaderTocNode;
9
9
  disableContextInteractions: boolean;
10
+ headingLevelsShift: number;
10
11
  };
11
12
  export declare function toFtReaderTopicComponent<T extends Constructor<FtLitElement>>(ReduxClass: T): T & Constructor<FtReaderTopicComponentInterface>;
12
13
  declare const FtReaderTopicComponent_base: typeof FtReaderComponent & Constructor<FtReaderTopicComponentInterface>;
@@ -18,6 +18,7 @@ export function toFtReaderTopicComponent(ReduxClass) {
18
18
  constructor() {
19
19
  super(...arguments);
20
20
  this.disableContextInteractions = false;
21
+ this.headingLevelsShift = 0;
21
22
  this[_a] = 0;
22
23
  }
23
24
  connectedCallback() {
@@ -44,6 +45,9 @@ export function toFtReaderTopicComponent(ReduxClass) {
44
45
  __decorate([
45
46
  state()
46
47
  ], FtReaderTopicComponentClass.prototype, "disableContextInteractions", void 0);
48
+ __decorate([
49
+ state()
50
+ ], FtReaderTopicComponentClass.prototype, "headingLevelsShift", void 0);
47
51
  return FtReaderTopicComponentClass;
48
52
  }
49
53
  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": "1.2.58",
3
+ "version": "1.2.60",
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": "1.2.58",
22
+ "@fluid-topics/ft-wc-utils": "1.2.60",
23
23
  "lit": "3.1.0"
24
24
  },
25
- "gitHead": "7aa0ab41f37fa5e6f4f6477c4994b15663d67b4f"
25
+ "gitHead": "5acbf0235057ab34c306052ddba1e8f500f710bc"
26
26
  }