@fluid-topics/ft-reader-topic-metadata 1.1.34 → 1.1.35

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.
@@ -6,6 +6,7 @@ export declare class FtReaderTopicMetadata extends FtReaderTopicComponent implem
6
6
  static elementDefinitions: ElementDefinitionsMap;
7
7
  static styles: import("lit").CSSResult;
8
8
  key?: string;
9
+ multiLine: boolean;
9
10
  editorMode: boolean;
10
11
  private metadata?;
11
12
  protected render(): import("lit").TemplateResult<1>;
@@ -13,12 +13,13 @@ import { FtChip } from "@fluid-topics/ft-chip";
13
13
  class FtReaderTopicMetadata extends FtReaderTopicComponent {
14
14
  constructor() {
15
15
  super(...arguments);
16
+ this.multiLine = false;
16
17
  this.editorMode = false;
17
18
  }
18
19
  render() {
19
20
  return html `
20
21
  <ft-tooltip text="${this.tooltipText}">
21
- <ft-chip>
22
+ <ft-chip ?multiLine=${this.multiLine}>
22
23
  ${this.renderContent()}
23
24
  </ft-chip>
24
25
  </ft-tooltip>
@@ -82,6 +83,9 @@ FtReaderTopicMetadata.styles = styles;
82
83
  __decorate([
83
84
  property()
84
85
  ], FtReaderTopicMetadata.prototype, "key", void 0);
86
+ __decorate([
87
+ property({ type: Boolean })
88
+ ], FtReaderTopicMetadata.prototype, "multiLine", void 0);
85
89
  __decorate([
86
90
  state()
87
91
  ], FtReaderTopicMetadata.prototype, "editorMode", void 0);