@playpilot/tpi 8.40.0-beta.1 → 8.40.0-beta.3

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.
@@ -120,6 +120,11 @@ export type ConfigResponse = {
120
120
  */
121
121
  unique_injection_count_limit?: number
122
122
 
123
+ /**
124
+ * No more than this count of participant links will show on the entire article.
125
+ */
126
+ total_participant_injection_count_limit?: number
127
+
123
128
  /**
124
129
  * These options are all relevant for the Explore component, which can be inserted as a widget on any page or as a modal.
125
130
  * `explore_navigation_selector` is used to select the navigation element that should be copied and inserted _after_.
@@ -48,13 +48,13 @@
48
48
  }
49
49
  </script>
50
50
 
51
- <div class="header" class:small>
51
+ <div class="header" class:small class:no-image={!participant.image}>
52
52
  {#if participant.image}
53
53
  <ParticipantImage {participant} />
54
54
  {/if}
55
55
 
56
56
  <div>
57
- <div class="heading" class:no-image={!participant.image} use:heading={2} id="heading">{name}</div>
57
+ <div class="heading" use:heading={2} id="heading">{name}</div>
58
58
 
59
59
  {#if description}
60
60
  <p class="description" class:expanded={descriptionExpanded}>
@@ -116,6 +116,10 @@
116
116
  padding: margin(1) margin(1) 0;
117
117
  align-items: center;
118
118
  }
119
+
120
+ &.no-image {
121
+ display: block;
122
+ }
119
123
  }
120
124
 
121
125
  .heading {
@@ -130,7 +134,7 @@
130
134
  font-size: theme(detail-title-small-font-size, margin(1.25));
131
135
  }
132
136
 
133
- &.no-image {
137
+ .no-image & {
134
138
  margin-top: margin(0.5);
135
139
  }
136
140